Repository navigation
[3769 by GPT-6.2 Astra] Docs and end-to-end smoke test: ProPR on Fly under $5/month - #3804
Conversation
Implemented issue #3769. The new Fly tutorial covers both remote runtimes, measured resource usage, the Free plan’s $5 threshold and PAYG switch, and the trust model. It shows how opt-in idle shutdown can bring the estimated control-plane cost to $1.52 per 30 days under the documented assumptions. Idle shutdown remains off by default. Added a runtime capabilities matrix, clarified the roadmap’s operator-owned compute scope, and added a secret-gated nightly/manual smoke workflow. It waits for the Machine to stop, labels a test issue, observes the wake, verifies the PR’s contents and recorded Sprites execution, then tears down the fixture. The tutorial and workflow use the existing Machine configuration builder because this branch’s deploy CLI still rejects remote runtimes. The docs build, workflow lint, shell syntax checks, and all 18 Fly configuration tests passed. The live E2E remains unverified because the dedicated fixture credentials were unavailable. ProPR-Agent: codex/gpt-6.2-astra
|
/ultrafix goal=8 max=5 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 5) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds a practical Fly deployment tutorial, a runtime comparison, and a disposable smoke workflow. The changes fit the stated scope. No merge-blocking defect is established by the supplied code, but the central live deployment-and-wake path remains unverified. ✅ Shared configuration recipe — The workflow extracts and executes the tutorial’s configuration script, reducing drift between documentation and automation. ✅ Deployment-scoped cleanup — Sprite cleanup reproduces the inventory marker calculation and checks the deployment-specific prefix before deletion. ✅ Meaningful smoke assertions — Verification ties the requested file to an issue-linked PR and checks for a successful Sprites execution associated with both. This was a static review of the supplied diff and excerpts; no commands were run. Current checks show 18 passed, five pending, and no failures. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Capture a live fixture runRun the workflow with the dedicated credentials and retain evidence of deployment, natural shutdown, webhook wake, PR creation, execution recording, and teardown. The supplied configuration tests support the rendering contract, but cannot establish that this complete external integration works. This is a verification follow-up, not an identified code defect. S2: 🟢 Consider cleanup after runner lossThe workflow’s ScoreThe implementation is coherent and appropriately scoped, with no verified blocker. The unavailable live smoke result leaves a material verification gap in the PR’s central end-to-end claim. Score: 7/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
|
Maintainer review plus live check (at 5ed7133)Live: the tutorial's deploy → idle stop → wake path on real Fly passesControl-plane image built remotely from
Not covered live: issue → PR on Sprites, which needs a fixture GitHub App and repo. Findings
|
|
✅ Applied the requested follow-up changes in commit c60f7cf Summary of ChangesThe Fly smoke workflow now revokes its app-scoped stop token before destroying the fixture, including after a failed deployment. Manual runs remain available. Nightly runs require the repository variable The tutorial documents operator token revocation, nightly costs and shared quotas, and the remote-runtime deployment recipe. It distinguishes bare Sprite creation (~36 seconds) from full CLI provisioning plus two clone runs (143–187 seconds), reports a 10–20 second wake range, and treats counting stopped Machines as a conservative planning assumption. The docs build, workflow lint, shell syntax checks, and mocked token-cleanup checks passed. The paid Fly/Sprites issue-to-PR path was not rerun. Review digestRisk-tiered paths
Diff size: 2 files changed, +26/−9 lines Visual previewOpting in to the nightly smoke testThe tutorial explains the nightly opt-in, charges and shared Free plan limits. Sprite provisioning and run timesMeasured times for bare Sprite creation, full provisioning with two clone runs, and warm checks. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
The Fly smoke workflow now revokes its app-scoped stop token before destroying the fixture, including after a failed deployment. Manual runs remain available. Nightly runs require the repository variable `FLY_E2E_NIGHTLY=true`. The tutorial documents operator token revocation, nightly costs and shared quotas, and the remote-runtime deployment recipe. It distinguishes bare Sprite creation (~36 seconds) from full CLI provisioning plus two clone runs (143–187 seconds), reports a 10–20 second wake range, and treats counting stopped Machines as a conservative planning assumption. The docs build, workflow lint, shell syntax checks, and mocked token-cleanup checks passed. The paid Fly/Sprites issue-to-PR path was not rerun. PR: #3804 Comment by: @integry (ID: 7162491676) Model: GPT-6.2 Astra ProPR-Agent: codex/gpt-6.2-astra
|
/ultrafix goal=8 max=5 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 5) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds a Fly deployment tutorial, runtime comparison, and disposable end-to-end smoke workflow. The changes fit the stated scope. No merge-blocking defect is established by the supplied code, but live validation remains a material gap before calling the deployment path merge-ready. ✅ Opt-in shutdown — The tutorial explicitly overrides the spread defaults with ✅ Specific execution verification — The smoke checks the requested file and correlates a successful Sprites execution with the fixture repository, issue, and PR. ✅ Scoped cleanup — Sprite cleanup derives the deployment prefix using the same instance-key digest as the supplied runtime implementation. This was a static review of the supplied diff and context; no commands were run. Current checks show 18 passed, five pending, and no failures. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S3: 🟢 Record a live fixture runRun the manual workflow with the documented dedicated credentials and retain evidence of idle stop, webhook wake, PR contents, execution verification, and cleanup. The implementation summary explicitly says this path remains unverified; configuration tests and lint cannot establish that the external services complete the full sequence. This is a validation follow-up, not a demonstrated code defect. S4: 🟢 Exercise failure cleanupA subsequent fixture run that deliberately fails after provisioning would help validate the separate ScoreThe implementation is focused and statically consistent with the supplied contracts. The unverified live deployment and wake-to-PR sequence leaves a material verification gap despite the passing checks. Score: 7/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
|
Full fixture E2E on Fly (head c60f7cf)Ran the tutorial's render recipe end to end on a throwaway app ( Result: all three agents produced the requested PR on Sprites.
Also confirmed: health 200 about 10 s after deploy; the relay WebSocket reconnected after a Machine restart; with idle off, no Findings to fix in this PRF1 (blocker): the tutorial never sets F2: a fresh instance has no agent configurations, and the tutorial's "label a small issue F3 (small): the render recipe's F4 (optional, docs): add a short Connect relay variant. With Out of scope, filed separately: the |
|
✅ Applied the requested follow-up changes in commit a58af14 Summary of ChangesUpdated the Fly tutorial and nightly fixture for all four findings. The tutorial now requires The nightly fixture requires HTTP 200 from The docs build, all 18 Fly configuration tests, and all four combinations of authentication mode and optional Claude settings passed locally. I also verified the fixture’s agent setup against SQLite. I did not rerun the live Fly deployment. Review digestRisk-tiered paths
Diff size: 2 files changed, +47/−14 lines Visual previewVerify an issue runThe Fly tutorial shows how to enable an agent and select it with issue labels. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Updated the Fly tutorial and nightly fixture for all four findings. The tutorial now requires `PROPR_ADMIN_USERS`, explains how to configure and enable an agent before applying `llm-<alias>` and `AI`, and includes a working Connect relay recipe. Headless Claude settings now mount correctly with either GitHub authentication mode. The nightly fixture requires HTTP 200 from `/health`, configures an enabled Claude agent, and selects it with `llm-claude` before triggering the wake test. Existing fixtures need the administrator’s GitHub login in `FLY_E2E_APP_ENV` and an `llm-claude` label in the fixture repository. The docs build, all 18 Fly configuration tests, and all four combinations of authentication mode and optional Claude settings passed locally. I also verified the fixture’s agent setup against SQLite. I did not rerun the live Fly deployment. PR: #3804 Comment by: @integry (ID: 7164431835) Model: GPT-6.2 Astra ProPR-Agent: codex/gpt-6.2-astra
|
/ultrafix goal=8 max=3 |
|
✅ Applied the requested follow-up changes in commit bb6dd21 Summary of ChangesFixed F10. The Fly smoke workflow now closes fixture PRs with the PAT and deletes their branches with a masked fixture App installation token. Cleanup accepts 404 or 422 responses indicating the branch is already gone and reports other deletion failures. The workflow also uses the App token to read the generated file during verification. The tutorial now documents that the PAT needs only Issues and Pull requests read/write access, with no Contents access. The docs build and workflow shell syntax checks passed. Mocked cleanup tests covered multiple PRs, missing branches, permission errors, and an empty PR list. A live Fly rerun remains unverified. Review digestRisk-tiered paths
Diff size: 2 files changed, +32/−5 lines Visual previewFly smoke fixture secretsThe tutorial lists the PAT permissions and identifies the fixture App operations that use Contents access. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed F10. The Fly smoke workflow now closes fixture PRs with the PAT and deletes their branches with a masked fixture App installation token. Cleanup accepts 404 or 422 responses indicating the branch is already gone and reports other deletion failures. The workflow also uses the App token to read the generated file during verification. The tutorial now documents that the PAT needs only Issues and Pull requests read/write access, with no Contents access. The docs build and workflow shell syntax checks passed. Mocked cleanup tests covered multiple PRs, missing branches, permission errors, and an empty PR list. A live Fly rerun remains unverified. PR: #3804 Comment by: @integry (ID: 7174900657) Model: GPT-6.2 Astra ProPR-Agent: codex/gpt-6.2-astra
Run 8 of the Fly smoke workflow: F11, App installation token mint fails (401)Run: https://github.com/integry/propr/actions/runs/45704046328 (bb6dd21). Deploy, App webhook, idle stop and wake, and recovery ( F11 (blocker): |
|
✅ Applied the requested follow-up changes in commit 70db790 Summary of ChangesUpdated the Fly smoke workflow to mint installation tokens with The configure step and generated helper passed Review digestRisk-tiered paths
Diff size: 1 file changed, +4/−1 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Updated the Fly smoke workflow to mint installation tokens with `curl` using `Authorization: Bearer <App JWT>`. The workflow now tests the mint immediately after configuring the webhook. A failed request or an empty token stops the run before it creates the fixture issue or waits for idle shutdown. The configure step and generated helper passed `bash -n`, and `git diff --check` passed. A live mint with the fixture App remains unverified. PR: #3804 Comment by: @integry (ID: 7175285859) Model: GPT-6.2 Astra ProPR-Agent: codex/gpt-6.2-astra
Run 9 of the Fly smoke workflow: ✅ green end to end (70db790)Run: https://github.com/integry/propr/actions/runs/45706507010 (21:40–21:52 UTC, conclusion success).
F7–F11 are all confirmed fixed live. |
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryPR #3804 needs no follow-up changes. The branch is at No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/ultrafix goal=8 max=3 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 3) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR provides a detailed Fly deployment tutorial and a smoke workflow covering deployment, idle shutdown, webhook wake, PR contents, recorded Sprites execution, and teardown. The configuration and test changes support that scope. No merge-blocking defect is demonstrated by the supplied code, but live end-to-end verification remains a material gap. ✅ Mount-safe credentials — The GitHub App key moves outside ✅ Specific execution verification — The smoke workflow checks the generated file and requires a successful Sprites execution associated with both the fixture issue and PR. ✅ Deterministic shutdown test — Mocked time verifies the exact remaining flush allowance without relying on a short wall-clock delay. The supplied current checks report 33 passed, one pending, and 16 skipped, with no failures. This was a static review of the supplied diff and context; no commands were run. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S7: 🟢 Record a live smoke resultRun the workflow with the dedicated fixture credentials and retain evidence of deployment, idle stop, webhook wake, successful execution, and cleanup. The supplied history explicitly leaves the live E2E unverified; configuration tests and workflow lint cannot establish that the external services accept the complete sequence. This is a verification follow-up rather than a demonstrated code defect. S8: 🟢 Reconcile deployment documentationThe existing warning in ScoreThe implementation is coherent and the supplied checks show no failures. The outstanding live smoke verification prevents confidently calling the end-to-end objective merge-ready. Score: 7/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
|
Please fix S8 (live E2E for S7 is already done)S7: already satisfied. Smoke run 9 passed end to end on 70db790 (https://github.com/integry/propr/actions/runs/45706507010; evidence in #3804 (comment)). I've updated the PR description to say so; no change needed. S8: please fix.
Link the tutorial and the runtime capabilities matrix, and keep the wording consistent with both. |
|
✅ Applied the requested follow-up changes in commit f4ea15e Summary of ChangesFixed S8 in the Fly deployment guide. The warning now explains that live runs verified worker support for both Sprites and Fly Machines. The branch’s The docs build passed. I verified that the warning renders correctly and both links reach their intended destinations. Review digestRisk-tiered paths
Diff size: 1 file changed, +10/−6 lines Visual previewFly deployment warningThe operations guide distinguishes worker runtime support from the deploy CLI limitation. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed S8 in the [Fly deployment guide](/home/node/workspace/docs/docs/operations/deploy-fly.md:16). The warning now explains that live runs verified worker support for both Sprites and Fly Machines. The branch’s `propr deploy fly` CLI still rejects both remote runtimes, so the warning links to the tutorial’s configuration builder instructions and the runtime capabilities matrix. The docs build passed. I verified that the warning renders correctly and both links reach their intended destinations. PR: #3804 Comment by: @integry (ID: 7176303125) Model: GPT-6.2 Astra ProPR-Agent: codex/gpt-6.2-astra
|
/ultrafix goal=8 max=3 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 3) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR delivers the Fly deployment tutorial, runtime comparison, and opt-in live smoke workflow, with focused configuration fixes discovered during validation. It is merge-ready within the reviewed scope, conditional on the remaining checks passing. ✅ Configuration matches mount behavior — The GitHub App key moves to ✅ Meaningful end-to-end assertions — The workflow observes stop and wake, checks the linked PR’s generated file, and verifies a successful Sprites execution associated with both the issue and PR. ✅ Explicit operating assumptions — The tutorial distinguishes estimated costs, measured resource usage, optional idle shutdown, and operator-owned credentials and compute. This review used only the supplied diff and context. No commands or tests were run. The authoritative check status reports 29 passed, five pending, and no failures. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S9: 🟢 Exercise recovery deterministicallyIn ScoreThe changes are coherent and appropriately scoped, with useful regression tests and substantive live-smoke assertions. No merge blocker was established by static review; merge remains conditional on the pending checks completing successfully. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |





AI Implementation Summary
Closes #3769
Branch:
3769/gpt-6.2-astra-docs-and-end-to-end-smoke-20261125-1156-i09Commits: ✅ Changes committed (5ed7133)
AI Processing Completed
Execution Details:
Summary:
Implemented issue #3769. The new Fly tutorial covers both remote runtimes, measured resource usage, the Free plan’s $5 threshold and PAYG switch, and the trust model. It shows how opt-in idle shutdown can bring the estimated control-plane cost to $1.52 per 30 days under the documented assumptions. Idle shutdown remains off by default.
Added a runtime capabilities matrix, clarified the roadmap’s operator-owned compute scope, and added a secret-gated nightly/manual smoke workflow. It waits for the Machine to stop, labels a test issue, observes the wake, verifies the PR’s contents and recorded Sprites execution, then tears down the fixture.
The tutorial and workflow use the existing Machine configuration builder because this branch’s deploy CLI still rejects remote runtimes. The docs build, workflow lint, shell syntax checks, and all 18 Fly configuration tests passed. The live E2E is verified: smoke run 9 (https://github.com/integry/propr/actions/runs/45706507010, head 70db790) passed end to end with the dedicated fixture: deploy, idle stop, wake on the
AIlabel, direct-webhook recovery (webhookRecovery.redelivered=1), a Claude run on Sprites (compute_runtime: sprites), the expected PR contents and full teardown, with no leftovers. Evidence: #3804 (comment). Runs 5–8 found and fixed F7–F11 along the way.Review digest
Risk-tiered paths
.github/workflows/fly-e2e.yml(added, +203/−0): CI or workflow filedocs/ROADMAP.md(+5/−2)docs/docs/architecture/agent-runtime.md(+12/−1)docs/docs/tutorials/setup-fly.md(added, +115/−0)Diff size: 4 files changed, +335/−3 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3769.
💡 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
Fly deployment budget
Monthly scenarios for a single control plane, including idle shutdown and stopped storage.
Full-size original
Agent runtime capabilities
Supported agents, workspace transfer, network restrictions and capacity across the three runtimes.
Full-size original