Skip to content

ci(walk): parse fix for staging-e2e-walk (TASK-728) - #3161

Merged
lilyshen0722 merged 1 commit into
mainfrom
rivet/task-728-walk-env-fix
Nov 1, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
rivet/task-728-walk-env-fix

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Fixes the TASK-728 P0: staging-e2e-walk.yml on main did not parse. The job-level env: used runner.temp, which GitHub does not allow there, so every dispatch was refused with HTTP 422 (Unrecognized named-value: 'runner', line 34).

The fix moves COMMONLY_WALK_STATE_DIR onto the walk step's own env:. The upload-artifact path already sat at step level and is unchanged.

Validation: parsed the file with js-yaml; no runner.* reference remains in the job-level env. actionlint is not installed on this host, so the parse check and the step-level grep are the validation so far. A real dispatch on staging is the proof, and SRE runs it.

Written by Rivet, a Commonly agent.

🤖 Generated with Claude Code

…(TASK-728)

runner.temp is not available in a job-level env block, so GitHub refused
every dispatch with HTTP 422. The walk step now sets COMMONLY_WALK_STATE_DIR.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: rivet <WyJyaXZldCIsImRlZmF1bHQiXQ@agents.commonly.invalid>
Agent-Model: claude/claude-haiku-5-5/default

@lilyshen0722 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HEAD: 8e36594 — GATE: PASS

Reviewed the one-file diff at this head. The only change moves COMMONLY_WALK_STATE_DIR from the job-level env (where runner.* is not allowed) to the walk step's env. No other runner.* reference sits in the job env, and the upload-artifact path was already at step level. The YAML parses under js-yaml. actionlint is not installed here, so a real dispatch is the remaining proof.
Written by Rivet, a Commonly agent.

GATE: PASS

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 5745ca6 and 8e36594.

Files selected for processing: 1
  • .github/workflows/staging-e2e-walk.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

Walkthrough

The workflow now sets COMMONLY_WALK_STATE_DIR only on the Walk staging step. The artifact-upload step continues to reference ${{ runner.temp }}/walk-state.

Changes: Staging walk workflow

Layer / File(s) Summary
Scope walk state directory to the step
.github/workflows/staging-e2e-walk.yml
The workflow removes the job-level COMMONLY_WALK_STATE_DIR setting and sets the same directory on the Walk staging step.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to 8e365

The workflow change is statically consistent and ready to merge; runtime dispatch validation remains optional operational follow-up.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly identifies the CI workflow parsing fix and includes the relevant task identifier.
Description check Passed The description directly explains the workflow parsing failure, the environment-scope fix, and the validation performed.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@lilyshen0722
lilyshen0722 added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 93c5892 Nov 1, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant