Repository navigation
test: clear two test-only CodeQL alerts - #184
Merged
Merged
Conversation
py/incomplete-url-substring-sanitization in test_provider_config.py: the no-credential test checked that "build.nvidia.com" appeared somewhere in the setup message. It now checks the exact " Get a key: https://build.nvidia.com" line, which is stricter. py/clear-text-storage-sensitive-data in test_harbor_local_sandbox.py: the bwrap host-home test wrote a value named `secret` to a file in the host home. The test only needs recognizable text to prove the sandbox cannot read that file, so the value is now a plain marker. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
October 6, 2026 05:20
rng1995
added a commit
that referenced
this pull request
Oct 14, 2026
Brings in #184, #187 (SkillSpector version in the HTML report), #188 (GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, structured output, token sizing, refusal fallback), #191 (multiline catalog descriptions), #193 (Docker agent bootstrap) and #199 (per-step token runtime-failure detection). Conflicts: - .gitleaks.toml: keep every allowlist from both sides (the PR's three history allowlists and main's Bedrock model ID allowlist). - CHANGELOG.md: every entry from both sides under Unreleased, one Added, Changed, Fixed and Security heading each; the shared docs entry once. - deduplication/intra_skill/intra_skill_validator.py: the client keeps the PR's LLM_VERIFY_MAX_TOKENS and gains main's medium reasoning effort. - deduplication/intra_skill/llm_analyzer.py: the PR's bounded prompt and verdict parsing, with main's structured-output schema request. - embedding/registry.py: keep the PR's _embed_texts refactor (main only reformatted the old loop); main's multiline-description check merged. - inference/__init__.py: export both sides' names. - reporting/html.py: the PR's run-status tables plus main's SkillSpector version helper; is_tier2_validator_name stays in run_status.py. - tier3/eval_core/llm_judge.py: drop _is_native_openai_chat_url (removed by main) and _configured_secret_values (moved by the PR). - tier3/harbor/collector.py: keep the PR's shared-metric pass lift and main's judge-model helpers; _compute_lift takes main's per-trial rewards and the PR's keyword-only N/A lists, and its overall uses the paired scores with the PR's N/A-aware basket check; lift.json keeps the PR's _paired_lift. - tier3/harbor/local_agents.py: the PR's SkillEvaluatorCodex (subagent rollouts, setup network errors) now extends main's bootstrap-aware installed_agents.SkillEvaluatorCodex; NVIDIA Build Claude Code keeps SetupNetworkErrorAgent on main's SkillEvaluatorClaudeCode. - tier3/harbor/runner.py: imports from both sides; Docker uses main's DOCKER_AGENT_IMPORT_PATHS, other Harbor backends the PR's HARBOR_AGENT_IMPORT_PATHS; agent kwargs from main's _harbor_agent_kwargs. - tier3/harbor/templates/eval.py: the PR's skill-metric N/A helpers and allow_not_applicable judges, with main's 16,384-token judge ceiling and judge_model_used / reasoning effort / fallback provenance. - utils/tool_runner.py: main's pinned SkillSpector v2.12.0 hint plus the PR's scanner hints. - validators/security.py: imports from both sides. - tests/inference/test_llm_client.py: keep both sides' tests. - tests/test_harbor_local_mode.py: main's parametrized Docker route check plus the PR's Codex subclass assertion. - tests/tier3/test_judge_parse_robustness.py: the PR's partial-salvage assertions plus main's new provenance and refusal tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
11 tasks done
chrisknvidia
added a commit
that referenced
this pull request
Oct 30, 2026
* test: clear two test-only CodeQL alerts Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
pushed a commit
that referenced
this pull request
Oct 30, 2026
Brings in #184, #187 (SkillSpector version in the HTML report), #188 (GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, structured output, token sizing, refusal fallback), #191 (multiline catalog descriptions), #193 (Docker agent bootstrap) and #199 (per-step token runtime-failure detection). Conflicts: - .gitleaks.toml: keep every allowlist from both sides (the PR's three history allowlists and main's Bedrock model ID allowlist). - CHANGELOG.md: every entry from both sides under Unreleased, one Added, Changed, Fixed and Security heading each; the shared docs entry once. - deduplication/intra_skill/intra_skill_validator.py: the client keeps the PR's LLM_VERIFY_MAX_TOKENS and gains main's medium reasoning effort. - deduplication/intra_skill/llm_analyzer.py: the PR's bounded prompt and verdict parsing, with main's structured-output schema request. - embedding/registry.py: keep the PR's _embed_texts refactor (main only reformatted the old loop); main's multiline-description check merged. - inference/__init__.py: export both sides' names. - reporting/html.py: the PR's run-status tables plus main's SkillSpector version helper; is_tier2_validator_name stays in run_status.py. - tier3/eval_core/llm_judge.py: drop _is_native_openai_chat_url (removed by main) and _configured_secret_values (moved by the PR). - tier3/harbor/collector.py: keep the PR's shared-metric pass lift and main's judge-model helpers; _compute_lift takes main's per-trial rewards and the PR's keyword-only N/A lists, and its overall uses the paired scores with the PR's N/A-aware basket check; lift.json keeps the PR's _paired_lift. - tier3/harbor/local_agents.py: the PR's SkillEvaluatorCodex (subagent rollouts, setup network errors) now extends main's bootstrap-aware installed_agents.SkillEvaluatorCodex; NVIDIA Build Claude Code keeps SetupNetworkErrorAgent on main's SkillEvaluatorClaudeCode. - tier3/harbor/runner.py: imports from both sides; Docker uses main's DOCKER_AGENT_IMPORT_PATHS, other Harbor backends the PR's HARBOR_AGENT_IMPORT_PATHS; agent kwargs from main's _harbor_agent_kwargs. - tier3/harbor/templates/eval.py: the PR's skill-metric N/A helpers and allow_not_applicable judges, with main's 16,384-token judge ceiling and judge_model_used / reasoning effort / fallback provenance. - utils/tool_runner.py: main's pinned SkillSpector v2.12.0 hint plus the PR's scanner hints. - validators/security.py: imports from both sides. - tests/inference/test_llm_client.py: keep both sides' tests. - tests/test_harbor_local_mode.py: main's parametrized Docker route check plus the PR's Codex subclass assertion. - tests/tier3/test_judge_parse_robustness.py: the PR's partial-salvage assertions plus main's new provenance and refusal tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> 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.
Clears two open CodeQL alerts on main. Both are in tests; no product code changes.
tests/test_provider_config.py): the no-credential test checked thatbuild.nvidia.comappeared somewhere in the setup message. It now checks the exactGet a key: https://build.nvidia.comline, which is stricter.tests/test_harbor_local_sandbox.py): the bwrap host-home test wrote a value namedsecretto a file in the host home. The test only needs recognizable text to prove the sandbox can't read that file, so it now writes a plain marker. The assertions are unchanged apart from the name.The three
py/redosalerts invalidators/security.pyand thetest_schema.pyalert are fixed on PR #28, which edits those files.Verified:
ruff checkand both test files pass (204 passed, 5 skipped; the bwrap tests skip on macOS and run on Linux CI).🤖 Generated with Claude Code