ci(publish): gate publishing on unit tests only #56
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/claude-code-query!56
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/drop-itest-publish-gate"
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?
Summary
Follow-up to #55. The first post-merge
Publishrun failed — not on themigration or the forge registry, but on the
__.itestgate:countZombieProcesses()shells out tops -eo pid,statand counts system-widezombies. The forge runner executes jobs inside a Docker container where PID 1 is
the job shell — not a zombie-reaping init — so orphaned grandchildren from the
racy concurrent test linger as zombies. On GitHub's VM runners (systemd) they're
reaped instantly, which is why it always passed there. The library reaps its own
direct children fine; the non-concurrent zombie assertions in the same suite pass.
Fix: gate publishing on
__.testonly, matching the iw-support publish workflow.The environment-sensitive E2E/process suite (
__.itest) stays runnable locallyand on demand, but no longer blocks snapshot/release publishing on the runner.
Test plan
./mill __.testis the gate (unit suite)Publishrun goes green and a0.5.0-SNAPSHOTset appears in the forge registry🤖 Generated with Claude Code