Repository navigation
[3814 by GPT-6.2 Astra] propr deploy fly: lift the stale release guards for Sprites/Fly Machines runtimes and idle shutdown - #3815
Conversation
`propr deploy fly` now defaults to Sprites and accepts Fly Machines. Docker still requires `--legacy-docker`, and idle shutdown remains opt-in. The CLI requires `PROPR_ADMIN_USERS` before provisioning and explains how to configure the first agent. Both Fly guides and the smoke workflow now use the CLI. The GitHub App key stays at `/etc/propr/github-app.pem`, and the headless Claude setup writes settings to the mounted volume after deployment. All 140 Fly tests passed. The CLI build, typecheck, and a Sprites dry run with idle shutdown also passed. Live acceptance is pending. No workflow was dispatched, so there is no new run link. The smoke fixture now requires `GH_OAUTH_CLIENT_ID` and `GH_OAUTH_CLIENT_SECRET` in `FLY_E2E_APP_ENV` to pass the CLI’s browser sign-in check. ProPR-Agent: codex/gpt-6.2-astra
Fixture secrets: take the OAuth client from separate secrets
Please change the workflow to:
|
|
✅ Applied the requested follow-up changes in commit e6eb895 Summary of ChangesI changed Workflow
Docs
I didn't add a visual preview, since the only visible change is two rows in a docs table. Review digestRisk-tiered paths
Diff size: 2 files changed, +25/−6 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
I changed `.github/workflows/fly-e2e.yml` and the secrets table in `docs/docs/tutorials/setup-fly.md` as requested. Nothing was run live: the YAML parses and I ran the new skip check locally on its own. No tests reference this workflow, and actionlint and shellcheck aren't installed here. **Workflow** - **Skip check:** the `fixture` job now also requires `FLY_E2E_GH_OAUTH_CLIENT_ID` and `FLY_E2E_GH_OAUTH_CLIENT_SECRET`. I also changed the skip summary to name the missing secrets (e.g. "…fixture secrets are missing: FLY_E2E_GH_OAUTH_CLIENT_SECRET."), so the check is now one flag per secret instead of a single combined one. I tested that logic with one secret missing and with all present. - **Deploy step:** it reads the two new secrets, masks the client secret with `::add-mask::`, and appends them to `$ENV_FILE` as `GH_OAUTH_CLIENT_ID` and `GH_OAUTH_CLIENT_SECRET`. - **`FLY_E2E_APP_ENV`:** the required-key check is back to `PROPR_ADMIN_USERS`, `GH_APP_ID`, `GH_INSTALLATION_ID`, `PROPR_GH_PRIVATE_KEY_B64` and `CLAUDE_SETTINGS_B64`. If the bundled file also has OAuth keys, no conflict: the CLI's env-file parser keeps the last value for a key, so the appended values win. **Docs** - The `FLY_E2E_APP_ENV` row no longer lists the OAuth keys. - Two new rows: `FLY_E2E_GH_OAUTH_CLIENT_ID` is the fixture GitHub App's own client ID, and `FLY_E2E_GH_OAUTH_CLIENT_SECRET` is a client secret generated in the App settings. They also say the callback URL can stay a placeholder because CI never signs in through the browser. I didn't add a visual preview, since the only visible change is two rows in a docs table. PR: #3815 Comment by: @integry (ID: 7177644364) Model: Claude Opus 5.5 ProPR-Agent: claude/claude-opus-5-5
|
CI failed: Full Test Suite Shard 2/4 Please investigate and fix this CI failure.
Failure evidence
|
|
ℹ️ Analyzed the follow-up request by @propr-dev[bot] Analysis SummaryI didn't change this branch. The failure isn't caused by this PR, and the fix belongs on What failed: one test in Why it isn't this PR: the test file isn't on this branch. CI tests the PR merged with Cause: this is a timing flake in the test, and only git 2.56 (the version on the CI runners) triggers it.
How I confirmed it: the container has git 2.39, where the test always passes, so I built git 2.56.1 and ran
The added line goes after the other await git.addConfig('maintenance.auto', 'false');What to do:
No visual preview, since nothing visible changed. 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 EvaluationReady to merge within the reviewed scope. The changes remove the obsolete remote-runtime gate, align deployment configuration with runtime consumers, and simplify the deployment guides without adding unnecessary abstractions. ✅ Runtime compatibility — The supplied worker and runtime code supports Sprites and Fly Machines without Docker image preparation, supporting removal of the CLI restriction. ✅ Persistent configuration — Managed credentials now use the mounted data volume, and deployments receive a stable instance ID for Sprite pool ownership. ✅ CLI smoke coverage — The workflow now exercises the CLI deployment path with explicit OAuth credentials and retains idle-stop, wake, agent execution, and cleanup verification. This assessment is based on static review of the supplied code. The authoritative current-head status reports 35 passed checks and no failures or pending checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Cover administrator environment precedenceConsider testing the shell-environment fallback added in ScoreThe implementation is focused, consistent with the supplied runtime contracts, and supported by passing current-head checks. No merge-blocking regression was identified in the supplied diff. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
160a981
into
3758-epic-runtime-abstraction-sc0
AI Implementation Summary
Closes #3814
Branch:
3814/gpt-6.2-astra-propr-deploy-fly-lift-the-20261125-2259-6xfCommits: ✅ Changes committed (25d40af)
AI Processing Completed
Execution Details:
Summary:
propr deploy flynow defaults to Sprites and accepts Fly Machines. Docker still requires--legacy-docker, and idle shutdown remains opt-in. The CLI requiresPROPR_ADMIN_USERSbefore provisioning and explains how to configure the first agent.Both Fly guides and the smoke workflow now use the CLI. The GitHub App key stays at
/etc/propr/github-app.pem, and the headless Claude setup writes settings to the mounted volume after deployment.All 140 Fly tests passed. The CLI build, typecheck, and a Sprites dry run with idle shutdown also passed.
Live acceptance is pending. No workflow was dispatched, so there is no new run link. The smoke fixture now requires
GH_OAUTH_CLIENT_IDandGH_OAUTH_CLIENT_SECRETinFLY_E2E_APP_ENVto pass the CLI’s browser sign-in check.Review digest
Risk-tiered paths
.github/workflows/fly-e2e.yml(+13/−17): CI or workflow filepackages/cli/src/commands/deploy/flyMachineConfig.ts(+3/−2)packages/cli/src/commands/deployFly.ts(+18/−55)docs/docs/operations/deploy-fly.md(+8/−12)docs/docs/tutorials/setup-fly.md(+18/−57)packages/cli/src/commands/deploy/flyBrowserAuth.test.ts(+1/−1)packages/cli/src/commands/deploy/flyRedeploy.test.ts(+2/−2)packages/cli/src/commands/deployFly.test.ts(+25/−22)Diff size: 8 files changed, +88/−168 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3814.
💡 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
Deploy to Fly
The operations guide shows the default Sprites deployment, the administrator requirement and how to configure the first agent.
Full-size original
Live verification
The Fly smoke workflow now deploys through
propr deploy fly --agent-runtime sprites --idle-shutdown 2m --backend flyctl …. Run https://github.com/integry/propr/actions/runs/45724146665 (head e6eb895, 23:48–23:59 UTC) passed end to end:AIlabel;webhookRecovery.redelivered=1);{"compute_runtime":"sprites","compute_wall_time_ms":40894};propr-e2e-45724146665-1.txt(+1);Leftovers afterwards: 0
propr-e2e-*Fly apps; fixture branchesmainonly; 0 open PRs; 0 open issues.