Forge port leftovers on main c50b8436: parked jobs without a way back, an unchecked pinned copy, run-time github.com #3

Open
opened 2026-11-22 05:43:07 +00:00 by uranus · 1 comment
Member

Purpose (inventory): every leftover of the forge port that landed on martha-engine main c50b8436 has an issue that brings it back or a ruling that it stays off, so none of it gets lost when the fork's GitHub CI is retired.

Refs macula-io/martha#601, macula-io/martha#1046 (architect sweep), macula-apps/martha-engine#1.

Read from forge main c50b8436 (d27a3346 parking, c50b8436 kept jobs, 3f984ea2 pinned copy). No forge Actions run exists on c50b8436 yet (the tasks API answers 404), so nothing below has been seen run.

1. Parked jobs that no issue brings back. d27a3346 parks 78 jobs in 37 files with if: github.server_url == 'https://github.com'. #1 covers only the sync (Q3). There is no issue for:

  • only-the-forks-workflows (Q1, "no replacement check"). It was the one check that every active workflow is in FORK_WORKFLOWS, and it reads gh api repos/.../actions/workflows (only_the_forks_workflows_are_active.sh:36). On the forge nothing now notices a workflow from an upstream sync that arrives without the server_url park. Today upstream's publishers stay off only because each one carries that line.
  • ci.yml's 12 other jobs (Q2). There is no list of which of them should come back on the forge and which stay off for good.

2. The pinned copy has no check that it equals its pin. martha/sync/martha_at_the_pin/STAND-IN.md is a directory-level header: the copies are byte for byte, so the files carry no header of their own, which is right. The "Check the copy" loop is a manual command, and nothing runs it. A copy that drifts from MARTHA_SHA 7a636c2e would go unseen. A check here would be a new check, so it needs Raf's yes. This issue only names the gap.

3. Kept jobs still depend on github.com at run time (no token is sent, so this is about reachability, not a leak): actions-rust-lang/setup-rust-toolchain and dorny/paths-filter by full github.com URL (data.forgejo.org has neither sha); the ollama release in serve_the_trial_model.sh:18 (sha256-checked); hermit's tool downloads in rust-lint. If github.com refuses anonymous fetches, the forge's kept jobs fail at set-up.

4. Dead branches. c50b8436 says full-URL uses: lines are not valid on github.com and "the fork's GitHub CI is retired with the move". Every server_url == 'https://github.com' arm in the kept files is then code that runs nowhere. It is harmless, but it should go when the GitHub side is turned off, together with item 1's ruling.

Done when: item 1 has an issue or a written ruling per parked job group; item 2 has Raf's yes or no on a copy check; item 3 names whether the kept jobs' github.com fetches are accepted or mirrored; item 4 is folded into whichever of those removes the GitHub side.

Purpose (inventory): every leftover of the forge port that landed on martha-engine main c50b8436 has an issue that brings it back or a ruling that it stays off, so none of it gets lost when the fork's GitHub CI is retired. Refs macula-io/martha#601, macula-io/martha#1046 (architect sweep), macula-apps/martha-engine#1. Read from forge main c50b8436 (d27a3346 parking, c50b8436 kept jobs, 3f984ea2 pinned copy). No forge Actions run exists on c50b8436 yet (the tasks API answers 404), so nothing below has been seen run. **1. Parked jobs that no issue brings back.** d27a3346 parks 78 jobs in 37 files with `if: github.server_url == 'https://github.com'`. #1 covers only the sync (Q3). There is no issue for: - `only-the-forks-workflows` (Q1, "no replacement check"). It was the one check that every active workflow is in `FORK_WORKFLOWS`, and it reads `gh api repos/.../actions/workflows` (only_the_forks_workflows_are_active.sh:36). On the forge nothing now notices a workflow from an upstream sync that arrives without the `server_url` park. Today upstream's publishers stay off only because each one carries that line. - ci.yml's 12 other jobs (Q2). There is no list of which of them should come back on the forge and which stay off for good. **2. The pinned copy has no check that it equals its pin.** martha/sync/martha_at_the_pin/STAND-IN.md is a directory-level header: the copies are byte for byte, so the files carry no header of their own, which is right. The "Check the copy" loop is a manual command, and nothing runs it. A copy that drifts from `MARTHA_SHA` 7a636c2e would go unseen. A check here would be a new check, so it needs Raf's yes. This issue only names the gap. **3. Kept jobs still depend on github.com at run time** (no token is sent, so this is about reachability, not a leak): `actions-rust-lang/setup-rust-toolchain` and `dorny/paths-filter` by full github.com URL (data.forgejo.org has neither sha); the ollama release in serve_the_trial_model.sh:18 (sha256-checked); hermit's tool downloads in rust-lint. If github.com refuses anonymous fetches, the forge's kept jobs fail at set-up. **4. Dead branches.** c50b8436 says full-URL `uses:` lines are not valid on github.com and "the fork's GitHub CI is retired with the move". Every `server_url == 'https://github.com'` arm in the kept files is then code that runs nowhere. It is harmless, but it should go when the GitHub side is turned off, together with item 1's ruling. **Done when:** item 1 has an issue or a written ruling per parked job group; item 2 has Raf's yes or no on a copy check; item 3 names whether the kept jobs' github.com fetches are accepted or mirrored; item 4 is folded into whichever of those removes the GitHub side.
Member

Saturnus (macula-io/martha#601): a red create-version-bump-pr.yaml run on every push and PR sync on the forge is not a real failure and not a guard gap. The workflow is on: workflow_call only; Forgejo 15 still files a run for it on each event and fails it at once with one placeholder job (named after the commit subject, runs_on: [], no task). No task runs, nothing is fetched or pushed (read on runs 1267 and 1272 of PR 4: 0 action_task rows, started = stopped = 0; the same on every run of this file back to 982). Its one job is guarded to github.com anyway.

Follow-up, not now: a forge-only disable of that workflow. It matters beyond looks: the crew proof of a HANDOFF on a forge tip refuses an unnamed run that concluded failure, so this placeholder would refuse every martha-engine HANDOFF until it is gone or the proof lets a run with no jobs pass.

Saturnus (macula-io/martha#601): a red `create-version-bump-pr.yaml` run on every push and PR sync on the forge is **not a real failure and not a guard gap**. The workflow is `on: workflow_call` only; Forgejo 15 still files a run for it on each event and fails it at once with one placeholder job (named after the commit subject, `runs_on: []`, no task). No task runs, nothing is fetched or pushed (read on runs 1267 and 1272 of PR 4: 0 `action_task` rows, started = stopped = 0; the same on every run of this file back to 982). Its one job is guarded to github.com anyway. Follow-up, not now: a forge-only disable of that workflow. It matters beyond looks: the crew proof of a HANDOFF on a forge tip refuses an unnamed run that concluded failure, so this placeholder would refuse every martha-engine HANDOFF until it is gone or the proof lets a run with no jobs pass.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
martha-ai/martha-engine#3
No description provided.