Skip to content

[3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords - #3930

Merged
integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3929/gpt-6.2-sol-fly-setup-wizard-token-ad-20261130-1744-kj3
Dec 1, 2026
Merged

integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3929/gpt-6.2-sol-fly-setup-wizard-token-ad-20261130-1744-kj3

Conversation

@propr-dev

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

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3929

Branch: 3929/gpt-6.2-sol-fly-setup-wizard-token-ad-20261130-1744-kj3
Commits: ✅ Changes committed (2fb82e2)


AI Processing Completed

Execution Details:

Summary:
Updated the Fly wizard to explain the Create Token flow, optional scoping in the token’s settings dropdown, and where to paste the token. The exact instance prefix stays copyable on one line. New setups use a two-Sprite pool and recommend a token limit of three to leave room for an interactive login if the pool is expanded.

Wizard and dashboard secret fields now use masked text inputs with show/hide controls and password-manager opt-outs. Wizard responses leave submitted secrets out of the rendered page.

43 wizard tests, 38 dashboard tests, 13 Chromium browser tests, and both type checks passed. Captured two visual previews. Native password-save prompts remain unverified.

Review digest

Risk-tiered paths

  • High risk (3 files)
    • propr-ui/src/pages/SettingsPage/AgentPastedCredentials.tsx (+4/−7): auth-looking path
    • propr-ui/src/pages/SettingsPage/VisualPreviewAuthSection.tsx (+7/−7): auth-looking path
    • propr-ui/src/pages/SettingsPage/extensions/ExtensionOAuthFields.tsx (+11/−7): auth-looking path
  • Normal risk (9 files)
    • propr-ui/src/pages/SettingsPage/MistralApiKeyField.tsx (+11/−23)
    • propr-ui/src/pages/SettingsPage/PiAgentFields.tsx (+9/−21)
    • propr-ui/src/pages/SettingsPage/SecretInput.tsx (added, +52/−0)
    • propr-ui/src/pages/SettingsPage/extensions/ExtensionPackageFields.tsx (+9/−5)
    • propr-ui/src/pages/SettingsPage/extensions/ExtensionServerFields.tsx (+10/−6)
    • src/flyLaunch/runtimeValidation.ts (+3/−2)
    • src/flyLaunch/setupLayout.ts (+25/−4)
    • src/flyLaunch/setupPages.ts (+5/−5)
    • src/flyLaunch/setupRuntimePage.ts (+16/−10)
  • Low risk (2 files)
    • propr-ui/src/pages/SettingsPage/AgentPastedCredentials.test.tsx (+10/−1)
    • test/flyLaunchWizard.test.ts (+41/−6)

Diff size: 14 files changed, +213/−104 lines

View task for the run's logs and conversation.


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


💡 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

Dashboard token entry

Dashboard token entry

The visual preview upload settings show the masked GitHub token field and visibility control.

Full-size original

Fly Sprites token setup

Fly Sprites token setup

The wizard shows how to create a token, scope it in Fly, and paste it into the masked field.

Full-size original

Updated the Fly wizard to explain the Create Token flow, optional scoping in the token’s settings dropdown, and where to paste the token. The exact instance prefix stays copyable on one line. New setups use a two-Sprite pool and recommend a token limit of three to leave room for an interactive login if the pool is expanded.

Wizard and dashboard secret fields now use masked text inputs with show/hide controls and password-manager opt-outs. Wizard responses leave submitted secrets out of the rendered page.

43 wizard tests, 38 dashboard tests, 13 Chromium browser tests, and both type checks passed. Captured two visual previews. Native password-save prompts remain unverified.

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 4/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 4/4
  • Result: failure
  • Commit: 2fb82e221ca2 (2fb82e221ca2890cd30bc9fb03506991345cd221)
  • Run: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:26462
Process completed with exit code 1.

propr-ui/src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx:111 — src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx > local package servers > a secret variable shows the container warning and cannot be saved until acknowledged; its value is write-only
Error: expect(element).toHaveAttribute("type", "password") // element.getAttribute("type") === "password"

Expected the element to have attribute:
type="password"
Received:
type="text"
❯ src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx:111:55

@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 2da0739

Summary of Changes

Fixed the reported Shard 4/4 failure by updating ExtensionPackageServer.test.tsx to verify the intended masked text input, including show/hide behavior and disabled autocomplete. The test still verifies that saving requires acknowledgement and that the secret is write-only.

All 443 Settings tests and all 1,034 tests in the affected UI partition passed locally. The full CI shard was not rerun. The change is test-only.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk: none
  • Low risk (1 file)
    • propr-ui/src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx (+10/−2)

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


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @propr-dev[bot]
  • Time: 5m 14s
  • Tokens: 770,485 (768,333 in / 2,152 out)
  • Cost: $0.15

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: 7287636470✓

Fixed the reported Shard 4/4 failure by updating [ExtensionPackageServer.test.tsx](/home/node/workspace/propr-ui/src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx:110) to verify the intended masked text input, including show/hide behavior and disabled autocomplete. The test still verifies that saving requires acknowledgement and that the secret is write-only.

All 443 Settings tests and all 1,034 tests in the affected UI partition passed locally. The full CI shard was not rerun. The change is test-only.

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

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords ✅ [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords Nov 30, 2026

integry commented Nov 30, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ✅ [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords 🔨 [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords 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 merge-ready within the reviewed scope. It clarifies Sprites setup, aligns the initial pool capacity with the shared runtime, and consolidates secret-entry controls without changing credential submission contracts. Review was limited to static analysis of the supplied diff and surrounding context; no commands were run.

✅ Consistent pool configuration — Setup saves PROPR_SPRITES_MAX=2 while retaining worker concurrency of one; interactive logins use the same pool.

✅ Secrets stay out of responses — Failed runtime validation preserves only non-secret fields, with an added assertion that the submitted token is absent from the returned page.

✅ Reusable secret controls — Dashboard fields retain their labels and submission callbacks while gaining shared visibility controls and password-manager opt-outs.

Merge blockers

No merge blockers.

Suggestions

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

S1: 🟢 Verify browser-level secret handling

The added tests primarily assert input attributes and masking classes. A follow-up browser test for computed masking, multiline credentials, and show/hide behavior would provide stronger evidence that SecretInput.tsx behaves as intended. Manual verification of native password-save prompts would also close the limitation acknowledged in the implementation summary. These are optional validation improvements; the supplied code does not establish a failure.

Score

The implementation is focused and consistent with the supplied caller contracts, with no verified merge blockers. Current-head checks report 15 passed and no failures; native password-manager behavior remains unverified.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 22s
  • Tokens: 57,605 (57,180 in / 425 out)
  • Cost: $0.48

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 🔨 [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords ✅❾ [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords 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 3929/gpt-6.2-sol-fly-setup-wizard-token-ad-20261130-1744-kj3 in commit ffdb375

Conflicting Files

  • src/flyLaunch/runtimeValidation.ts
  • src/flyLaunch/setupRuntimePage.ts
  • test/flyLaunchWizard.test.ts

Resolution Summary

Resolved all four conflict blocks across the three files for PR #3930. A workspace-wide scan found no remaining merge conflict markers.

  • Sprites runtime defaults. Both branches selected a two-Sprite pool but differed on worker concurrency. I used the target branch’s shared default of 2 for both PROPR_SPRITES_MAX and WORKER_CONCURRENCY. The merged runtime reserves a dedicated Sprite for interactive login, so two tasks can run in parallel while login capacity remains available. runtimeValidation.ts
  • Sprites token setup. Both branches revised the token instructions. I kept the PR’s step-by-step creation and optional scoping flow, exact instance prefix, and masked token field. I updated the capacity guidance to explain that the recommended cap of three covers two task Sprites and one dedicated login Sprite. setupRuntimePage.ts
  • Wizard tests. One conflict covered the rendered token instructions, and the other covered saved worker concurrency. I kept the PR’s token-flow checks, updated the capacity assertions to match the merged runtime, and retained the target branch’s assertion that the wizard saves WORKER_CONCURRENCY=2. flyLaunchWizard.test.ts

TypeScript type checking, the whitespace check, and all 56 Fly wizard and launch layout tests passed. Git still lists the three paths as unresolved in its index because the linked worktree’s read-only filesystem prevented git add from creating index.lock.


🤖 Resolution Details

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

View Task Execution


System-triggered merge conflict resolution

@propr-dev propr-dev Bot changed the title ✅❾ [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords 🔨 [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords Nov 30, 2026
@integry

integry commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Conflict note for the resolution: the epic now has #3927, which sets PROPR_SPRITES_MAX and WORKER_CONCURRENCY to the same parallel value (2). Keep #3927's runtime env line (do not reintroduce WORKER_CONCURRENCY: '1'), and make the wizard's 'why' text and DEFAULT_SETUP_SPRITES_MAX use #3927's constant/value instead of a second definition, so both say a pool of 2 with 2 parallel tasks.

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:
- src/flyLaunch/runtimeValidation.ts
- src/flyLaunch/setupRuntimePage.ts
- test/flyLaunchWizard.test.ts

PR: #3930
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 3929/gpt-6.2-sol-fly-setup-wizard-token-ad-20261130-1744-kj3 (clean merge) in commit ffdb375

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


🤖 Verification Details

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

View Task Execution


System-triggered merge conflict resolution

@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit e576ac7

Summary of Changes

The Fly wizard’s “Why?” disclosure now says setup starts with a pool of 2 Sprites for up to 2 parallel tasks. It uses #3927’s shared default, which also sets PROPR_SPRITES_MAX and WORKER_CONCURRENCY to 2.

All 43 wizard tests passed. Captured the expanded disclosure in Chromium.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • src/flyLaunch/setupRuntimePage.ts (+1/−1)
  • Low risk (1 file)
    • test/flyLaunchWizard.test.ts (+1/−1)

Diff size: 2 files changed, +2/−2 lines

Visual preview

Fly Sprites setup defaults

Fly Sprites setup defaults

The expanded Why? disclosure shows a pool of 2 Sprites for up to 2 parallel tasks.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @integry
  • Time: 4m 10s
  • Tokens: 434,783 (432,686 in / 2,097 out)
  • Cost: $0.18

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: 7295200531✓

The Fly wizard’s “Why?” disclosure now says setup starts with a pool of 2 Sprites for up to 2 parallel tasks. It uses #3927’s shared default, which also sets `PROPR_SPRITES_MAX` and `WORKER_CONCURRENCY` to `2`.

All 43 wizard tests passed. Captured the expanded disclosure in Chromium.

PR: #3930
Comment by: @integry (ID: 7295200531)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords ✅❾ [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords Dec 1, 2026
@integry
integry merged commit 2979cc4 into 3758-epic-runtime-abstraction-sc0 Dec 1, 2026
39 checks passed
@propr-dev propr-dev Bot changed the title ✅❾ [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords [3929 by GPT-6.2 Sol] Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords 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