Upstream CI off on the forge: the sync stops dispatching upstream's fifteen jobs, and the rustls-tls configuration Martha ships is tested by the fork's checks #18
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?
Refs martha-ai/martha-engine#13
Refs martha-ai/martha-engine#1
Refs martha-ai/martha-engine#15
Purpose (cost): a forge sync round queues the fork's own checks and nothing else, instead of upstream's sixteen-job gate, and the one engine configuration Martha's members run is still built and tested on the sync branch.
Ruling: Raf, 2026-11-25 (macula-io/forge-setup#60, "martha-engine: upstream CI off"). The forge sync should never have started upstream's CI: on 2026-11-27 the #13 sync run 5792 dispatched it as run 5793, sixteen jobs queued on the runners, and five of them were red (
check6235 on #13 names each one's kind). Twelve of those sixteen jobs are upstream-only surfaces, not what a martha-engine member runs on Linux x64.What changes:
.forgejo/workflows/upstream-ci.ymlgoes. It is the fork's copy of upstream'sci.yml(#13's port); with the dispatch gone it has no trigger and no caller..forgejo/workflows/martha-engine-sync.ymlloses itsupstream-cijob and the twoneeds:entries that wait on it, so the gate is the fork's checks (martha-engine-checks.yml, called on the sync branch) and nothing else. A red check still stops the sync on the branch andname-the-patchstill names what the merge changed.martha/sync/dispatch_and_watch_the_run.shand its case go with the dispatch they exist for;martha/sync/README.mdsays what the gate is now.--features rustls-tls,...(.github/workflows/build-acp.yml),portable-defaultcarriesrustls-tls, andmartha-engine-checks.yml'schecksjob now runs the goose lib's tests in that configuration. The two cases whose premise is a read-only directory run as an unprivileged user, the shapeci.ymlalready uses on the forge, because the job container runs as root and root ignores file modes (goose_apps::cache::tests::missing_read_only_cache_entry_still_lists_compiled_default,assertion failed: !app_path.exists(), 2300 passed 1 failed in 5793)..github/workflowsstays upstream's byte for byte (#15); nothing of upstream's is edited, only switched off.Done when: a sync run's tasks are
merge,checks,pull-request(andname-the-patchonly on a red) and no upstream job runs at all;upstream-ci.ymlis gone from.forgejo/workflows; thechecksjob runs the goose lib's tests withportable-default(rustls-tls) and passes on the forge, the two read-only cases included, as an unprivileged user.Measured cost on the forge for the configuration Martha ships (run 5804, job 24638, tip
96b82a29):cargo test -p goose --lib --features portable-default: 2472 passed, 0 failed, 2 filtered out, 65.46 s, and the job prints rustls-tls in the feature list it compiled.Both runs on this tip are green: 5803 (ci.yml) success with all four jobs, and 5804 (martha-engine-checks) success.
Refs #18
Done-when checked against main
96b82a297a(the #18 land).Met:
upstream-ci.ymlis gone from.forgejo/workflows(the directory now holds ci.yml, martha-engine-checks.yml, martha-engine-sync.yml, martha-engine-trials.yml).Met: the
checksjob runs the goose lib's tests in the rustls-tls configuration and passes on the forge. Run 5818, job 24686 "Build the engine and run the fork's checks", success on the push to96b82a29. Its "The rustls-tls configuration's tests" step runscargo test -p goose --lib --no-default-features --features portable-defaultand then the two read-only cases from the same binary undersetpriv --reuid=nobody, not skipped.Not yet shown: a sync run's tasks are
merge,checks,pull-requestwithname-the-patchonly on a red, and no upstream job. No sync run has fired since the land. The last sync round was 5792 (failure) and 5793 (cancelled), started 04:00 UTC on 2026-11-27, before96b82a29. The next scheduled run is 2026-11-28 04:00 UTC, or aworkflow_dispatch. The workflow on main declares exactly those four jobs:checksneedsmerge,name-the-patchneeds [merge, checks] underif: failure(),pull-requestneeds [merge, checks].So #18 stays open until that sync run is read. The worktree is finished: /home/rl/work/worktrees/martha-engine-18-upstream-ci-off removed, branch pluto/18-upstream-ci-off removed locally and on the origin (its tip is main's
96b82a29).Done-when 1, read on run 5828 (the scheduled sync, ScheduleID 406, created 2026-11-27T04:00:53Z on
96b82a29, success in 24 s).What the run queued:
merge(24719) success,checks(24736) success,name-the-patch(24721) skipped,pull-request's report job (24722) skipped, and no upstream job: the workflow no longer declares one andupstream-ci.ymlis gone from.forgejo/workflows.Why
checksandpull-requestdid no work: the merge job's own log ends onpick_the_upstream_change: sync/51f875e66286 is not finished; a person finishes it first. The round stopped on yesterday's unfinished sync branch, so it had no fresh sync branch to check or report; the two inner jobs of the called checks workflow (24737, 24738) were skipped and job 24736's log is the empty placeholder.name-the-patchstaying skipped is what a green round does.So the tasks a sync round can queue are
merge,checks,pull-request, withname-the-patchonly on a red, and no upstream job at all. Thechecksandpull-requestjobs executing on a green sync branch is what the next completed round shows; 5828 stopped before them.Closing on that shape. The unfinished branch
sync/51f875e66286is separate from this issue: until a person finishes it and dispatches the sync withresume, no sync round gets pastmerge.