ci: the sync installs the jq a forge job container lacks, on both jobs that call the API (#13) #17

Manually merged
terra merged 2 commits from pluto/13-jq-in-the-sync into main 2026-11-26 07:28:59 +00:00
Member

The sync's two jobs that call the forge's API both need jq, and a forge job container carries none. Run 5415's
upstream-ci job died at dispatch_and_watch_the_run.sh line 32 with jq: command not found, before it dispatched
anything, and pull-request has the same gap at report_the_sync_for_a_pull_request.sh line 26, where it would have
died right after the gate went green.

This adds the apt step for jq to both, as the four ported jobs in .forgejo/workflows/ci.yml already do, and names it
in the workflow's header and in martha/sync/README.md.

Nothing else in either job needs more than a node:22-bookworm image ships: the run-token probe (run 5299) showed on
that image that a job's own token can dispatch a workflow.

Refs #13

The sync's two jobs that call the forge's API both need jq, and a forge job container carries none. Run 5415's `upstream-ci` job died at `dispatch_and_watch_the_run.sh` line 32 with `jq: command not found`, before it dispatched anything, and `pull-request` has the same gap at `report_the_sync_for_a_pull_request.sh` line 26, where it would have died right after the gate went green. This adds the apt step for jq to both, as the four ported jobs in `.forgejo/workflows/ci.yml` already do, and names it in the workflow's header and in `martha/sync/README.md`. Nothing else in either job needs more than a `node:22-bookworm` image ships: the run-token probe (run 5299) showed on that image that a job's own token can dispatch a workflow. Refs #13
Install the jq a forge job container lacks, on both jobs that call the API
Some checks failed
martha-engine checks / The evidence keeps the model server's log (pull_request) Successful in 5s
CI / changes (pull_request) Successful in 9s
CI / Check Rust Code Format (pull_request) Successful in 32s
CI / Build and Test Rust Project (pull_request) Has been cancelled
CI / Lint Rust Code (pull_request) Has been cancelled
martha-engine checks / Build the engine and run the fork's checks (pull_request) Has been cancelled
86337364fa
martha-ai/martha-engine#13: run 5415 died at dispatch_and_watch_the_run.sh
line 32 with "jq: command not found", before it dispatched anything. A forge
job container is node:22-bookworm: it carries curl and no jq, and the sync's
upstream-ci job had no apt step of its own (the checks workflow installs jq in
its own).

pull-request has the same gap in report_the_sync_for_a_pull_request.sh line 26
and would have died the same way, right after the gate went green. Both jobs
now install jq first, as the four ported jobs in .forgejo/workflows/ci.yml do.

Nothing else in either job needs more than the image ships: the run-token probe
(5299) showed on that same image that a job's own token can dispatch, and both
jobs already ask for the permissions they use.
r=1 fold-in: the pull-request job runs report_the_sync_for_a_pull_request.sh by path, so it is executable like every other script beside it (martha-engine#13)
Some checks were skipped
CI / changes (pull_request) Has been skipped
CI / Check Rust Code Format (pull_request) Has been skipped
CI / Build and Test Rust Project (pull_request) Has been skipped
CI / Lint Rust Code (pull_request) Has been skipped
martha-engine checks / The evidence keeps the model server's log (pull_request) Has been skipped
martha-engine checks / Build the engine and run the fork's checks (pull_request) Has been skipped
f5bec341af
terra manually merged commit b5af6bc3e3 into main 2026-11-26 07:28:59 +00:00
Sign in to join this conversation.
No reviewers
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!17
No description provided.