logs.gokuls.in

1 pull request merged across 1 repo

bahdotsh/wrkflw

What changes

  • Version. Every crate is 0.9.0, and the 30 "(unreleased)" entries in BREAKING_CHANGES.md say 0.9.0.
  • Release rehearsal. A tag with a suffix, such as v0.9.0-rc.1, builds the archives, publishes the runner base image and makes a GitHub pre-release, and publishes nothing to crates.io. "latest" skips a pre-release, so install.sh and the weekly image refresh keep using v0.8.0 until the real tag.
  • A real release stops on a private runner image. GHCR makes a new package private, and the workflow only warned. Now a tag without a suffix fails in the runner-image job, before crates.io and the GitHub release, until the package is public. A rehearsal tag still only warns. A refusal of the anonymous token (GHCR's 403 for a private package) counts as private, as a refused manifest does; only a network error or a 5xx asks for a rerun. This reverses the earlier choice to never fail the release there: say if you'd rather keep the warning.
  • README. 650 lines to about 200. Usage, runtimes, agents, reusable workflows, secrets and the compare/verdict/conformance notes move to docs/, with their text unchanged apart from heading levels and links. The Windows and macOS limit is split into sub-points, and a line under the table says why cobra is slower here than on GitHub (19 jobs on one VM).
  • Help. The top-level examples lead with doctor, gate and compare.
  • Test leak. reusable_workflow_jobs_skip_after_failed_need clears .needs-reusable-* directories a killed run left, and .gitignore covers them.
  • INDEX.md is regenerated in its own commit; most of that diff is drift from #175 and #176.
  • Held-out sweep, and fixes for what it found. Fourteen untuned repositories were swept (62 agree, 53 differ, chi and lib/pq refused), wrkflw was fixed against the causes, and the same runs were swept again: requests 18/0, httpx 5/0, chi 4/0, lib/pq 13/2, django-redis 13/1. The fixes:
  • trigger filters GitHub accepts: branches: "" as a string, inside a path component (**.go)
  • actions/checkout honours path:, keeps a tracked-files record of its own for that directory beside the workspace, and says when a ref: it was given for that directory isn't checked out
  • actions/github-script gets a stand-in token when the job has none, so codecov-action's inner script runs
  • ${{ github.action_path }} in a container step is the container's path, in run:, env:, if: and working-directory:
  • ::set-output values survive an empty $GITHUB_OUTPUT
  • ImageOS is set as on ubuntu-latest
  • the runner image gains python-is-python3, libncurses6, libssl-dev and pkg-config (new tag aa92c48f29155b8a)
  • a job image with setup-python puts links to each of its interpreters (/opt/uv/python-links) ahead of its scripts directory on PATH, so Python 3.10 and older find their standard library
  • setup-node fetches a major from nodejs.org before nodesource, which has no Node 19 for Ubuntu 26.04
  • rustup may copy where overlayfs refuses a rename
  • a job that failed only after running every step keeps its memory measurement
  • compare trims job names, pairs legs of a matrix made at run time, and names a missing GitHub token, a coverage upload only GitHub can make, and an x86_64 tool on an arm64 machine
  • Sweep lists. Those fourteen move to the tuned list (compare_runs.txt, lib/pq and django-redis with WRKFLW_DOCKER_IN_JOBS=1); fourteen new repositories are held out, not yet swept. The README shows the before-and-after table and what is left: coverage uploads, job tokens, cross on Apple Silicon, timing tests under load, and execa, whose legs don't fit side by side in a 7.7 GB VM (3725 s here, 1149 s on GitHub).
  • API change. GlobPattern matches through matches() and gains a private field, in BREAKING_CHANGES.md.

Checked

cargo fmt --check, cargo clippy --workspace --all-features -- -D warnings, cargo test --workspace --all-features (2036 passed, 0 failed) and a release build. wrkflw validate accepts both edited workflows. Every relative link and anchor in the README and docs/ resolves. The release workflow changes themselves have not run. One existing test, clean_reports_a_workspace_it_cannot_remove_and_cleans_the_rest, failed once in a full run and passed three times alone: it looks flaky.

Not in this PR, still to do before the tag

1. Rehearse. After merge, push v0.9.0-rc.1, make the wrkflw-runner package public, rerun the rehearsal's "Publish the runner base image" job and check it passes with no warning (the only run of the check a real tag stops on), then try WRKFLW_VERSION=v0.9.0-rc.1 sh scripts/install.sh and wrkflw doctor (the runner_image line should pass).

2. Cold first-run time on pallets/click, once the image is public, for the README.

3. Homebrew bump after the real tag; brew install wrkflw gives 0.8.0 until then.