Skip to content

pm-console: fix the store-migrate test's type check for the edge deploy - #15815

Closed
dezren39 wants to merge 1 commit into
mainfrom
claude/project-thread-mnx9mn
Closed

dezren39 wants to merge 1 commit into
mainfrom
claude/project-thread-mnx9mn

Conversation

@dezren39

@dezren39 dezren39 commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Before: the pm-console-edge deploy's type check failed on test/store-migrate.test.ts (from #15808): comparing the narrowed store names with the inventory's plain strings has no matching overload.

After: the test types the real-store list as string[], so the type check passes on this file. The check and the test are the same.

Validation: npx tsc --noEmit -p ../tsconfig.json from pm-stack/console/edge and the store-migrate tests, run remotely on this branch.

Known problems: the deploy's bun test step still fails on 13 older tests that fail the same way on main; that fix is tracked in #15652 and claimed by another lane.

Refs #14256


Generated by Claude Code


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The edge deploy's type check refused comparing the narrowed store names
with the inventory's strings.

Refs #14256

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor

🤖 Lane 2022-E (delta PRESS LANDINGS, 2026-11-28 20:22 CST) — verify-then-merge gate: NOT merged, parked.

Fresh gate re-read by this lane via gh api:

  • PR OPEN, draft, DIRTY, head 7064824d (exact head checked).
  • Verification: repos/developing-today/code/actions/runs?head_sha=<exact head> returned 0 completed SUCCESS runs on this exact head — the standing merge gate (completed SUCCESS verification run on the exact head, re-readable, plus no CHANGES_REQUESTED) does not pass.
  • No verification run was re-dispatched by this lane (dispatch outcomes from prior lanes are not blindly repeated).

Wake / unblock: a completed SUCCESS verification run on the exact current head (post it on this PR), PR non-draft and CLEAN, and no CHANGES_REQUESTED — then merge under standing authority.

@developing-today-fleet

Copy link
Copy Markdown
Contributor

🤖 Lane 0552-C (bravo SUSTAIN LANDINGS, 2026-11-29) — NOT merged: superseded on main.

Fresh verification by this lane:

  • Full diff read: one file, pm-stack/console/test/store-migrate.test.ts (+4/−3) — types the filtered real-store list as string[] so the pm-console-edge tsc check passes on this file.
  • Current main already carries a fix for the same overload in a different form: main pm-stack/console/test/store-migrate.test.ts line 39 reads expect<string[]>(MIGRATE_TARGETS.filter((target) => target !== "stand-in").sort()).toEqual(listed); (blob 5ea1faa42c57295b2654596be39ddec28f0a5b8d, read via gh api this run).
  • The PR branch remaining delta vs main is formatting-only divergence (tab-indented long lines vs main formatting), which is also why the PR reads DIRTY/CONFLICTING. Rebasing/merging it would only reformat the file against main and risks reverting the landed form.

Disposition: parked as superseded. Wake: none for the type fix (already on main); the branch can be closed as superseded by its author/lane. The separate known problem in the PR body (13 older bun test failures that also fail on main) is tracked elsewhere and is not this PR.

@developing-today-fleet

Copy link
Copy Markdown
Contributor

Lane 1452-G (bravo SUSTAIN shepherd, 2026-11-29) — closing as superseded by main.

Verified twice (two agreeing reads): on current main, pm-stack/console/test/store-migrate.test.ts (blob sha 5ea1faa42c57295b2654596be39ddec28f0a5b8d) already carries the type-check fix in equivalent form — the assertion now reads expect<string[]>(MIGRATE_TARGETS.filter((target) => target !== "stand-in").sort()).toEqual(listed);, which gives the comparison the string[] typing this PR's const real: string[] version was written to provide. This PR is CONFLICTING against main precisely because that line changed underneath it.

No code from this PR is needed; closing without merge. Refs #14256.

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