Repository navigation
test(agy): use a short sh shebang in the fake agy script - #328
Merged
Merged
Conversation
Generated-by: LLM effort=medium;harness=claude-code:2.1.322;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;started_at=2026-11-15T16:51:11Z;surface=cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The fake
agytest script used the Python interpreter path as its shebang. On a host whose interpreter path is long, the kernel refused to run it withENOEXEC, so four tests intest_agy_otel.pyfailed there.Behavior change
None for the product. The fixture now writes a short
/bin/shscript that prints the version or stream file and exits with the recorded code.Deviations from the task
A Codex run found this while building #327 and left it on a local branch. This pull request contains only that fix.
Risk
Only the fixture changes. A shell without
dirnameorcatwould break it, and every supported host has both.Verification
pytest tests/test_agy_otel.pypassed 8 tests on this host, andruff checkandruff format --checkpassed. CI runs the full Bazel suite.Opened-by: LLM effort=medium;harness=claude-code:2.1.322;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;surface=cli
Generated-by: LLM effort=medium;harness=claude-code:2.1.322;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;started_at=2026-11-15T16:51:11Z;surface=cli