Skip to content

ci: fix local-only-runner-guard.yml failing to parse on every push - #57

Merged
dieterolson merged 1 commit into
mainfrom
fix/guard-expression
Sep 16, 2026
Merged

dieterolson merged 1 commit into
mainfrom
fix/guard-expression

Conversation

@dieterolson

@dieterolson dieterolson commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Why was this required?

The embedded Python docstring/comments in .github/workflows/local-only-runner-guard.yml contain a literal ${{ ... }}. GitHub evaluates ${{ }} inside run: blocks, ... is an invalid expression, and the whole workflow fails to process — every push to main shows a failed run named .github/workflows/local-only-runner-guard.yml with zero jobs (fleet audit 2026-09-15). This PR rewords those two strings; no logic change.

Automated tests

None applicable: the change is to prose inside a workflow file. The proof is the Reject hosted runner routing check on this PR, which now runs (the workflow parses) and passes.

Manual (human) testing

Confirmed the workflow is accepted by GitHub: this PR's Local-Only Workflow Runner Guard run has a real job and a green result, whereas the previous main pushes show a zero-job failed run.

🤖 Generated with Claude Code

…kflow parses

GitHub evaluates ${{ }} inside run: blocks; the literal `${{ ... }}` in the
embedded Python docstring is an invalid expression, so the whole workflow
failed to process on every push (0 jobs, name shown as the file path).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Dieter Olson <dieterolson@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T03:27:54.838954Z 08f5be4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dieterolson
dieterolson merged commit 0f555a9 into main Sep 16, 2026
18 of 19 checks passed
@dieterolson
dieterolson deleted the fix/guard-expression branch September 16, 2026 03:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 08f5be4763

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


def expression_candidates(value: str) -> list[str]:
"""Return every runner label a `${{ ... }}` expression could resolve to.
"""Return every runner label an Actions expression could resolve to.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add the mandatory handoff update

This implementation commit changes CI behavior but only modifies the workflow, leaving the required canonical handoff unupdated. Since this repository currently has no docs/development/HANDOFF.md, the continuation state for the change remains undocumented; add the canonical handoff update in the same commit as required.

AGENTS.md reference: AGENTS.md:L158-L163

Useful? React with 👍 / 👎.

# Reduce every runs-on to the concrete set of labels it can
# actually produce: dereference needs.<job>.outputs.<x> through
# the producing job, and expand a `${{ ... }}` toggle into each
# the producing job, and expand an Actions-expression toggle into each

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Record the required development-log exception

This implementation change does not update docs/development/DEVELOPMENT_LOG.md. Even if this small CI repair does not warrant a material entry update, the repository's explicit escape hatch requires staging the log with No material development-log change — <reason> rather than omitting it.

AGENTS.md reference: AGENTS.md:L250-L252

Useful? React with 👍 / 👎.

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