Skip to content

ci: bump preflight workflows to v1.11.0 - #3658

Merged
ko3n1g merged 3 commits into
mainfrom
ko3n1g/test/sso-asset-retry
Sep 23, 2026
Merged

ko3n1g merged 3 commits into
mainfrom
ko3n1g/test/sso-asset-retry

Conversation

@ko3n1g

@ko3n1g ko3n1g commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Background / motivation

What changed

  • Pin both _cicd_preflight.yml callers (cicd-main.yml and release.yaml) to release commit 037094bcc9138c72bc125418e6e3653f9e1c4160.
  • Pin each caller's workflow_ref to the same release commit, so the inner action checkout cannot silently follow main.
  • Leave unrelated workflow versions, runner configuration, credentials, membership policy, and test jobs unchanged.

Details

  • Public SHA literals carry the standard secrets-scanner false-positive annotation.
  • CI scope: full (workflow configuration). Model rollouts: N/A; no model, environment, agent, verifier, or benchmark behavior changes.
  • No user-facing API or migration impact. No merge or deployment performed.
flowchart LR
    Gym[Gym CI or release] --> Workflow[Preflight at v1.11.0 SHA]
    Workflow --> Checkout[Inner checkout at same release SHA]
    Checkout --> SSO[Current SSO asset discovery and retry]
    SSO --> Gate[Existing membership and runner selection]
Loading

Tested

  • Release tag resolves to 037094bcc9138c72bc125418e6e3653f9e1c4160; released downloader exists at that commit.
  • pre-commit run --all-files: passed.
  • actionlint -shellcheck='' on both changed workflows: passed. Full actionlint's pre-existing SC2129 warning in the unrelated container-build block was reproduced on the base.
  • Scoped detect-secrets-hook and git diff --check: passed.
  • Current Gym head: c97b6e0398f8fff05df4f14ee852a060d5b2d671; release-pin CI pending.
  • Historical proof of the same SSO fix before release: https://github.com/NVIDIA-NeMo/Gym/actions/runs/35845632625/job/107131012058 — candidate checkout verified, 8,177-user roster downloaded, membership and runner selection passed. This is not a claim that current-head or broader Gym CI has passed.

@ko3n1g ko3n1g added ci CI, automation, test queue, or workflow infrastructure work area:ci CI workflows, test routing, and repository automation labels Sep 23, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ko3n1g

ko3n1g commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test

@ko3n1g
ko3n1g marked this pull request as ready for review September 23, 2026 09:54
@ko3n1g
ko3n1g requested a review from a team as a code owner September 23, 2026 09:54
@ko3n1g ko3n1g changed the title ci: validate SSO roster retry candidate ci: bump preflight workflows to v1.11.0 Sep 23, 2026
@ko3n1g

ko3n1g commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test

@ko3n1g
ko3n1g merged commit 471e10d into main Sep 23, 2026
16 checks passed
@ko3n1g
ko3n1g deleted the ko3n1g/test/sso-asset-retry branch September 23, 2026 10:01
Glorf added a commit that referenced this pull request Sep 28, 2026
## Summary

Add an opt-in `sink_window` history policy to the OSWorld Nemotron
adapter: retain the earliest screenshots alongside a recent-image
window, with intervening turns represented as text in chronological
order.

This branch includes upstream `main` at `d4c0f86c7` through a normal
merge, including the NumPy metadata fix #3649, CI preflight update
#3658, and sandbox lifecycle telemetry #3633. The OSWorld foundation
from #2554/#3140 was consolidated and merged through #3592, so this PR
no longer carries the old exact-trace/Core stack or depends on #2554. It
does not require #3591. No separate issue is needed for this follow-up
policy extension.

## Changes

- Add configurable sink, low-water and high-water counts. Both
watermarks include the sink; equal watermarks slide, while unequal
watermarks provide hysteresis.
- Represent non-contiguous image selections with intervals and render
folded text in chronological order.
- Distinguish context overflow, transport failure, truncated output,
empty output and unparseable output; retain
`agent_outcome_family=model_response_invalid` for compatibility.
- On context overflow, reduce the recent-image window within the
existing retry budget, preserve the sink/current observation, record
actual shrink events, and stop when further reduction is impossible.
- Preserve main's immediate model-timeout propagation. Report the
terminal attempt's completion fact so an earlier malformed sample cannot
hide a subsequent transport failure.

The latest synchronization also annotates six deterministic SHA-256
prompt goldens that the previous secrets-detector run falsely identified
as credentials. Only those literal lines are annotated; the digest
values, assertions, repository scanner configuration, and baseline are
unchanged.

## Design and compatibility

History policy selects image/text turns; the adapter owns model protocol
rendering and parsing. The runner owns horizon and runtime failure
handling, the evaluator owns reward, and runtime admission owns masking.
This PR does not change those ownership boundaries or add a
training/evaluation switch.

Fixed-window and hysteresis policy IDs and normal-path rendered prompts
remain covered by deterministic golden tests, including fixed-3 and
3-10-3. Sink-window is opt-in, not a new default or a claim of improved
benchmark score. Context-overflow recovery and more precise failure
outcomes are intentional behavioral changes and may affect failed-run
outcomes. The legacy scalar `image_window_start` accessor rejects
non-contiguous plans; consumers should use `image_intervals` or per-turn
decisions.

Scope relative to current main remains limited to
`responses_api_agents/osworld_agent/`: two implementation files,
documentation, and tests. No Gym Core, dependency, deployment,
sandbox-provider or model-server changes are included in the PR diff.

## Validation

Re-run on the final main-synchronized tree:

- **440 passed, zero skipped** across OSWorld agent, resource-server and
benchmark tests; one non-failing Starlette deprecation warning.
- `pre-commit run --all-files`: passed.
- `uv lock --check --offline`: passed.
- `git diff --check`: passed.
- The same `detect-secrets==1.5.0` hook and checked-in baseline used by
CI passed on all nine PR-scoped files after the inline false-positive
annotations.
- Existing model-timeout propagation, runner admission, prompt-parity,
sink selection, overflow recovery and policy-identity regressions
passed. The unchanged-overflow retry and mixed parse/transport
completion bugs had been reproduced before their earlier fixes.

Test invocation, using an existing compatible development environment
from this checkout:

```bash
export PYTHONPATH="$PWD"
export NEMO_GYM_EXTRA_ROOTS="$PWD"
python -m pytest \
  responses_api_agents/osworld_agent/tests \
  resources_servers/osworld/tests \
  benchmarks/osworld/tests \
  --import-mode=importlib -o addopts='' -o log_cli=false -q
pre-commit run --all-files
```

The explicit source root prevents an older editable checkout from
shadowing the branch under test; importlib mode avoids the shared
`osworld` test-package name collision. These checks are local evidence,
not a claim that the upstream CI run has completed.

## Score reproduction

OSWorld 361 tasks, Nemotron-3-Nano-Omni v3 (`24e67ea0`), fixed-3
history, 100 steps, one A/B run per arm. Control = main `d4c0f86c7` +
#3591 (needed for the E2B `endpoint()` on AgentEnv); treatment = control
+ this PR. Raw SR 44.61% → 46.62% (Δ +2.01 pp, paired 95% CI [−2.12,
+6.07] pp); binary 154 → 159 of 361 (McNemar p = 0.59); 0 masked and 0
missing in both arms; identical history-policy and agent-contract IDs.
No degradation. The context-overflow shrink path was not triggered in
either run.

---------

Signed-off-by: Jeff Peng <[email protected]>
Co-authored-by: Michał Bień <[email protected]>

This branch was previously deployed

1 inactive deployment
public — c97b6e03 Deployed Sep 23, 2026 by copy-pr-bot[bot] via release / finalize / notify #3556
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI workflows, test routing, and repository automation ci CI, automation, test queue, or workflow infrastructure work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant