Skip to content

test(provider): local-limit tests wait up to 30 s of real time for an asynchronous step - #2616

Merged
jonathan308 merged 1 commit into
devfrom
test/local-limits-eventually-bound
Nov 24, 2026
Merged

jonathan308 merged 1 commit into
devfrom
test/local-limits-eventually-bound

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

PrefillTestClock.eventually waited at most 2 s of real time. In the SDK 27 qualification lane, the CI watchdog samples every test process for about a second each once the suite has run 900 s (scripts/run-provider-test-watchdog.py). That paused LocalHeadHoldTests.anOwnersRequestTheEngineCouldntAdmitIsSubmittedAgain while its one-second owner retry was due. The re-submit arrived after the 2 s bound and the test failed, although the owner's request was then served.

The bound is now 30 s. A condition that holds still returns at once; only a condition that never holds waits longer. No eventually call in the suite expects false, so no assertion changes meaning. The case still checks that submission #3 happens and that the owner's request is served with its answer.

Commit What it does
d118ef3235 PrefillTestClock.eventually: 2 s → 30 s, with a doc comment naming the cause

Linked issue

None.

Test plan

  • Test-only; no red control. The failure needs the watchdog's pause to coincide with the retry timer.
  • CI (dev) on the exact head: run 45337352825.
  • SDK 27 release preparation on the exact head (the lane where the pause happens): run 45337362823.

Components touched

  • provider-swift tests

… asynchronous step

PrefillTestClock.eventually allowed 2 s. In the SDK 27 qualification lane the CI watchdog samples every test process at 900 s, which paused LocalHeadHoldTests.anOwnersRequestTheEngineCouldntAdmitIsSubmittedAgain while its one-second owner retry was due, so the re-submit arrived after the bound and the test failed although the request was then served. A true condition still returns at once; only a condition that never holds waits longer. No eventually call in the suite expects false. Test-only.
@jonathan308 jonathan308 added the run-ci Trigger one-shot PR CI run (auto-removed when run starts) label Nov 24, 2026
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference-landing Ready Ready Preview Nov 24, 2026 6:02am UTC
darkbloom-status Ready Ready Preview Nov 24, 2026 6:02am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 24, 2026 6:02am UTC

Request Review

@jonathan308 jonathan308 added the run-release-ci One-shot: run SDK 27 release and qualification on this PR (removed when the run starts) label Nov 24, 2026
@github-actions github-actions Bot removed the run-ci Trigger one-shot PR CI run (auto-removed when run starts) label Nov 24, 2026
@github-actions github-actions Bot removed the run-release-ci One-shot: run SDK 27 release and qualification on this PR (removed when the run starts) label Nov 24, 2026
@jonathan308 jonathan308 mentioned this pull request Nov 24, 2026
5 of 8 tasks
@jonathan308
jonathan308 merged commit 41a77e9 into dev Nov 24, 2026
35 checks passed

This branch was successfully deployed

3 active deployments
Preview – d-inference-landing — d118ef32 Deployed Nov 24, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — d118ef32 Deployed Nov 24, 2026 by vercel[bot]
Preview – darkbloom-status — d118ef32 Deployed Nov 24, 2026 by vercel[bot]
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.

1 participant