ci, wheels, release: the release path on the forge, and run 3225's two reds #4

Open
pallas wants to merge 5 commits from pallas/advisories-recopy-29 into main
Member

Three commits, all on the forge's release path for this repository.

1. The advisories stand-in, re-copied from macula-ci-images c39bf123 — Refs macula-io/macula-ci-images#29 (and #31). A scan that could not run now says why: the tool's exit code and its stderr travel in the output_json the stand-in writes, instead of a bare traceback that names nothing; #31 then dropped the parameter nothing read. The proof is the file's own header:

tail -n +15 .github/workflows/ci-images-dependency-advisories.yml |
  diff - <(git -C <macula-ci-images> show c39bf12345ad93efadc69b49ed04200c46d0a57e:.github/workflows/dependency-advisories.yml)

2. on.workflow_call no longer declares secrets, and the org is macula-pub — Forgejo 15 answers a secrets: block there with "workflow_call only supports keys 'inputs' and 'outputs'", and four runs of ci.yml (3244/3247/3248/3251) died on that message before their first job. release.yml's test: passes the secrets with secrets: inherit instead, the form macula-go's release.yml already runs. The cost is named where it lands: the called test jobs now hold every secret this repository has, where the map held one. DECIDED 2026-11-24 "rename the macula-sdk org to macula-pub (a public organisation where we will publish sdk packages and public OCI images)": the PyPI registry URL, the publisher-account note and the header prose name the renamed org.

3. Run 3225's two reds. Both reproduced on msi00 in the same images the jobs use, at 47cacc24:

  • tests (the image's python3): the step installed Go 1.27.0 (scripts/interop/capture/go.mod) while macula-go's go.mod asks 1.27.4, so go fetched 1.27.4 during build_native (GOTOOLCHAIN=auto) — a download the pin does not cover, and in this image exactly where the replay died (proxy.golang.org ... i/o timeout). The step now reads macula-go's go.mod, as wheels.yml already did, and pins that tarball's sha256 (7226736c…). The same job in the same image then passes: 198 passed, 4 skipped, 298.99s.
  • wheel (manylinux_2_28_x86_64): auditwheel repair adds the compatibility tags its analysis allows below the platform it repaired to, and a py3-none wheel keeps them all, so the wheel came out py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64 and the step's own one-tag check refused it — rightly, since what this repository promises is one tag. The wheel is now retagged (wheel tags --remove --platform-tag manylinux_2_28_x86_64), in this file and in release.yml's publish job, which builds and checks its wheel the same way. The whole job replayed in the same manylinux digest: tag ok, and the cp311 smoke test (pq_hybrid generate/sign/verify against the wheel's own libmacula.so) passes.

actionlint on the three files: nothing but the four pre-existing docker label findings (this repository has no .github/actionlint.yaml). Runs 3225's tasks were 8398 and 8399 — the two named above; the log read those needed is not needed.

Three commits, all on the forge's release path for this repository. **1. The advisories stand-in, re-copied from macula-ci-images `c39bf123`** — Refs macula-io/macula-ci-images#29 (and #31). A scan that could not run now says why: the tool's exit code and its stderr travel in the `output_json` the stand-in writes, instead of a bare traceback that names nothing; #31 then dropped the parameter nothing read. The proof is the file's own header: ``` tail -n +15 .github/workflows/ci-images-dependency-advisories.yml | diff - <(git -C <macula-ci-images> show c39bf12345ad93efadc69b49ed04200c46d0a57e:.github/workflows/dependency-advisories.yml) ``` **2. `on.workflow_call` no longer declares secrets, and the org is `macula-pub`** — Forgejo 15 answers a `secrets:` block there with "workflow_call only supports keys 'inputs' and 'outputs'", and four runs of ci.yml (3244/3247/3248/3251) died on that message before their first job. release.yml's `test:` passes the secrets with `secrets: inherit` instead, the form macula-go's release.yml already runs. The cost is named where it lands: the called test jobs now hold every secret this repository has, where the map held one. DECIDED 2026-11-24 "rename the macula-sdk org to macula-pub (a public organisation where we will publish sdk packages and public OCI images)": the PyPI registry URL, the publisher-account note and the header prose name the renamed org. **3. Run 3225's two reds.** Both reproduced on msi00 in the same images the jobs use, at 47cacc24: - `tests (the image's python3)`: the step installed Go 1.27.0 (`scripts/interop/capture/go.mod`) while macula-go's go.mod asks 1.27.4, so `go` fetched 1.27.4 *during* build_native (GOTOOLCHAIN=auto) — a download the pin does not cover, and in this image exactly where the replay died (`proxy.golang.org ... i/o timeout`). The step now reads macula-go's go.mod, as wheels.yml already did, and pins that tarball's sha256 (7226736c…). The same job in the same image then passes: **198 passed, 4 skipped, 298.99s**. - `wheel (manylinux_2_28_x86_64)`: auditwheel repair *adds* the compatibility tags its analysis allows below the platform it repaired to, and a py3-none wheel keeps them all, so the wheel came out `py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64` and the step's own one-tag check refused it — rightly, since what this repository promises is one tag. The wheel is now retagged (`wheel tags --remove --platform-tag manylinux_2_28_x86_64`), in this file and in release.yml's publish job, which builds and checks its wheel the same way. The whole job replayed in the same manylinux digest: tag ok, and the cp311 smoke test (pq_hybrid generate/sign/verify against the wheel's own `libmacula.so`) passes. `actionlint` on the three files: nothing but the four pre-existing `docker` label findings (this repository has no `.github/actionlint.yaml`). Runs 3225's tasks were 8398 and 8399 — the two named above; the log read those needed is not needed.
.github: the advisories stand-in, re-copied from macula-ci-images c39bf123
Some checks failed
ci.yml / .github: the advisories stand-in, re-copied from macula-ci-images c39bf123 (push) Failing after 0s
ci.yml / .github: the advisories stand-in, re-copied from macula-ci-images c39bf123 (pull_request) Failing after 0s
5b33897971
macula-ci-images#29 made a scan that could not run say why — the tool's exit
code and its stderr, in the output_json it writes, instead of a bare traceback
— and #31 dropped the output_json parameter nothing read. That is the silence
that made a failed advisories scan unreadable, so the copy follows, byte for
byte below its header:

  tail -n +15 .github/workflows/ci-images-dependency-advisories.yml |
    diff - <(git -C <macula-ci-images> show c39bf12345ad93efadc69b49ed04200c46d0a57e:.github/workflows/dependency-advisories.yml)

shows nothing. Nothing else in this repository changes.
ci: a secrets block under workflow_call that Forgejo refuses, and the org renamed to macula-pub (macula-py#2 r=1)
Some checks failed
CI / lint scripts/interop/capture (structural floor) (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / tests (the image's python3) (pull_request) Has been cancelled
CI / wheels (pull_request) Has been cancelled
CI / Dependency advisories (pull_request) Has been cancelled
CI / wheel (manylinux_2_28_x86_64) (pull_request) Has been cancelled
CI / python in . (pull_request) Has been cancelled
CI / python in . (container) (pull_request) Has been cancelled
6943885fd1
1. The load fault. `on.workflow_call.secrets` is not a key Forgejo 15 accepts: every ci.yml
   run in this repository died before its first job with `invalid value on key "workflow_call":
   workflow_call only supports keys "inputs" and "outputs", but key "secrets" was found`
   (pre_execution_error on runs 3244, 3247, 3248, 3251 — started=1970, 0 tasks). The block is
   gone. release.yml's `test:` now calls this file with `secrets: inherit` rather than a map of
   the one secret, because the callee can no longer declare what it takes; that is the form this
   forge runs (macula-go's release.yml does the same, and its called jobs pull the private image
   on every run). The cost is named in the file: the called test jobs now hold every secret this
   repository has, where the map held one.
2. DECIDED 2026-11-24 "rename the macula-sdk org to macula-pub (a public organisation where we
   will publish sdk packages and public OCI images)": the PyPI registry URL, the publisher-account
   note and the header prose name macula-pub. The two SVG comments still name
   macula-artwork/svg/macula-sdk-announcement.svg, which is a file in another repository, not the
   org; renaming that text here would point at nothing.

actionlint: no workflow-call finding left; the four `docker` label findings are pre-existing (this
repository has no .github/actionlint.yaml) and are not touched here.
ci, wheels, release: run 3225's two reds — the toolchain the build needs, and the wheel's one tag (macula-py#2)
Some checks failed
CI / lint scripts/interop/capture (structural floor) (pull_request) Successful in 1m7s
CI / structural floor (pull_request) Successful in 7s
CI / tests (the image's python3) (pull_request) Failing after 2s
CI / wheel (manylinux_2_28_x86_64) (pull_request) Failing after 2s
CI / wheels (pull_request) Failing after 0s
CI / python in . (pull_request) Has been skipped
CI / python in . (container) (pull_request) Successful in 19s
CI / Dependency advisories (pull_request) Successful in 0s
0822be397d
Both reproduced on msi00 in the same images the jobs use, at 47cacc24, and both are defects of the
port rather than of the code they test.

1. `tests (the image's python3)` (task 8398). The step installed the Go version
   scripts/interop/capture/go.mod names (1.27.0), while macula-go's go.mod asks for 1.27.4. A go.mod
   newer than the installed toolchain makes `go` fetch one DURING build_native (GOTOOLCHAIN=auto) —
   a download the job's pin does not cover, and in this image the one place the replay died (`go:
   download go1.27.4 ... proxy.golang.org ... i/o timeout`). The step now reads macula-go's go.mod,
   the version the build itself needs, as wheels.yml already did, and pins that tarball's sha256
   (7226736c…, the same sha wheels.yml carries). Proof: the same job in the same image — 198 passed,
   4 skipped, 298.99s.

2. `wheel (manylinux_2_28_x86_64)` (task 8399). auditwheel repair ADDS the compatibility tags its
   analysis allows below the platform it repaired to, and a py3-none wheel keeps them all, so the
   repaired wheel was named
   macula_py-0.8.0-py3-none-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl and the
   step's own one-tag check refused it — rightly: what this repository promises is ONE tag, the
   platform the image guarantees. The wheel is now retagged with `wheel tags --remove --platform-tag
   manylinux_2_28_x86_64`, so its name, its metadata and the check agree. auditwheel show says the
   same from the other side: the .so needs only GLIBC_2.2.5 symbols, so the aliases are legitimately
   what the analysis finds. The same fix goes into release.yml's publish job, which builds and checks
   its wheel the same way. Proof: the whole job replayed in the same manylinux digest — tag ok, and
   the cp311 smoke test (pq_hybrid generate/sign/verify against the wheel's own libmacula.so) passes.

r=1's prose corrected: its comment said the refused `secrets:` block meant "every run in this
repository failed before its first job". r=2 measured run 3225 expanding a called ci.yml that still
carried the block, so that sentence was too strong; the comment now says only what was observed.

actionlint: nothing but the four pre-existing `docker` label findings (this repository has no
.github/actionlint.yaml).
pallas changed title from .github: the advisories stand-in, re-copied from macula-ci-images c39bf123 to ci, wheels, release: the release path on the forge, and run 3225's two reds 2026-11-24 04:27:20 +00:00
scripts: build_native fetches only when the ref is missing — the forge clone carries no credentials (macula-py#2 r=3)
Some checks failed
CI / structural floor (pull_request) Successful in 8s
CI / tests (the image's python3) (pull_request) Failing after 4s
CI / wheel (manylinux_2_28_x86_64) (pull_request) Failing after 2s
CI / python in . (pull_request) Has been skipped
CI / wheels (pull_request) Failing after 0s
CI / python in . (container) (pull_request) Successful in 20s
CI / Dependency advisories (pull_request) Successful in 0s
CI / lint scripts/interop/capture (structural floor) (pull_request) Successful in 55s
e47144c1db
scripts: the fetch's comment names what was measured, not a run that died before reaching it (macula-py#2 r=3)
Some checks failed
CI / structural floor (pull_request) Successful in 7s
CI / tests (the image's python3) (pull_request) Failing after 4s
CI / wheel (manylinux_2_28_x86_64) (pull_request) Failing after 2s
CI / wheels (pull_request) Failing after 0s
CI / python in . (pull_request) Has been skipped
CI / python in . (container) (pull_request) Successful in 20s
CI / Dependency advisories (pull_request) Successful in 0s
CI / lint scripts/interop/capture (structural floor) (pull_request) Successful in 1m6s
6ac7a2ac10
Author
Member

Runs 4595 and 4600 at this tip, and what I measured before them.

The two failing jobs die in seconds, and they always have. Reading the job tasks rather than the run status:

run tip tests (the image's python3) wheel (manylinux_2_28_x86_64)
3225 (main) 47cacc24 created 03:58:21, failed 03:58:23 03:58:25 → 03:58:27
3310 0822be39 05:23:35 → 05:23:37 05:23:39 → 05:23:41
4595 e47144c1 14:52:35 → 14:52:40 14:52:41 → 14:52:45

Two seconds is not a build: the toolchain download alone takes longer. Every other job in those runs takes 8 s or more; the ones that pass take a minute. And across the 200 most recent job tasks in this repository there are exactly three occurrences of each of these two job names — three failures, none ever green, on main as well as on this branch. So the pair has never run on the forge.

I cannot read that log. For a private repository the web log route (/macula-io/macula-py/actions/runs/7/jobs/<n>/attempt/1/logs) answers 404 for a member token at every job index, and Forgejo 15 has no job-log API route. I have asked Saturnus twice for the failing step's lines and Supervisor once. Nothing here moves until someone with log access names the first failing step: on the timings, the job dies at job start, before any step this branch changed.

One real defect was on the way, and is fixed here (e47144c1, comment corrected in 6ac7a2a): scripts/build_native.sh ran git -C "$src" fetch --quiet --tags origin unconditionally. On the forge the macula-go checkout carries no credentials — the run token is scoped to the one clone command (GIT_CONFIG_COUNT/http.extraHeader), so origin stores nothing — and that fetch dies:

fatal: could not read Username for 'https://git.macula.io': terminal prompts disabled
build_native rc=128

Measured in the wheel job's own image (quay.io/pypa/manylinux_2_28_x86_64@sha256:55a36963…) with a clone made exactly the way the job makes it. With the fix, the whole wheel job passes in that image at this tip — clone, toolchain, build_native, build, auditwheel, retag, the one-tag check and the cp311 smoke test: ALL STEPS OK. The fetch now runs only when the checkout does not already carry the ref; the sha check two lines later is unchanged, so a tag that moved still refuses by name instead of building the wrong commit.

Correction to item 3 above. It says run 3225's wheel job died on the one-tag check. That came from my replay in the job's image, not from 3225's log, which I could not read either. The retag is still right — auditwheel repair really does put manylinux1, manylinux_2_5 and manylinux_2_28 on this wheel, which the check refuses — but the sentence names a cause measured locally, not in CI.

Runs 4595 and 4600 at this tip, and what I measured before them. **The two failing jobs die in seconds, and they always have.** Reading the job tasks rather than the run status: | run | tip | `tests (the image's python3)` | `wheel (manylinux_2_28_x86_64)` | |---|---|---|---| | 3225 (main) | 47cacc24 | created 03:58:21, failed 03:58:23 | 03:58:25 → 03:58:27 | | 3310 | 0822be39 | 05:23:35 → 05:23:37 | 05:23:39 → 05:23:41 | | 4595 | e47144c1 | 14:52:35 → 14:52:40 | 14:52:41 → 14:52:45 | Two seconds is not a build: the toolchain download alone takes longer. Every other job in those runs takes 8 s or more; the ones that pass take a minute. And across the 200 most recent job tasks in this repository there are exactly **three** occurrences of each of these two job names — three failures, none ever green, on `main` as well as on this branch. So the pair has never run on the forge. **I cannot read that log.** For a private repository the web log route (`/macula-io/macula-py/actions/runs/7/jobs/<n>/attempt/1/logs`) answers 404 for a member token at every job index, and Forgejo 15 has no job-log API route. I have asked Saturnus twice for the failing step's lines and Supervisor once. Nothing here moves until someone with log access names the first failing step: on the timings, the job dies at job start, before any step this branch changed. **One real defect was on the way, and is fixed here** (e47144c1, comment corrected in 6ac7a2a): `scripts/build_native.sh` ran `git -C "$src" fetch --quiet --tags origin` unconditionally. On the forge the macula-go checkout carries no credentials — the run token is scoped to the one clone command (`GIT_CONFIG_COUNT`/`http.extraHeader`), so `origin` stores nothing — and that fetch dies: ``` fatal: could not read Username for 'https://git.macula.io': terminal prompts disabled build_native rc=128 ``` Measured in the wheel job's own image (`quay.io/pypa/manylinux_2_28_x86_64@sha256:55a36963…`) with a clone made exactly the way the job makes it. With the fix, the whole wheel job passes in that image at this tip — clone, toolchain, `build_native`, build, auditwheel, retag, the one-tag check and the cp311 smoke test: `ALL STEPS OK`. The fetch now runs only when the checkout does not already carry the ref; the sha check two lines later is unchanged, so a tag that moved still refuses by name instead of building the wrong commit. **Correction to item 3 above.** It says run 3225's wheel job died on the one-tag check. That came from my replay in the job's image, not from 3225's log, which I could not read either. The retag is still right — `auditwheel repair` really does put `manylinux1`, `manylinux_2_5` and `manylinux_2_28` on this wheel, which the check refuses — but the sentence names a cause measured locally, not in CI.
Some checks failed
CI / structural floor (pull_request) Successful in 7s
CI / tests (the image's python3) (pull_request) Failing after 4s
CI / wheel (manylinux_2_28_x86_64) (pull_request) Failing after 2s
CI / wheels (pull_request) Failing after 0s
CI / python in . (pull_request) Has been skipped
CI / python in . (container) (pull_request) Successful in 20s
CI / Dependency advisories (pull_request) Successful in 0s
CI / lint scripts/interop/capture (structural floor) (pull_request) Successful in 1m6s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • .github/workflows/wheels.yml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'pallas/advisories-recopy-29:pallas/advisories-recopy-29'
git switch 'pallas/advisories-recopy-29'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
macula-io/macula-py!4
No description provided.