Skip to content

fix(cms): validate streamed article markup after deploy - #59

Merged
seoJing merged 1 commit into
mainfrom
fix/public-readback-streamed-html
Oct 8, 2026
Merged

seoJing merged 1 commit into
mainfrom
fix/public-readback-streamed-html

Conversation

@seoJing

@seoJing seoJing commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Why

The Worker deployment succeeded, but the post-deploy HTML readback gate failed: client quiz/image markup is emitted in React streaming chunks after the initial article container. A live browser confirms both elements render correctly; the old checker only scanned the initial container.

Change

Follow React streaming placeholder-to-chunk links rooted in the article body, including nested chunks. Keep rejecting unrelated page chunks and fallback markers.

Verification

  • Four targeted Node tests pass, including streamed and unrelated chunks.
  • Local readback against the deployed Worker passes: 201 articles and all three sentinel pages.
  • Browser DOM contains the quiz and image on the Day 5 page.

Co-authored-by: seoJing <68586661+seoJing@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: seoJing/SEOJing/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 496f856e-cbb7-434b-87c8-782a8ffaf452
📥 Commits

Reviewing files that changed from the base of the PR and between 7b8acac and a985ada.

📒 Files selected for processing (2)
  • apps/web/scripts/check-public-blog-readback.mjs
  • apps/web/scripts/check-public-blog-readback.test.mjs
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@seoJing
seoJing merged commit b472cde into main Oct 8, 2026
5 checks 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