Skip to content

fix(compat): πŸ”§ refresh the compat baseline - #1101

Closed
binggg wants to merge 1 commit into
mainfrom
fix/compat-baseline-guides-refresh
Closed

binggg wants to merge 1 commit into
mainfrom
fix/compat-baseline-guides-refresh

Conversation

@binggg

@binggg binggg commented Sep 24, 2026

Copy link
Copy Markdown
Member

What

Regenerate config/source/editor-config/compat-baseline.json against the current generated set (1,654 files: 15 machine configs / 1,639 text surfaces).

Why

Two changes rewrote generated surfaces after the baseline was last regenerated, and neither regenerated it:

  • The guideline entry projected into every IDE rule file (AGENTS.md, CLAUDE.md, .cursor/rules/…) moved with the frontend deploy guidance β€” 18 aggregated guide surfaces.
  • The miniprogram-development skill gained its account/subject and environment preflight, which moved its three files across each of the eleven IDE targets β€” 33 surfaces.

Both groups carry hashMode: report, so the drift never failed a check. It only left 51 entries stale in every diff report, which is exactly the noise that hides the next real regression. Re-recording them now keeps the report meaningful.

Text surfaces are unchanged in count (1,639 expected / 1,639 generated), so this is a hash re-record only β€” no file was added or dropped.

How verified

  • node scripts/diff-compat-config.mjs β†’ No compatibility diffs found.
  • node scripts/check-compat-baseline-sync.mjs --base origin/main β†’ OK: no version declaration changed
  • npx vitest run tests/compat-baseline.test.js β†’ 3 passed
  • node scripts/check-internal-refs.mjs --base origin/main β†’ OK

Two merged changes rewrote generated surfaces after the baseline was last
regenerated, and neither regenerated it.

The guideline entry that is projected into every IDE rule file (AGENTS.md,
CLAUDE.md, .cursor/rules/…) changed with the frontend deploy guidance,
which moved the 18 aggregated guide surfaces. The miniprogram-development
skill gained its account/subject and environment preflight, which moved its
three files across each of the eleven IDE targets (33 surfaces).

Both groups carry hashMode: report, so the drift never failed a check β€” it
only made 51 entries in every diff report stale. Re-recording them keeps
the report meaningful for the next real regression.

Verified: diff-compat-config reports no compatibility diffs; the baseline
freshness check passes; the compat baseline unit tests pass.
@binggg

binggg commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

Closing as superseded. The compat baseline on main has since been regenerated (current generatedAt 2026-09-28T08:53) and carries 22 more entries than this branch β€” the cloud-api-operations recipe files added afterwards. This branch has no entries that main lacks, and all 67 differing hashes are older, so merging it would revert the baseline. No further action needed here.

@binggg binggg closed this Sep 28, 2026
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