Repository navigation
[2990 by GPT-6 Astra] Enforce Hosted concurrent agent-run entitlement across execution entrypoints - #2992
Conversation
…titlement ac Implemented by ProPR AI using gpt-6-astra model. Implementation completed successfully.
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryResolved the conflict in worker-runtime.md.
Validation passed: Markdown/MDX compilation and Git could not mark the file resolved in its index because creating 🤖 Resolution Details
System-triggered merge conflict resolution |
|
Independent review of 80b31cb: the immutable Redis config currently makes a normal Hosted entitlement resize fail indefinitely. After running Solo=2 once and finishing every holder, start the same instance/daemon with Team=6: expired/acquire compare the old serialized limit and throw, even with zero holders. The documented manual Redis config-key deletion is not wired into the normal Fleet resize/reconcile flow and is not an acceptable completed rollout path. Please implement a safe, tested coordinated entitlement transition that works through the normal lifecycle (preserving rejection/fencing of old-config or suspended launchers; do not simply overwrite config when HLEN=0), or provide the necessary explicit drain/transition integration rather than requiring undocumented operator Redis edits. Add real-Redis upgrade/downgrade and stale-launcher tests. Keep provider/account permissions unchanged. Also update the #2989 dependency documentation: it is now merged at 9fbca5e, which this PR base already contains. I am running the exact-head existing admission tests independently; no deployment or preview-pin change yet. |
|
Additional independent test finding at 80b31cb: exact-head admission suite is failing the 2/6 wrapper saturation cases on this host (40s timeouts; still running remaining cases, session retained). Diagnosis: prepareAdmittedAgent uses PATH-resolved execFile("docker") for create/info/remove, whereas dockerExecutor.runDockerCommand still calls resolveDockerPath(command), which prefers an installed absolute Docker binary. The fixture therefore creates via the simulator but starts against the real local daemon, returning "No such container". A direct isolated wrapper reproduction confirmed this. Please use one consistent Docker executable/context across admission and execution, and make the fixture prove isolation even on hosts with /usr/bin/docker installed; tests must not contact the host daemon accidentally. Also cover caller extraEnvVars/DOCKER_HOST or context differences so identity/readback/removal cannot target a different daemon than create/start. This is separate from the coordinated entitlement-transition finding above. |
…ed-concurrent-20261011-1808-o9m Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - docs/docs/architecture/worker-runtime.md PR: #2992 Model: GPT-6 Astra
|
✅ Applied the requested follow-up changes in commit 0c0d0d0 Processed 2 comments: Summary of ChangesImplemented both fixes:
Validation: 40 tests passed, including real-Redis upgrade/downgrade and stale-launcher tests. Typecheck passed; lint reported no errors. Provider/account permissions and deployment settings remain unchanged. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Implemented both fixes: - Generation-based entitlement transitions fence stale launchers and drain holders before admitting new work. Fleet must increment `PROPR_AGENT_RUN_GENERATION` with each resize. - Docker admission and execution now share PATH selection and the captured caller environment. - Updated #2989’s merged dependency documentation. Validation: 40 tests passed, including real-Redis upgrade/downgrade and stale-launcher tests. Typecheck passed; lint reported no errors. Provider/account permissions and deployment settings remain unchanged. PR: #2992 Comment by: @integry (ID: 6112234514) Comment by: @integry (ID: 6112250137) Model: GPT-6 Astra
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 2eb80ad Processed 2 comments:
Summary of ChangesFixed all five reported ESLint warnings in the two flagged files through behavior-preserving refactoring. Validation passed:
No visual changes or previews. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…files through behavior-preserving refactoring. Fixed all five reported ESLint warnings in the two flagged files through behavior-preserving refactoring. Validation passed: - Changed-file lint with zero warnings - Core package build - 68 relevant tests, including real-Redis admission tests No visual changes or previews. PR: #2992 Comment by: @propr-dev[bot] (ID: 6112538633) Comment by: @github-actions[bot] (ID: 6112539012) Model: GPT-6 Astra
AI Implementation Summary
Closes #2990
Branch:
2990/gpt-6-astra-enforce-hosted-concurrent-20261011-1808-o9mCommits: ✅ Changes committed (80b31cb)
AI Processing Completed
Execution Details:
Summary:
Implemented shared Redis admission for Hosted 2/6/12 limits across standard and native agent execution paths, with cancellation, renewal-loss handling, crash recovery, and fenced release.
Self-hosted behavior remains opt-in. Documented exclusions, supported topology, Fleet acceptance steps, and the still-open #2989 dependency without duplicating its resolver.
Validation: 79 tests passed, plus typecheck and lint. Contention tests use real Redis and simulated Docker; live Fleet acceptance remains outstanding.
Detailed Logs:
01a12c28-5347-77b1-99ba-19b2c8b2335dLog files stored at:
/tmp/claude-logs/issue-2990-2026-10-11T18-24-45-458Z-conversation.json/tmp/claude-logs/issue-2990-2026-10-11T18-24-45-458Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #2990.
💡 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!