Skip to content

[3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) - #3924

Merged
integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3923/gpt-6.2-sol-fly-setup-wizard-one-gith-20261130-1333-e3p
Dec 1, 2026
Merged

integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3923/gpt-6.2-sol-fly-setup-wizard-one-gith-20261130-1333-e3p

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3923

Branch: 3923/gpt-6.2-sol-fly-setup-wizard-one-gith-20261130-1333-e3p
Commits: ✅ Changes committed (dd3a0b1)


AI Processing Completed

Execution Details:

Summary:
The Fly wizard now uses one GitHub device sign-in to enroll the ProPR App, verify the first administrator, and sign the setup browser into the dashboard. The administrator can confirm the verified account or sign in with a different one. Pasted tokens follow the same path when they can verify installation access.

The dashboard opens through a one-time browser handoff. The setup GitHub token is discarded after verification. Features that need a personal GitHub credential still require a regular GitHub sign-in.

Updated the Fly setup guide. All 88 targeted tests and TypeScript checks passed. Chromium verified the handoff through a delayed API startup and confirmed that a second browser stayed signed out.

Review digest

Risk-tiered paths

  • High risk (1 file)
    • packages/api/auth.ts (+22/−0): auth-looking path
  • Normal risk (12 files)
    • packages/api/flySetupSession.ts (added, +37/−0)
    • packages/api/server.ts (+4/−1)
    • src/allInOne.ts (+5/−2)
    • src/flyLaunch.ts (+9/−4)
    • src/flyLaunch/connectRoutes.ts (+56/−23)
    • src/flyLaunch/connectSetup.ts (+6/−5)
    • src/flyLaunch/deviceEnrollment.ts (+12/−3)
    • src/flyLaunch/launchConfig.ts (+1/−0)
    • src/flyLaunch/setupHttp.ts (+16/−0)
    • src/flyLaunch/setupLayout.ts (+5/−1)
    • src/flyLaunch/setupPages.ts (+27/−9)
    • src/flyLaunch/setupWizard.ts (+14/−23)
  • Low risk (2 files)
    • docs/docs/tutorials/setup-fly.md (+7/−5)
    • test/flyLaunchWizard.test.ts (+158/−24)

Diff size: 15 files changed, +379/−100 lines

View task for the run's logs and conversation.


This PR was created automatically by ProPR after processing issue #3923.


💡 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 administrator confirmation

Fly administrator confirmation

The wizard shows the verified GitHub account and offers to continue or use a different account.

Full-size original

The Fly wizard now uses one GitHub device sign-in to enroll the ProPR App, verify the first administrator, and sign the setup browser into the dashboard. The administrator can confirm the verified account or sign in with a different one. Pasted tokens follow the same path when they can verify installation access.

The dashboard opens through a one-time browser handoff. The setup GitHub token is discarded after verification. Features that need a personal GitHub credential still require a regular GitHub sign-in.

Updated the Fly setup guide. All 88 targeted tests and TypeScript checks passed. Chromium verified the handoff through a delayed API startup and confirmed that a second browser stayed signed out.

ProPR-Agent: codex/gpt-6.2-sol
@github-actions

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 46432217822, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667: Pulling from rhysd/actionlint
589002ba0eae: Pulling fs layer
c09af8888d6a: Pulling fs layer
4ccd7d76ca98: Pulling fs layer
b6b4b7b0e257: Pulling fs layer
b6b4b7b0e257: Waiting
589002ba0eae: Verifying Checksum
589002ba0eae: Download complete
4ccd7d76ca98: Verifying Checksum
4ccd7d76ca98: Download complete
c09af8888d6a: Verifying Checksum
c09af8888d6a: Download complete
589002ba0eae: Pull complete
c09af8888d6a: Pull complete
b6b4b7b0e257: Verifying Checksum
b6b4b7b0e257: Download complete
4ccd7d76ca98: Pull complete
b6b4b7b0e257: Pull complete
Digest: sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
Status: Downloaded newer image for rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

--- Release shell script lint ---

--- Toolchain ---
v24.22.3
11.19.1

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

added 1128 packages, and audited 1138 packages in 1m

318 packages are looking for funding
  run `npm fund` for details

8 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm warn install-scripts 6 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   @anthropic-ai/[email protected] (postinstall: node install.cjs)
npm warn install-scripts   [email protected] (install: node-gyp rebuild)
npm warn install-scripts   [email protected] (install: node buildcheck.js > buildcheck.gypi && node-gyp rebuild)
npm warn install-scripts   [email protected] (postinstall: node install.js)
npm warn install-scripts   [email protected] (install: node-gyp-build-optional-packages)
npm warn install-scripts   [email protected] (install: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /home/runner/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 32.0kB README.md
npm notice 36.6kB dist/agentSkill.js
npm notice 477B dist/api/admission.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.7kB dist/api/agents.js
npm notice 2.6kB dist/api/agentTank.js
npm notice 4.4kB dist/api/automations.js
npm notice 13.3kB dist/api/client.js
npm notice 5.9kB dist/api/errors.js
npm notice 1.6kB dist/api/followupHandoffs.js
npm notice 16.9kB dist/api/goals.js
npm notice 6.0kB dist/api/implement.js
npm notice 2.9kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 7.7kB dist/api/plans.js
npm notice 586B dist/api/pullRequests.js
npm notice 4.2kB dist/api/relay.js
npm notice 13.0kB dist/api/repos.js
npm notice 2.5kB dist/api/repositoryEvents.js
npm notice 16.2kB dist/api/settings.js
npm notice 2.0kB dist/api/stats.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.9kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 36.1kB dist/assets/env.example.txt
npm notice 5.9kB dist/auth/githubLogin.js
npm notice 5.0kB dist/auth/verifyToken.js
npm notice 10.5kB dist/commands/admissionCommands.js
npm notice 21.2kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.4kB dist/commands/agentSkillCommands.js
npm notice 42.1kB dist/commands/agentValidation.js
npm notice 31.2kB dist/commands/automationCommands.js
npm notice 76.5kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 9.1kB dist/commands/deploy/flyBrowserAuth.js
npm notice 7.6kB dist/commands/deploy/flyctlBackend.js
npm notice 19.7kB dist/commands/deploy/flyDeployRunner.js
npm notice 1.7kB dist/commands/deploy/flyGeneratedSecrets.js
npm notice 7.3kB dist/commands/deploy/flyIntake.js
npm notice 8.0kB dist/commands/deploy/flyLaunchToml.js
npm notice 13.6kB dist/commands/deploy/flyLegacyDocker.js
npm notice 21.8kB dist/commands/deploy/flyMachineConfig.js
npm notice 7.8kB dist/commands/deploy/flyMachinesApi.js
npm notice 2.7kB dist/commands/deploy/flyOrgPlan.js
npm notice 9.9kB dist/commands/deploy/flyRelay.js
npm notice 2.3kB dist/commands/deploy/flyStaleMachineConfig.js
npm notice 27.8kB dist/commands/deployFly.js
npm notice 12.2kB dist/commands/eventCommands.js
npm notice 5.5kB dist/commands/githubAppApi.js
npm notice 27.7kB dist/commands/githubAppCommands.js
npm notice 60.9kB dist/commands/goalCommands.js
npm notice 9.4kB dist/commands/handoffCommands.js
npm notice 3.7kB dist/commands/idleShutdownCheck.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 8.6kB dist/commands/implementCommands.js
npm notice 2.1kB dist/commands/index.js
npm notice 8.5kB dist/commands/initCommands.js
npm notice 14.5kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 3.1kB dist/commands/piConfiguredAgentCheck.js
npm notice 26.5kB dist/commands/planCommands.js
npm notice 3.1kB dist/commands/prCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 41.4kB dist/commands/repoCommands.js
npm notice 2.7kB dist/commands/repoValidate.js
npm notice 7.7kB dist/commands/runtimeCommands.js
npm notice 19.8kB dist/commands/settingCommands.js
npm notice 5.6kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.7kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 37.5kB dist/commands/setup/hostActions.js
npm notice 3.2kB dist/commands/setup/imagePlatform.js
npm notice 27.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.8kB dist/commands/startCommand.js
npm notice 4.8kB dist/commands/statsCommands.js
npm notice 4.9kB dist/commands/statsCostCommand.js
npm notice 15.2kB dist/commands/systemCommands.js
npm notice 3.5kB dist/commands/tankCommands.js
npm notice 47.6kB dist/commands/taskCommands.js
npm notice 29.7kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 27.3kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 46.0kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 13.3kB dist/desktopLocalSetup.js
npm notice 17.4kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 14.4kB dist/orchestrator/index.js
npm notice 302B dist/orchestrator/manifest.json
npm notice 137.8kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 6.2kB dist/rootHelp.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 8.9kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.6kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.4kB dist/tui/render.js
npm notice 32.5kB dist/tui/SetupApp.js
npm notice 18.4kB dist/tui/SetupApp.test.js
npm notice 8.4kB dist/tui/StartApp.js
npm notice 3.8kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 717B dist/utils/localSetupPlatform.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 65.8kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 11.1kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 27.5kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 13.2kB dist/vendor/shared/acceptanceCriteria.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 7.7kB dist/vendor/shared/activityEvents.js
npm notice 2.8kB dist/vendor/shared/agentConfigRedaction.js
npm notice 3.0kB dist/vendor/shared/agentCredentials.js
npm notice 4.4kB dist/vendor/shared/agentDefinitions.js
npm notice 1.0kB dist/vendor/shared/agentExecutionCapabilities.js
npm notice 2.3kB dist/vendor/shared/agentFailureLine.js
npm notice 8.4kB dist/vendor/shared/agentLogin.js
npm notice 3.8kB dist/vendor/shared/agentRuntimeCapabilities.js
npm notice 3.1kB dist/vendor/shared/agentTank.js
npm notice 1.2kB dist/vendor/shared/agentTankHistory.js
npm notice 2.8kB dist/vendor/shared/analyticsTimeframe.js
npm notice 4.6kB dist/vendor/shared/antigravityCompatibility.js
npm notice 3.5kB dist/vendor/shared/antigravityKeyringLogin.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 3.5kB dist/vendor/shared/assignment.js
npm notice 17.4kB dist/vendor/shared/automationDefinitions.js
npm notice 9.2kB dist/vendor/shared/automationReportPreview.js
npm notice 2.4kB dist/vendor/shared/automationRunProductivity.js
npm notice 6.4kB dist/vendor/shared/automationTemplateContract.js
npm notice 18.5kB dist/vendor/shared/automationTemplates.catalog.json
npm notice 1.3kB dist/vendor/shared/automationTemplates.js
npm notice 3.4kB dist/vendor/shared/changedFileKinds.js
npm notice 1.4kB dist/vendor/shared/claudeCompatibility.js
npm notice 12.1kB dist/vendor/shared/commitSubject.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 9.6kB dist/vendor/shared/cronSchedule.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 8.9kB dist/vendor/shared/events.js
npm notice 13.4kB dist/vendor/shared/extensionLibrary.js
npm notice 703B dist/vendor/shared/extensionOAuth.js
npm notice 4.0kB dist/vendor/shared/extensionPackages.js
npm notice 2.9kB dist/vendor/shared/extensionProfiles.js
npm notice 2.7kB dist/vendor/shared/fleetData.js
npm notice 2.3kB dist/vendor/shared/flyLaunch.js
npm notice 2.5kB dist/vendor/shared/githubAppManifest.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 7.4kB dist/vendor/shared/githubDeviceFlow.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 12.8kB dist/vendor/shared/goalBlockers.js
npm notice 6.0kB dist/vendor/shared/goalCheckpoints.js
npm notice 4.0kB dist/vendor/shared/goalCreation.js
npm notice 5.2kB dist/vendor/shared/goalWait.js
npm notice 10.0kB dist/vendor/shared/idleShutdown.js
npm notice 16.1kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 584B dist/vendor/shared/instanceStorage.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 22.9kB dist/vendor/shared/modelDefinitions.js
npm notice 3.5kB dist/vendor/shared/notificationLinks.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 2.9kB dist/vendor/shared/openCodeCompatibility.js
npm notice 3.7kB dist/vendor/shared/piAuthStore.js
npm notice 4.3kB dist/vendor/shared/piModelDiscovery.js
npm notice 1.7kB dist/vendor/shared/piProviders.js
npm notice 16.9kB dist/vendor/shared/planItemGraph.js
npm notice 7.5kB dist/vendor/shared/previewStorage/v1.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 884B dist/vendor/shared/proprRuntimePaths.js
npm notice 13.5kB dist/vendor/shared/proprServiceUrls.js
npm notice 17.0kB dist/vendor/shared/prTemplate.js
npm notice 6.9kB dist/vendor/shared/prTitleStatusSlot.js
npm notice 2.2kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 3.0kB dist/vendor/shared/reasoningLevels.js
npm notice 1.8kB dist/vendor/shared/repositoryEvents.js
npm notice 6.7kB dist/vendor/shared/repositoryEventWait.js
npm notice 1.2kB dist/vendor/shared/repositoryIcon.js
npm notice 1.4kB dist/vendor/shared/repositoryIconUrl.js
npm notice 3.9kB dist/vendor/shared/repositoryPresentation.js
npm notice 10.4kB dist/vendor/shared/reviewContextBudget.js
npm notice 5.8kB dist/vendor/shared/reviewFeedbackIds.js
npm notice 2.7kB dist/vendor/shared/reviewPrompt.js
npm notice 907B dist/vendor/shared/runCostCap.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 392B dist/vendor/shared/sqliteTimestamp.js
npm notice 1.5kB dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 2.0kB dist/vendor/shared/taskLifecycle.js
npm notice 733B dist/vendor/shared/taskReplacement.js
npm notice 957B dist/vendor/shared/text.js
npm notice 2.6kB dist/vendor/shared/tokenOutlierSettings.js
npm notice 1.9kB dist/vendor/shared/ultrafixCycle.js
npm notice 1.8kB dist/vendor/shared/unfinishedRun.js
npm notice 9.8kB dist/vendor/shared/usageTips.catalog.json
npm notice 5.0kB dist/vendor/shared/usageTips.js
npm notice 335B dist/vendor/shared/usageTypes.js
npm notice 609B dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 828B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.9.3
npm notice filename: propr-cli-0.9.3.tgz
npm notice package size: 621.9 kB
npm notice unpacked size: 2.4 MB
npm notice shasum: 9b05b2427a37ce5baca84bd5b30d6ebbc9496e1e
npm notice integrity: sha512-ZzcgQDp7nxdVC[...]OBfGKv9DTQNZw==
npm notice total files: 247
npm notice
propr-cli-0.9.3.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
✅ Core Lint passed
✅ Core Source Build passed

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed
✅ Docs Static Serving Check passed

--- API: Build & Lint ---
✅ API Build passed
❌ API Lint FAILED

> @propr/[email protected] lint
> eslint . --max-warnings 0


/home/runner/work/propr/propr/packages/api/server.ts
  721:1  warning  Async function 'start' has a complexity of 22. Maximum allowed is 20  complexity

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/propr/propr/packages/api
npm error workspace @propr/[email protected]
npm error location /home/runner/work/propr/propr/packages/api
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- API Reference: OpenAPI Spec & Client Contract ---
✅ OpenAPI spec is current and valid
✅ @propr/client matches the OpenAPI spec

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: failure
Chromium install: skipped
PWA and mobile browser smoke: skipped

View Workflow

@propr-dev

propr-dev Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate Changes

Please investigate and fix this CI failure.

Failure evidence

.github:8
Process completed with exit code 1.

.github:414
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit e48215b

Processed 2 comments:

  • Comment 1 by @github-actions[bot] (ID: 7280496999✓)
  • Comment 2 by @propr-dev[bot] (ID: 7280497904✓)

Summary of Changes

Fixed the Validate Changes lint failure in server.ts. Moving Fly handoff route registration into a helper reduced start() complexity from 22 to 20 while preserving the demo-mode guard and route order.

The API build, zero-warning lint check, and all 50 Fly wizard and route-wiring tests passed locally.

A separate assertion in allInOneConfig.test.ts still fails because it expects the startApiServer call to omit the Fly setup option already introduced by this PR.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • packages/api/server.ts (+7/−1)
  • Low risk: none

Diff size: 1 file changed, +7/−1 lines


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @github-actions[bot], @propr-dev[bot]
  • Time: 5m 9s
  • Tokens: 807,418 (804,912 in / 2,506 out)
  • Cost: $0.18
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 7280496999✓, 7280497904✓

Fixed the `Validate Changes` lint failure in [server.ts](/home/node/workspace/packages/api/server.ts:721). Moving Fly handoff route registration into a helper reduced `start()` complexity from 22 to 20 while preserving the demo-mode guard and route order.

The API build, zero-warning lint check, and all 50 Fly wizard and route-wiring tests passed locally.

A separate assertion in [allInOneConfig.test.ts](/home/node/workspace/test/allInOneConfig.test.ts:78) still fails because it expects the `startApiServer` call to omit the Fly setup option already introduced by this PR.

PR: #3924
Comment by: @github-actions[bot] (ID: 7280496999)
Comment by: @propr-dev[bot] (ID: 7280497904)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 1/4, Run Full Test Suite

Please investigate and fix these CI failures.

  • Check: Full Test Suite Shard 1/4
  • Result: failure
  • Commit: e48215b6746a (e48215b6746ab944b6ba522f8268b8c653f35890)
  • Run: View CI failure

Failure evidence

No failure output was provided by the CI service.


Depends on the failed job(s): Full Test Suite Shard 1/4. It may have failed only because they did; check them first.

Failure evidence

.github:68
Process completed with exit code 1.

.github:66
Full test suite shards finished with result 'failure'.

.github:4
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960, actions/download-artifact@018cc2c. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit f1e5e82

Summary of Changes

Fixed the only failure reported by Full Test Suite Shard 1/4. The all-in-one startup test still verifies that the API starts with installSignalHandlers: false and now allows the Fly setup session option alongside it. CI job

All 77 targeted tests passed locally on Node.js 24.22.3, matching CI. The full shard has yet to rerun.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk: none
  • Low risk (1 file)
    • test/allInOneConfig.test.ts (+1/−1)

Diff size: 1 file changed, +1/−1 lines


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @propr-dev[bot]
  • Time: 5m 25s
  • Tokens: 763,224 (760,921 in / 2,303 out)
  • Cost: $0.17

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 7281312636✓

Fixed the only failure reported by Full Test Suite Shard 1/4. The [all-in-one startup test](/home/node/workspace/test/allInOneConfig.test.ts:78) still verifies that the API starts with `installSignalHandlers: false` and now allows the Fly setup session option alongside it. [CI job](https://github.com/integry/propr/actions/runs/46433871618/job/141900520560)

All 77 targeted tests passed locally on Node.js 24.22.3, matching CI. The full shard has yet to rerun.

PR: #3924
Comment by: @propr-dev[bot] (ID: 7281312636)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) ✅ [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) Nov 30, 2026

integry commented Nov 30, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ✅ [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) 🔨 [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) Nov 30, 2026
@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR is ready to merge within the reviewed scope. It reuses the enrollment identity for administrator confirmation and transfers that identity into a dashboard session without retaining the GitHub token. The changes are proportionate to the objective.

✅ Bounded browser handoff — The handoff uses a random secret, a scoped HttpOnly cookie, expiration, single-use consumption, and administrator and whitelist checks.

✅ Account switching remains verified — A replacement administrator must pass installation-access verification, with ownership checks after asynchronous verification and during configuration commit.

✅ Relevant regression coverage — Added tests cover automatic dashboard sign-in, account switching, token fallback, expired handoffs, replay rejection, and unauthenticated browsers.

This assessment uses static review of the supplied code; no commands were run. Current-head checks report 16 passed and no failures, superseding the historical lint failure.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Test environment override invalidation

Consider adding focused coverage for src/flyLaunch.ts clearing the handoff when Fly secrets override the verified installation, relay, or authentication mode. The guard implements a useful security boundary, but the supplied new tests do not directly exercise it. This is optional coverage for an existing protection, not a demonstrated defect.

Score

The implementation meets the stated objective with appropriate authentication boundaries and substantial regression coverage. No merge blockers were established, and current-head checks are passing.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 29s
  • Tokens: 66,931 (66,490 in / 441 out)
  • Cost: $0.58

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title 🔨 [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) ✅❾ [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) Nov 30, 2026
@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from 3758-epic-runtime-abstraction-sc0 into 3923/gpt-6.2-sol-fly-setup-wizard-one-gith-20261130-1333-e3p in commit 86d2b0d

Conflicting Files

  • docs/docs/tutorials/setup-fly.md
  • src/flyLaunch/setupWizard.ts
  • test/flyLaunchWizard.test.ts

Resolution Summary

Resolved all three merge conflicts for PR #3924 in the workspace. A repository-wide scan found no remaining conflict markers. TypeScript type checking, git diff --check, and all 75 Fly Launch tests passed.

  • Fly setup guide — The branches differed on the idle shutdown default and the sign-in instructions. The guide now matches the merged wizard’s checked-by-default setting and explains both sign-in paths. The ProPR App signs the verified administrator in automatically, while a custom GitHub App requires sign-in when the dashboard opens.
  • Setup wizard — The target branch shared error handling between Finish and the other setup steps, while the PR logged only the route for unexpected failures. The shared handler now uses route-only logging in both places, preserving actionable setup messages and keeping raw exception text out of the logs. Finish still preserves the submitted choices on a retry and issues the dashboard session after successful setup.
  • Wizard tests — Both branches changed the same Finish test. It now verifies the checked idle shutdown default and updated Connect copy alongside the PR’s single device sign-in and claimant-only dashboard access. It also verifies that Connect receives the wake URL.

Git still lists the three paths as unresolved in its index because the read-only filesystem prevented git add from creating index.lock. The resolved file contents are in the workspace.


🤖 Resolution Details

  • Model: GPT-6.2 Sol
  • Time: 5m 37s

View Task Execution


System-triggered merge conflict resolution

@propr-dev propr-dev Bot changed the title ✅❾ [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) 🔨 [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) Nov 30, 2026

integry commented Nov 30, 2026

Copy link
Copy Markdown
Owner

/merge

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- docs/docs/tutorials/setup-fly.md
- src/flyLaunch/setupWizard.ts
- test/flyLaunchWizard.test.ts

PR: #3924
Model: GPT-6.2 Sol
@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Auto-merged 3758-epic-runtime-abstraction-sc0 into 3923/gpt-6.2-sol-fly-setup-wizard-one-gith-20261130-1333-e3p (clean merge) in commit 86d2b0d

No conflicts were found — the merge was verified by an AI agent.


🤖 Verification Details

  • Model: GPT-6.2 Sol
  • Time: 3m 22s

View Task Execution


System-triggered merge conflict resolution

@propr-dev propr-dev Bot changed the title 🔨 [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) ✅❾ [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) Dec 1, 2026
@integry
integry merged commit 58892a1 into 3758-epic-runtime-abstraction-sc0 Dec 1, 2026
50 of 78 checks passed
@propr-dev propr-dev Bot changed the title ✅❾ [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) [3923 by GPT-6.2 Sol] Fly setup wizard: one GitHub device sign-in for enrollment, first administrator and dashboard login (not three) Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant