Skip to content

feat(connections)!: delete duplicate-grant reconcile custom flow - #732

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-7593-connections-shrink
Sep 15, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-7593-connections-shrink

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • CL-7593: shrink step for @corbits/connections toward the PKCE OAuth client + callback surface.
  • Deletes the one-time CL-7242 duplicate-grant cleanup (module, DB-gated test, export-map subpath); its era is over — repo_review_lease prevents new duplicates at write time.
  • scripts/db-setup.ts now applies migrations only; grant state stays on the native grant routes.
  • Adds a shrink-guard test pinning the entry point's absence (module file + export map).
  • Remaining shrink surface (credential stores, parallel-login lease, non-PKCE flows) still has live callers in fenced/product areas; left for follow-up caller-migration lanes.

Verification

  • RED: connections-shrink.test.ts failed before the deletion (1 fail), passes after.
  • bun test packages/connections: 396 pass, 0 fail.
  • packages/connections typecheck (tsc --noEmit): clean.
  • Repo typecheck (bun run typecheck): exit 0.
  • prettier --check + eslint on changed files: clean.
  • bun run check:structural: ok.
  • Grep for reconcileDuplicateRepoGrants|reconcile-duplicate-repo-grants: zero hits outside the guard test's absence assertions.

Fixes CL-7593

@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown

CL-7593

@TheGreatAxios
TheGreatAxios force-pushed the cl-7593-connections-shrink branch 4 times, most recently from 27c4fad to 19ec1c5 Compare September 15, 2026 22:47
@TheGreatAxios
TheGreatAxios enabled auto-merge (squash) September 15, 2026 23:06
@TheGreatAxios
TheGreatAxios force-pushed the cl-7593-connections-shrink branch from 19ec1c5 to 27f3b6b Compare September 15, 2026 23:09
@TheGreatAxios
TheGreatAxios force-pushed the cl-7593-connections-shrink branch from 27f3b6b to c254de7 Compare September 15, 2026 23:27
@TheGreatAxios
TheGreatAxios merged commit 596da82 into main Sep 15, 2026
24 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7593-connections-shrink branch September 16, 2026 00:13
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.

1 participant