Repository navigation
test(conformance): add shared compaction checks - #5307
Merged
Merged
Conversation
giuliolovisotto
force-pushed
the
codex/fea-518-compaction-checks
branch
from
October 29, 2026 13:53
ce9a51c to
ae5da2b
Compare
marta-sd
reviewed
Nov 2, 2026
This was referenced Nov 2, 2026
marta-sd
previously approved these changes
Nov 3, 2026
giuliolovisotto
force-pushed
the
codex/fea-518-compaction-checks
branch
from
November 3, 2026 15:11
56b3a88 to
66fc576
Compare
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
giuliolovisotto
force-pushed
the
codex/fea-518-compaction-checks
branch
from
November 4, 2026 07:26
66fc576 to
e3e439c
Compare
marta-sd
approved these changes
Nov 4, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/41797693607 |
This branch was previously deployed
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.
Add reusable compaction checks and controlled-provider support while retaining the eight-scenario default catalog. Scenario activation follows in #5439 after the harness fixes; this focused support layer needs no separate issue.
Reuse
ContextCompactionObservation,Scenario,Probe, and typed checks. The independent provider witness establishes helper IDs and a summary. Saved artifacts must contain a completed event, helper references with unique invocation ownership, summary reuse in the next policy request, policy turns excluding the helper, and aggregate usage including it. Conflicting ownership fails independently of turn exclusion. The no-compaction path remains a unit-test control.The runner defaults to the P0 scenario gate;
--gate-tier P1also requires P1 scenarios. Reporting retains the independent P0/P1/P2 counts already on main from #5179. Each column evaluates applicable checks at that priority; a scenario may contribute to several columns. The obsolete cumulativetier_verdictsfield and table changes are removed. The regression fails the actual P1compaction.eventcheck while its P0 checks pass, and inspection errors preserve other completed measurements.Validation after rebasing onto main
0c7ac5119c99e0aa0dfeda7be59157c589680ffd:pytest scripts/harness_conformance/tests tests/unit_tests/harness_capabilities/test_compaction.py -q --no-cov: 184 passed, 2 skipped.Existing check priorities remain unchanged. Usage is synthetic fixture input; no benchmark scoring or production context settings change. Runs use pinned real harness runtimes and a controlled local provider; remote deployments and full repository CI were not qualified. Stack starts at #5122; #5439 activates the scenario last in the original stack.