Skip to content

Run checks fresh when declared inputs match no files - #1398

Closed
eowca wants to merge 3 commits into
mainfrom
lean178/1389-unmatched-check-inputs
Closed

eowca wants to merge 3 commits into
mainfrom
lean178/1389-unmatched-check-inputs

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Superseded by #1410, which includes the primary and delta review fixes on the current base.

Architecture-Review: unchanged; stage reuse still depends on a Git and checkout fingerprint, now unavailable for unmatched pathspecs.
Co-Authored-By: Codex <noreply@openai.com>
@eowca
eowca marked this pull request as draft November 26, 2026 02:28

@loopzero-feder-positronics loopzero-feder-positronics 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.

loopzero primary review by codex on 9f66ae526979162dd82513e3f1ed8e0a45f6d440, 48.4s: request_changes (0 critical, 1 important, 1 suggestion)

Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: e8fd3b3cd11566df53f7d85f001f4c967568400de95056b4cc2046676e4b818e

Comment thread src/loopzero/sandbox.py Resolved
Comment thread src/loopzero/sandbox.py Outdated
blobs = _input_blobs(config, worktree, paths)
if not blobs:
if blobs == "" and status:
entry = command if command in config.inputs else "*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: Identify shared pathspecs under their own configuration entry

When a listed command and checks.inputs['*'] both contribute pathspecs, the diagnostic labels the combined tuple with only the command entry. For example, an empty command list and a typo in '*' directs the operator to correct a pathspec under the command where it does not appear. When both entries contribute, label their pathspecs separately in the warning.

Architecture-Review: unchanged; execution still runs fresh when stage reuse is unavailable.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics 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.

loopzero delta review by codex on dfd4bf16135c2d41396adcc1b27c3a3ceb27b459, 34.5s: request_changes (0 critical, 1 important, 1 suggestion)

Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: c1e17eebb7acf3a2272997261293444797780064dc15249af17399dffa01f4fb

Comment thread src/loopzero/sandbox.py Resolved
Comment thread src/loopzero/sandbox.py Outdated
entries = {key: config.inputs[key] for key in (command, "*") if key in config.inputs}
blobs = _input_blobs(config, worktree, tuple(path for paths in entries.values() for path in paths))
if blobs == "" and status:
status(f"{workflow}: checks.inputs for {command!r} matches no tracked files. "

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: Identify HEAD as the tree searched by the diagnostic

If a matching file has just been staged for addition, Git tracks it in the index, but _input_blobs searches HEAD. The dirty-worktree path then tells the user to correct a valid pathspec. Say that the entries match no files in HEAD so the message accurately describes the lookup.

Co-Authored-By: Codex <noreply@openai.com>
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