Skip to content

fix(app): remove duplicated connection block from stacked-PR merge - #22

Merged
jack-arturo merged 1 commit into
mainfrom
fix/dedupe-stacked-merge
Jun 11, 2026
Merged

jack-arturo merged 1 commit into
mainfrom
fix/dedupe-stacked-merge

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

What

Main's build is red: merging stacked PRs #19 → #20 re-applied the connection-visibility block (connectionToastShownRef / handleReenterCredentials / connectionInfo / isAuthError) a second time in App.tsx, breaking tsc -b with TS2451 redeclarations and failing the Docker image build.

Why: #20's branch still carried the rebased #19 commits. After #19 squash-merged, #20's merge diff included those changes again — most applied as no-ops, but this block landed in a shifted context and duplicated.

Fix

Removed the second copy. Verified src/ on this branch is now byte-identical to the reviewed #20 branch tip (git diff archive/feat/ux-expansion-visible-… -- src/ → empty), so main ends up exactly at the state both reviews approved.

  • ✅ npx tsc -b clean
  • ✅ npm run lint — 0 errors, 14 warnings (baseline)
  • ✅ npm run build green

🤖 Generated with Claude Code

Merging stacked PRs #19 and #20 re-applied the connection-visibility block
(connectionToastShownRef / handleReenterCredentials / connectionInfo /
isAuthError) a second time — #20's branch still carried the rebased #19
commits, and after #19's squash-merge the second merge duplicated the block
in a shifted context, breaking tsc (TS2451 redeclarations) and the image
build. src/ now matches the reviewed #20 branch tip exactly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 11, 2026 21:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes an accidentally duplicated “connection visibility & auth recovery” block in App.tsx that was re-applied during stacked PR merges, causing TS2451 redeclaration errors and breaking the build.

Changes:

  • Deleted the second (duplicate) definitions of connectionToastShownRef, handleReenterCredentials, connectionInfo, and isAuthError in src/App.tsx.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jack-arturo
jack-arturo merged commit 075fff5 into main Jun 11, 2026
3 checks passed
@jack-arturo
jack-arturo deleted the fix/dedupe-stacked-merge branch June 11, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants