Repository navigation
fix(tier3): preserve local Claude Code instruction variables - #252
Merged
Merged
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
marked this pull request as ready for review
October 29, 2026 17:11
rng1995
requested review from
chrisknvidia,
mosheabr and
rmalani-nv
as code owners
October 29, 2026 17:11
rng1995
enabled auto-merge
October 29, 2026 17:30
2 tasks done
15 of 20 tasks
chrisknvidia
pushed a commit
that referenced
this pull request
Oct 30, 2026
* fix(tier3): preserve local Claude Code instruction variables Signed-off-by: Narendran Raghavan <[email protected]>
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.
Summary
Local Claude Code trials received an empty prompt because the command environment filter dropped Harbor 0.24.0's
HARBOR_CLAUDE_CODE_INSTRUCTION_<UUID>variable. Harbor then piped the empty value intoclaude --print, leaving attempts unscored.Allow the exact UUID-based Claude Code instruction name and the legacy
HARBOR_INSTRUCTIONname. The change stays after loader rejection and protected-path checks, and uses a full match rather than allowing arbitraryHARBOR_*variables. Existing local path translation remains in effect.Closes #245.
Verification
make lintmake buildIndependent review found no actionable issues.
The subprocess integration uses a deterministic CLI stub and makes no provider/model requests; a credentialed Claude Code evaluation was not run.
Local full-suite limits and control results
The interrupted four-worker project run hit 0.5-second output callback deadlines in:
tests/test_harbor_local_mode.py::test_local_callback_receives_complete_line_before_process_exittests/test_harbor_local_mode.py::test_local_callback_streams_safe_partial_line_before_process_exitBoth tests are unchanged from main and passed in the complete serial local-mode suite above. Isolated reruns passed on both this head (2 passed) and unchanged main
ee40414b(2 passed). The complete local-mode suite also passes with four workers on unchanged main (273 passed, 1 skipped) and this head (289 passed, 1 skipped). These controls do not turn the failed broad project run into an all-green suite claim. Full GitHub checks remain pending.Release Impact
CHANGELOG.md