Skip to content

Session Handoff [auto-1481]: Pass the Run Id Through the Environment in the Artifact-Cleanup Steps per #1481 #2143

Closed

Description

@ptr727

Next steps, in priority order

  1. Fix Artifact-cleanup steps interpolate run_id and branch into shell text rather than passing them through env #1481 on feature/auto-1481, based on develop. The branch half of the issue already landed: every artifact-cleanup step now reads the branch through env: as BRANCH. What remains is the ${{ github.run_id }} expression still pasted into the shell text of the artifact-listing gh api call. Read the run id from the runner's own GITHUB_RUN_ID variable, or from an env: entry, as "$GITHUB_RUN_ID" inside the script, in every surface that carries the step: .github/workflows/build-release-task.yml, catalog/snippets/workflows/publish-release.yml, and the NuGet and PyPI stub shapes in docs/reusable-workflows.md. Keep the doc blocks and the snippet byte-identical where the doc says they are. Done means a search of the tree for github.run_id }} inside a run: block finds nothing, and every gate is green.
  2. Drive the pull request to develop per drive-pr, its body carrying Closes on promotion: #1481, then close this lane out.

External blockers

None known at pick time.

Internal dependencies

None. One issue, one pull request.

State

No branch, worktree, or pull request exists for this lane yet. No other repository is involved. Re-derive the three surfaces from develop before editing, since the issue body's line numbers predate the branch-half fix.

The parked decision queue

Count 0. Nothing parked on this lane.

What the last round did

The picker of an unattended run, scope develop, created this lane from the open backlog. Nothing else was done.

What not to repeat

Do not re-apply the branch half of #1481: the cleanup steps already pass BRANCH through env:, with a comment saying why.

New learnings

None.

Activity

  1. added
    handoff
    on Sep 30, 2026
  2. ptr727 commented on Sep 30, 2026

    @ptr727
    OwnerAuthor

    Lane closed out: done, scope develop.

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

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions