Skip to content

release: release.yml runs end to end on a fork before the first tag #4862

Closed

Description

@TrapsterDK

Problem

release.yml has never run, and neither has publish-dry-run.yml. The dry run also skips the parts most likely to break: actions/attest, gh attestation verify, gh release upload and the post-upload dx install check. The first real tag would be the first time these run.

Where

  • .github/workflows/release.yml:190-305 (upload job: attest, verify, upload, install check)
  • .github/workflows/publish-dry-run.yml:28-155 (no attest, verify or upload)
  • gh run list -R devhusdk/rules_dx --workflow release.yml and --workflow publish-dry-run.yml show no runs

Fix

Done when

  • A fork run of release.yml succeeds and its release holds the ten dx assets, the manifest, the bundle and the source archive.
  • gh attestation verify passes against that fork release from a clean machine.
  • publish-dry-run.yml has a green run on main.

Related: #4861 (RELEASING.md). Needs a fork, tags and GitHub Actions runs, so an agent cannot start it.

Blocked on: #6944

Activity

  1. added
    enhancement
    P2
    model:human
    model:opus
    and removed
    model:human
    on Oct 31, 2026
  2. TrapsterDK commented on Nov 3, 2026

    @TrapsterDK
    CollaboratorAuthor

    Blocked: this needs a fork, a throwaway tag, a draft release and real GitHub Actions runs. Only the owner can do that. An agent cannot start it.

    Update: #5244 deleted publish-dry-run.yml. The dry run is now release.yml with dry_run: true (.github/workflows/release.yml:17). Steps for the owner:

    1. On a fork, run //cli/cli:github_draft for a throwaway tag, then push the tag. release.yml runs cells, source and upload (release.yml:221-351: attest, verify, upload, dx install).
    2. From a clean machine, run gh attestation verify on each of the five archives against the fork release.
    3. Run release.yml with dry_run: true once on main.

    File what breaks as new issues.

  3. added
    blocked
    on Nov 3, 2026
  4. TrapsterDK commented on Nov 4, 2026

    @TrapsterDK
    CollaboratorAuthor

    Plan (agent): kept blocked, size S once allowed
    Decision: an agent can run the qualification, but it needs your OK first because it creates a public fork, pushes a tag, publishes a GitHub release on that fork and triggers Actions on devhusdk/rules_dx. Rejected: static-only checks (actionlint/fake backends) cannot prove attest, verify, upload or dx install. Waiting is also rejected; nothing here depends on upstream.
    Cause: no run has ever happened (gh run list --workflow release.yml is empty). The jobs exist at .github/workflows/release.yml:288-372 (attest + verify) and :419+ (pin check against the release archive). They use $GITHUB_REPOSITORY, so a fork run is valid with no workflow edits.
    Change (if yes):

    1. gh repo fork devhusdk/rules_dx under TrapsterDK and enable Actions there (gh api -X PUT repos/TrapsterDK/rules_dx/actions/permissions -F enabled=true).
    2. On a fork branch, bump cli/prebuilt/pins.bzl DX_VERSION, MODULE.bazel version and cli/adopt/src/version.rs to 0.0.0-forktest.1. Then run //cli/cli:github_draft against the fork and push tag v0.0.0-forktest.1 there.
    3. After the run, check that the release has 10 dx assets, the manifest, the bundle and the source archive. Then run gh attestation verify on the 5 archives from a fresh container against the fork.
    4. gh workflow run release.yml -R devhusdk/rules_dx --ref main -f dry_run=true -f approve=true
    5. Open one issue per failure. Record the run IDs in RELEASING.md. Delete the fork release and tag afterwards.
      Tests: the run results are the tests. Each fix issue adds its own small unit test.
      Host: none (GitHub runners cover linux, macos and windows)
      Upstream: none

    Question: May an agent create the TrapsterDK/rules_dx fork, push the throwaway v0.0.0-forktest.1 tag and draft release there, and dispatch release.yml with dry_run=true, approve=true on main? Recommended: yes.

  5. TrapsterDK commented on Nov 4, 2026

    @TrapsterDK
    CollaboratorAuthor

    Owner decision: yes. Run the fork dry run on TrapsterDK/rules_dx as planned, file one issue per failure, then delete the fork release and tag.

  6. removed
    blocked
    on Nov 4, 2026
  7. TrapsterDK commented on Nov 4, 2026

    @TrapsterDK
    CollaboratorAuthor

    Fork dry run: fork run https://github.com/TrapsterDK/rules_dx-forktest/actions/runs/41922748156 (linux/macos cells failed on unused import ReleaseModule; fix in #6675). Main dry run: https://github.com/devhusdk/rules_dx/actions/runs/41922806955 (still in progress when last checked). Fork release and tag deleted. Attest/verify/upload stages not yet reached; re-run after #6675 lands.

  8. TrapsterDK commented on Nov 5, 2026

    @TrapsterDK
    CollaboratorAuthor

    Fork dry run v0.0.0-forktest.2 from main 0eaedef: https://github.com/TrapsterDK/rules_dx-forktest/actions/runs/41948967911 (tag push) and https://github.com/TrapsterDK/rules_dx-forktest/actions/runs/41949020025 (release.yml dry_run=true approve=true). Windows/macOS/Linux consumer fixes held; all five cells now fail at one error, E0631 in deploy/rules/src/pypi.rs:78 (zip name_for_index), tracked in #6859. verify/attest/dry-run/source/pins/assets were skipped. Fork release and tag deleted. Re-run after #6859 lands.

  9. TrapsterDK commented on Nov 5, 2026

    @TrapsterDK
    CollaboratorAuthor

    Fork dry run v0.0.0-forktest.3 from main 6680f56: tag run https://github.com/TrapsterDK/rules_dx-forktest/actions/runs/41952658579, dispatch run https://github.com/TrapsterDK/rules_dx-forktest/actions/runs/41952698325. All five cells fail; verify/attest/upload skipped. New issues: #6920 (macOS notice text), #6944 (Linux consumer dx check), #6949 (Windows sha256 sidecar backslash), #6950 (Windows determinism), VCRUNTIME140 imports tracked in #6896. #6859 held. Fork release and tag deleted. Re-run after these land.

  10. 4 remaining items

  11. TrapsterDK commented on Nov 5, 2026

    @TrapsterDK
    CollaboratorAuthor

    Before the next fork run, land #7164, #7165, #7166 and #7167: they fail the assets, pins and consumer jobs, which the dry run skips, so the fork run cannot show them. #7168 makes the version and manifest checks print what they compared.

  12. github-actions commented on Nov 5, 2026

    @github-actions
    Contributor

    This issue has the blocked label but no Blocked on: line in its body. Add one naming the blocking issue (#N), a pull request URL, or the owner action. See CONTRIBUTING.md.

  13. TrapsterDK commented on Nov 17, 2026

    @TrapsterDK
    CollaboratorAuthor

    Decision: blockers #7164-#7167 are closed, so this goes back to an agent under the earlier owner yes. The agent re-runs the fork dry run (v0.0.0-forktest.4 on TrapsterDK/rules_dx-forktest), files one issue per failure, and deletes the fork release and tag after.

    Assisted by Claude.

  14. removed
    model:human
    blocked
    on Nov 17, 2026
  15. TrapsterDK commented on Nov 18, 2026

    @TrapsterDK
    CollaboratorAuthor

    Agent run skipped: the forktest.4 dry run pushes a tag and release on TrapsterDK/rules_dx-forktest and dispatches release.yml, which this workflow's rules forbid (no action outside devhusdk/rules_dx, nothing that publishes); the owner must run it or launch a unit whose rules explicitly allow the fork run.

  16. added
    model:human
    model:opus
    and removed
    model:human
    on Nov 18, 2026
  17. TrapsterDK commented on Nov 20, 2026

    @TrapsterDK
    CollaboratorAuthor

    Owner: agents may cut v0.0.x releases and prepare everything for v0.1 (pins, release.yml, BCR entry). The v0.1.0 tag stays with the owner.

    Assisted by Claude.

  18. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    Main dry run https://github.com/devhusdk/rules_dx/actions/runs/44876826441 failed, so v0.0.1 was not tagged. #14372 fixes the two draft-lookup bugs (release_driver tag lookup, contents: read on attest/pins).

    Remaining:

    Assisted by Claude.

  19. added 2 commits that reference this issue on Nov 21, 2026
    29f765d
    365da1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2enhancementmodel:opus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions