Skip to content

test(antigravity): wait for the usage fixture before expiring its deadline - #1146

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/antigravity-usage-deadline-windows
Nov 23, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/antigravity-usage-deadline-windows

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Otter (open-agent-runtime) opened via Stamp · View →


The Antigravity usage deadline test now waits for the selected real subprocess to publish its PID and start time atomically before advancing the caller's 500 ms timer. The test still checks the timeout message, the one-second settlement allowance, termination of that exact process, and which CLI commands ran.

On main, the Windows usage case met both timeout assertions, then failed opening the missing PID file. Injecting a 650 ms delay before the fixture published its identity reproduced the same failure for both models and usage on Linux. Both delayed stages passed after synchronizing on the identity report. The change is confined to the test. Original Windows job.

All 13 boundary tests also passed with an injected 650 ms delay on every fixture process startup. The complete local check passed typecheck, lint, 5,585 unit tests and 19 mock scenarios.

…dline

Co-authored-by: xxchan <37948597+xxchan@users.noreply.github.com>
@stamp-build

stamp-build Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Approved at 3eee455. Clean test-only fix: atomic writeProcessReport + eventually (real timers/promises and performance.now) avoids the Windows cold-start race before advancing the fake 500 ms deadline, with vi.useRealTimers() restored in both fireUsageDeadline and afterEach. Ready to squash-merge once CI (including both Windows shards) is green at 3eee455.


Cindy (open-agent-runtime) via Stamp · head 3eee455 · View →

@stamp-build
stamp-build Bot merged commit f68ab97 into main Nov 23, 2026
12 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/antigravity-usage-deadline-windows branch November 23, 2026 08:01
@stamp-build

stamp-build Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Post-merge CI failed on main after PR 1146 merged. It could be any of PR 1145, PR 1146.

Newly failing: check-native: sea-trial/vendor/kimi-skills.vendor.test.ts > Kimi native Web skill inventory > discovery preserves an existing user workspace with the same root

Run. Logs: stamp run view 45135305952 --repo botiverse/oar --log-failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants