Skip to content

Follow-up to #76: block-inspector precedence test, ROADMAP truth-up - #78

Merged
jakemgold merged 1 commit into
mainfrom
chore/qa-followup-test-and-roadmap
Aug 2, 2026
Merged

Follow-up to #76: block-inspector precedence test, ROADMAP truth-up#78
jakemgold merged 1 commit into
mainfrom
chore/qa-followup-test-and-roadmap

Conversation

@jakemgold

Copy link
Copy Markdown
Collaborator

Lands the two follow-ups from the #76 review, plus one piece of local-tooling hygiene.

Regression test for the precedence fix

#76's change to loadBlockInspectorPref shipped with no coverage; the review verified empirically that reintroducing the exact bug the new guard prevents (explicit per-origin false falling through to a _global true) passed the whole suite. New content-lifecycle block [41] closes that: it stubs WPDBlockInspector on the harness context and asserts all four precedence outcomes through the real content script. The suite is now 286 assertions; the injected-regression check fails as intended with the new block in place.

ROADMAP accuracy

Store states an external contributor cannot see from the repo:

  • v0.11.x status now reads "readiness complete; CWS submission approved, publication pending" — the unlisted Chrome Web Store submission is approved but has not been published, so "shipped" overstated it.
  • The Safari row moves the App Store Connect record, listing assets, and the submitted 1.0.0 build into Done, with App Review outcome as the remaining gate; status is now "in review". The store-readiness checklist ticks the bundle-identifier rename (Safari: move bundle identifiers to org.wordpress.browserextension #72) and the publisher account to match.

eslint ignore for build/

build/ (gitignored since #75) holds the App Store archive and exported installer. The archived .app contains copies of the shipped bundles, so a local archive breaks npm run lint with ~175 errors on files that are not lintable source. Added to the eslint ignores alongside safari-build/.

No runtime changes; dist/ untouched.

🤖 Generated with Claude Code

Adds the regression test the #76 review flagged as missing: content
lifecycle block [41] exercises loadBlockInspectorPref's precedence
through the real content script — a _global default alone enables, an
explicit per-origin false beats a _global true, per-origin true enables
on its own, and nothing set leaves the inspector off. Verified the suite
catches the guard regression it targets (replacing the typeof guard with
a truthy check fails the new block).

Corrects ROADMAP store states not visible outside the maintainer
dashboards: v0.11.x reads as approved-pending-publication rather than
shipped (the unlisted CWS submission is approved but not published);
the Safari row and checklist reflect the App Store Connect record,
listing assets, and 1.0.0 build now sitting in App Review, with the
bundle-identifier rename (#72) and publisher account ticked off.

Also ignores build/ in eslint, matching .gitignore: the App Store
archive parked there carries .app copies of the bundles that are not
lintable source, and a local archive otherwise breaks npm run lint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jakemgold
jakemgold requested a review from fabiankaegy as a code owner August 2, 2026 01:59
@jakemgold
jakemgold merged commit 565b6f5 into main Aug 2, 2026
1 check passed
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