ci: upstream's CI goes inert on the forge and .forgejo/workflows carries martha's own (forge-setup#60 P1) #11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (platform): martha-engine runs martha's CI on the forge from its own workflow files, and upstream's GitHub-only workflows stop queueing a task there.
DECIDED 2026-11-25 (Raf, via the Supervisor): "1. martha-engine: upstream CI off, 2. Skip re-test on landing, 3. Cancel stale runs, 4. Self-renting build box".
Cut by Uranus in macula-io/forge-setup#60 comment 5259, package P1. Its text, quoted:
This is a named fork patch, recorded the way #8 was: the patch list in
martha/sync/README.mdandFORK_WORKFLOWSinmartha/sync/pins.envname the workflows that may run.Built after martha-engine#8 lands, because it is the same files' area. Review r1: Neptunus.
Refs macula-io/forge-setup#60, martha-ai/martha-engine#8
Recon while this waits on #8, recorded so the build starts from checked ground. Two points, no change to the cut.
The 4 jobs, mapped. Upstream's
ci.ymlcarries 15 jobs, so "the 4 jobs martha relies on (changes, format, build-and-test, lint)" resolves tochanges,rust-format,rust-build-and-test,rust-lint(ci.yml lines 16, 75, 93, 351). The other 11 are dropped: goose-acp-npm-packages, rust-build-lean, rust-check-wasm, goose-sdk-uniffi, rust-build-and-test-tls, rust-build-and-test-roaming, rust-msrv, schema-check, gdk-release-config-check, gdk-api-docs-check, desktop-updater-install."The other 34 upstream workflows" reads 28 once #8 lands. The cut says 34; that was counted before #8's six deletions. On the #8 branch
.github/workflows/holds 30 files: 2 are the fork's own (martha-engine-checks.yml, martha-engine-sync.yml) and 28 are upstream's, ci.yml among them. So the inert set after this lands is 28, and Done-when 1 should be read as naming none of those 28. Done-when 2's baseline is unaffected; 44 and 16 are task counts, not file counts.Also noted for the build:
martha-engine-checks.ymlhas 12 jobs and none of them is changes/format/build-and-test/lint, so the new.forgejo/workflows/ci.ymlduplicates nothing that file already runs. And the whole approach rests on Forgejo v15.0.12 reading only the first existing workflow directory, which I will prove on the box rather than assume, since.forgejodoes not exist in the tree yet.The post-first-push run read is negative. The forge still reads
.github/workflows.PR 12 (branch
pluto/11-forgejo-workflows, tipdc117fe5b) carries both directories: 3 files under.forgejo/workflows/, 36 under.github/workflows/. The forge queued four runs on the pull request:dependabot-auto-merge.ymlquarantine.ymlci.ymlmartha-engine-checks.ymldependabot-auto-merge.ymlandquarantine.ymlhave no counterpart under.forgejo. They queued anyway. So thepremise this package was cut on, that Forgejo v15.0.12 reads only the first workflow directory that exists, does not
hold on this forge, and putting the fork's workflows in
.forgejo/workflows/does not make.github/workflows/inert.Still open, and not guessed at. All four runs read
waitingand the forge has created no tasks for them, so no joblist exists to count. The decisive number is run 5123's job count: the
.forgejoci.ymlhere has 4 jobs, upstream's.githubone has 15. A watcher is on it and the number goes here when the forge creates the tasks.Two readings if it comes back 15, and they need different fixes: either
.forgejo/workflows/is ignored outright onthis version, or the two directories are merged and
.githubstays live. The first is a version question; the secondmeans the lever has to change, and deleting the upstream-only files (the #8 approach) remains the one shape proven to
work here.
Not claimed: this issue is not evidence that the canary/release hang is gone.
canary.ymlandrelease.ymlfire onpush to main and are exactly the class still exposed by these two runs, so the hang is not covered by this change as it
currently stands.
Refs macula-io/forge-setup#60, martha-ai/martha-engine#12
Ruled (b) with the schedule removed, and built. The run-list proof, read once on
a158ca6de.What is now in the tree:
.forgejo/workflows/ci.yml(4 jobs),martha-engine-checks.yml(2 jobs),martha-engine-trials.yml(build + 9 lines, push to main only)..github/actionsstays: the.forgejoworkflows use it.martha-engine-sync.ymlkeeps its place in.githubbecause GitHub can only call a workflow that is there, but it no longer has aschedule:; it is dispatched by hand.martha-engine-checks.ymlstays beside it because the sync calls it by path.martha/sync/deleted_workflows.txtnames the 34, andmerge_the_upstream_change.shresolves those paths as deleted on a modify/delete conflict and deletes a workflow upstream adds.The read. Four runs were created on
a158ca6de:dependabot-auto-merge.ymlquarantine.ymlci.yml.forgejo/workflows/martha-engine-checks.yml.forgejo/workflows/Two of the four are files this tip does not contain, so at first read the deletion looks like it did not work. It did, and the reason is worth recording because it sets when the proof can be taken:
both are
pull_request_target, and that trigger evaluates the workflow from the BASE branch, not the head. I checked all three facts: both files arepull_request_targetonmain, both are absent froma158ca6de, and both still ran. So on any pull request they keep running from whatever main holds, and they stop the moment this deletion is on main.That means the clean read, "only
.forgejoruns on the tip", is a POST-LAND read, exactly as Mars said. I am not claiming it from this pre-land read. When it is redone after the land there should be two runs, 5138 and 5139's successors, and nothing else.ci.ymlandmartha-engine-checks.ymleach ran once, not twice, though both names exist in both directories. The forge takes one of them, which is what makes leaving the GitHub-side copies in place free.Close-out, read on the forge today.
Done when 1. A push to a branch creates runs only of the
.forgejo/workflowsfiles. Main06524f2eca1e(Merge PR 12) has five runs from three workflow files, and all three sit in.forgejo/workflows/: ci.yml, martha-engine-checks.yml, martha-engine-trials.yml.5192 and 5193 are the merge's own
pull_requestrows, skipped by the workflows' guards, so the push event is the only one that ran anything. No upstream workflow name appears on the tip, and none of the 40 files in.github/workflows/produced a run.Done when 2. One main push makes at most 16 tasks, against 44 on
c878ce3c. Re-read with the tasks API: push06524f2eca1eis 16 tasks (changes,Check Rust Code Format,Build and Test Rust Project,Lint Rust Code;The evidence keeps the model server's log,Build the engine and run the fork's checks;Build the engine for the trial linesandTrial lines, job 1tojob 9 of 9). All 16 ended success. The same count on pushc878ce3cd6is 44.Successive main pushes did not cancel each other. The pushes after this one are
27d48e8db5,40a2b77d2bandb5af6bc3e3. Every ci.yml and martha-engine-checks.yml run on all three ended success, and the trials runs queued behind 5196 instead of cancelling it; 5196 ended success at 09:00:50Z.The trials runs 5318, 5472 and 5523 read cancelled, and that is the crew-wide job cancel of 2026-11-26, not the workflow: 5318, 5472, 5523, 5555 and 5610 were all stopped between 09:53:06Z and 09:53:07Z, one sweep across two workflows and two refs. Nothing in martha-engine-trials.yml cancelled a run, and its header still says no run of it may ever be cancelled.
Done-when 3 and 4 belong to the sync, which moved to #13 with its runs recorded there.
Refs #13, martha-ai/martha-engine#12.