Repository navigation
[3919 by GPT-6.2 Sol] Fly setup wizard: explain idle stop as saving Fly compute, not as the /wake mechanism - #3922
Conversation
Updated the Fly setup wizard to explain how sleeping saves Fly compute, what to expect during the 10–20 second wake-up, and how GitHub events are handled on each setup path. Idle sleep is opt-in. Aligned the wording in Settings and `propr deploy fly`, documented the wake URL and Connect acknowledgement in the Fly setup guide, and refreshed the guide screenshot. Captured previews for both wizard paths and desktop and mobile Settings. Verified with 115 server and CLI tests, 4 Settings unit tests, and a Playwright browser test. ProPR-Agent: codex/gpt-6.2-sol
|
Scope change from the maintainer (added to #3919 after this run started): make idle stop on by default. Tick the checkbox on the first render of the finish step, and keep the user's choice when the page re-renders after an error. Give |
|
✅ Applied the requested follow-up changes in commit 7d35c2e Summary of ChangesIdle shutdown now defaults to 15 minutes in the Fly setup wizard and Use All 235 targeted tests and both TypeScript checks passed. Chromium verified the checked and unchecked error states, and two previews were captured. Review digestRisk-tiered paths
Diff size: 16 files changed, +113/−88 lines Visual previewFly setup defaults to sleep when idleThe finish step opens with idle sleep checked and shows the 15-minute threshold. Idle sleep stays unchecked after an errorThe finish step on mobile keeps the user’s opt-out when a repository choice is rejected. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Idle shutdown now defaults to 15 minutes in the Fly setup wizard and `propr deploy fly`. The Finish checkbox starts checked and preserves the user’s choice after a submission error. Use `--no-idle-shutdown` to keep a CLI-deployed Machine running. The Machines API backend requires an app-scoped stop token when idle shutdown is enabled and the app has no token. Both generated Fly configs keep proxy autostop off, autostart on, and restart on failure. All 235 targeted tests and both TypeScript checks passed. Chromium verified the checked and unchecked error states, and two previews were captured. PR: #3922 Comment by: @integry (ID: 7279867571) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
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 72cb3fe Summary of ChangesFixed the Strict lint, the TypeScript build, 72 Fly launch tests, and 5 focused Chromium tests passed locally. GitHub CI is still unverified. Review digestRisk-tiered paths
Diff size: 1 file changed, +1/−3 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed the `Validate Changes` failure on PR #3922. ESLint counted 402 lines in the Fly setup wizard, exceeding the 400-line limit. I simplified the repository selection check to bring the file within the limit while preserving its behavior. [CI diagnostics](#3922 (comment)) · [Code change](/home/node/workspace/src/flyLaunch/setupWizard.ts:342) Strict lint, the TypeScript build, 72 Fly launch tests, and 5 focused Chromium tests passed locally. GitHub CI is still unverified. PR: #3922 Comment by: @propr-dev[bot] (ID: 7280200348) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
ℹ️ Analyzed the follow-up request by @github-actions[bot] Analysis SummaryPR #3922 already contains the fix for the reported ESLint line limit failure. Strict core lint, the TypeScript build, and 152 focused Fly tests passed locally. GitHub CI remains unverified. The tests confirm that the Finish checkbox starts checked and preserves the submitted choice after an error, No further edits or new previews were needed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryResolved the only merge conflict in PR #3922, in flyLaunchToml.ts. Both branches edited The workspace scan found no remaining merge conflict markers. The CLI TypeScript check and all 71 focused tests passed, including checks that both generated TOML files match the renderer output. Git still lists the file as unmerged in its index because 🤖 Resolution Details
System-triggered merge conflict resolution |
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - packages/cli/src/commands/deploy/flyLaunchToml.ts PR: #3922 Model: GPT-6.2 Sol
|
/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 PR implements the amended default-on behavior with localized changes and relevant regression coverage. Current-head checks report 35 passed and 12 skipped/neutral, with no failures. ✅ Consistent Fly defaults — The wizard initially checks idle shutdown, and the CLI defaults to 15 minutes with an explicit ✅ Choice preserved after errors — Finish-step validation and commit errors re-render with the submitted checkbox state; tests cover checked and unchecked error responses. ✅ Machine configuration alignment — The generator derives the restart policy from the deployment plan, and tests verify restart, autostart, and minimum-Machine settings. Review conclusions use static inspection of the supplied diff and context; no commands were run. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Qualify default wording in Settings
S2: 🟢 Update CLI output documentation
ScoreThe amended behavior is implemented coherently, with regression coverage and passing current-head checks. Static review found no merge blockers; minor documentation inconsistencies remain. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |


AI Implementation Summary
Closes #3919
Branch:
3919/gpt-6.2-sol-fly-setup-wizard-explain--20261130-1319-h39Commits: ✅ Changes committed (44a1d99)
AI Processing Completed
Execution Details:
Summary:
Updated the Fly setup wizard to explain how sleeping saves Fly compute, what to expect during the 10–20 second wake-up, and how GitHub events are handled on each setup path. Idle sleep is opt-in.
Aligned the wording in Settings and
propr deploy fly, documented the wake URL and Connect acknowledgement in the Fly setup guide, and refreshed the guide screenshot. Captured previews for both wizard paths and desktop and mobile Settings.Verified with 115 server and CLI tests, 4 Settings unit tests, and a Playwright browser test.
Review digest
Risk-tiered paths
packages/api/mcp/settingsCatalog.ts(+2/−2)packages/cli/src/commands/deployFly.ts(+15/−9)propr-ui/src/pages/SettingsPage/IdleShutdownSection.tsx(+3/−3)propr-ui/src/pages/SettingsPage/settingsCategoryGuides.ts(+1/−1)src/flyLaunch/setupPages.ts(+10/−5)docs/docs/tutorials/setup-fly.md(+6/−2)docs/static/img/screenshots/fly-launch/wizard-finish.png(+0/−0)packages/cli/src/commands/deployFly.test.ts(+1/−0)propr-ui/e2e/idle-shutdown.pw.ts(+4/−4)propr-ui/src/pages/SettingsPage/IdleShutdownSection.test.tsx(+4/−3)test/flyLaunchWizard.test.ts(+9/−1)Diff size: 11 files changed, +55/−30 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3919.
💡 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 setup with the ProPR App
The final step with the compute-saving option, wake delay, and free Connect event limits visible.
Full-size original
Fly setup with your own GitHub App
The final step with the direct webhook and dashboard polling details visible.
Full-size original
Sleep when idle in Settings
The updated idle shutdown guidance and the enabled setting after saving, using sample data.
Full-size original
Sleep when idle on mobile
The updated idle shutdown guidance at 390 px, using sample data.
Full-size original