Repository navigation
[3904 by GPT-6.2 Sol] Sprites: first login after a restart fails on the in-flight-create fence instead of waiting - #3905
Conversation
Sprites login and run admission now wait through the Redis recovery fence and resume automatically when it clears. The login dialog shows the estimated wait, and expired timer delays are clamped to zero. 129 tests passed. A Chromium check with a simulated fence confirmed that the Claude sign-in link appeared without a manual retry. The live Fly restart remains unverified. ProPR-Agent: codex/gpt-6.2-sol
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit f7dc546 Summary of ChangesFixed the Validate Changes failure on PR #3905. ESLint counted 415 lines in Strict lint, core and API builds, OpenAPI and client contract checks, and all 125 focused tests passed locally. GitHub Actions verification is pending. Review digestRisk-tiered paths
Diff size: 2 files changed, +64/−51 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed the Validate Changes failure on PR #3905. ESLint counted 415 lines in `spritesProvisioning.ts`, exceeding its 400-line limit. I moved reservation and recovery timing into [the existing Sprite queue helpers](/home/node/workspace/packages/core/src/agents/runtime/sprites/spritesSlot.ts:73), preserving the recovery wait for login and run admission. [CI run](https://github.com/integry/propr/actions/runs/46331344733/job/141561637000) Strict lint, core and API builds, OpenAPI and client contract checks, and all 125 focused tests passed locally. GitHub Actions verification is pending. PR: #3905 Comment by: @propr-dev[bot] (ID: 7265664065) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
ℹ️ Analyzed the follow-up request by @github-actions[bot] Analysis SummaryThe current PR #3905 branch already fixes the reported Core package lint passed with zero warnings, TypeScript type-checking passed, and all 109 focused Sprite and remote login tests passed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within the reviewed scope. The change pauses the capacity timeout during Redis recovery, retries admission automatically, and forwards the recovery estimate to login progress. The helper extraction is proportionate to the behavior change and the authorized lint fix. ✅ Preserved cancellation and cleanup — Reservation waits retain abort handling and release late successful reservations when admission has already been cancelled or timed out. ✅ Recovery reaches login — The new regression test exercises Redis reset through the runtime login entry point and verifies provider output and Sprite deletion. ✅ Passing current checks — The authoritative current-head status reports 17 passed, no failures, and no pending checks. This assessment is based on static review of the supplied diff and surrounding context; no commands were run. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Exercise recovery across multiple pollsConsider adding a test that advances time through several recovery polls, then returns ordinary capacity exhaustion before freeing a slot. The new login test advances the entire recovery interval inside the first progress callback, so it does not exercise repeated polling or verify that the remaining capacity budget survives the recovery-to-capacity transition. This would strengthen coverage of ScoreThe implementation meets the stated objective, preserves the relevant cancellation and reservation cleanup behavior, and has passing current-head checks. Static review found no merge blockers; additional transition coverage would improve confidence. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
Live-tested on propr-dev-3868 (Sprites runtime, combined build of #3911, #3910, #3905 and #3909 on the epic): fixture issue #147 → PR integry/propr-fly-fixture#148, the PR's View task link opens the task ( |
ecd4f73
into
3758-epic-runtime-abstraction-sc0
AI Implementation Summary
Closes #3904
Branch:
3904/gpt-6.2-sol-sprites-first-login-after-20261130-0041-ngyCommits: ✅ Changes committed (1251532)
AI Processing Completed
Execution Details:
Summary:
Sprites login and run admission now wait through the Redis recovery fence and resume automatically when it clears. The login dialog shows the estimated wait, and expired timer delays are clamped to zero.
129 tests passed. A Chromium check with a simulated fence confirmed that the Claude sign-in link appeared without a manual retry. The live Fly restart remains unverified.
Review digest
Risk-tiered paths
packages/core/src/agents/runtime/sprites/spritesLogin.ts(+4/−2): auth-looking pathpackages/core/src/agents/runtime/sprites/spritesProvisioning.ts(+27/−10)packages/core/src/agents/runtime/sprites/spritesSlot.ts(+10/−17)test/remoteAgentLogin.test.ts(+46/−1)test/spritesPool.test.ts(+6/−6)test/spritesRuntime.test.ts(+2/−2)Diff size: 6 files changed, +95/−38 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3904.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Claude login waiting for Sprite capacity
The desktop login dialog shows the recovery wait while the session stays open.
Full-size original