Skip to content

fix(web): defer section PDFs and preserve publication metadata - #38

Open
jelkes1 wants to merge 6 commits into
superdoc:mainfrom
jelkes1:codex/ooxml-seo-aeo-20261119
Open

jelkes1 wants to merge 6 commits into
superdoc:mainfrom
jelkes1:codex/ooxml-seo-aeo-20261119

Conversation

@jelkes1

@jelkes1 jelkes1 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Explicit spec-section links now wait for a valid page mapping before mounting the official PDF. Previously the app opened default Part 1 page 1 while lookup was pending, then replaced that iframe. Failed, missing or stalled lookups now offer retry, search recovery and a direct official PDF link. Unknown parts offer links to all four official PDFs. Normal browsing, search, parent-section results and printed-page offsets remain available.

This also retains the publisher metadata and stable article dates: public schemas identify SuperDoc consistently, and unrelated builds preserve the publication/update dates observed on all eight existing articles.

Validation

  • Unfixed browser run: eight failures and a passing normal-browse control. A separate test-only commit retains the regressions.
  • All 20 final Chromium cases pass, covering delayed Part 1/Part 2 mapping, invalid responses, timeout/retry, search recovery, parent-section navigation, late previous lookups, unknown parts and overlapping search/retry requests. The same existing CI job now executes this bounded browser lane.
  • All 16 Bun web tests and 11 growth/privacy tests pass. bun run check and bun run build pass, with one existing unused-import warning.
  • Independent review caught a descendant-section compatibility issue; its regression failed before correction. Four further regressions reproduced repository-review findings around unknown parts, stale search responses and preserving failed queries. All pass after correction. Final independent review found no remaining P0/P1 issues.

Browser tests use local service/PDF-body fixtures. Native PDF rendering, public readback and field-performance impact remain separate release checks. Official PDF originals and page mappings are unchanged. Maintainer review, merge and deployment remain pending. The analytics-consent PR retains its separate release path.

@jelkes1
jelkes1 marked this pull request as ready for review November 19, 2026 14:20

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack

Re-trigger cubic

@jelkes1 jelkes1 changed the title fix(seo): identify publisher and preserve article dates fix(web): defer section PDFs and preserve publication metadata Nov 19, 2026
@pullfrog

pullfrog Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

No configured credential can serve this run. Your ChatGPT subscription has hit its usage limit, which resets at 2026-11-20 10:10 UTC. Re-trigger after it resets, or add an API key for this provider, which Pullfrog falls back to automatically.

The providers' responses
CODEX_AUTH_JSON: the ChatGPT plan's usage limit is reached

Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using gpt-6.1-sol

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 7 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread apps/web/src/pages/SpecExplorer.tsx Resolved
Comment thread apps/web/src/pages/SpecExplorer.tsx Resolved
Comment thread apps/web/src/pages/SpecExplorer.tsx Resolved
@pullfrog

pullfrog Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

No configured credential can serve this run. Your ChatGPT subscription has hit its usage limit, which resets at 2026-11-20 10:10 UTC. Re-trigger after it resets, or add an API key for this provider, which Pullfrog falls back to automatically.

The providers' responses
CODEX_AUTH_JSON: the ChatGPT plan's usage limit is reached

Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using gpt-6.1-sol

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Approach: sound — explicit section links wait for validated page mappings, while publication metadata comes from stable article data and a shared publisher identity.

Reviewed changes across the current six-commit PR, including the spec-navigation additions after the original SEO change:

  • Publisher and dates: checked Organization references and stable dates for all eight articles, including prerender regressions.
  • Section navigation: checked deferred PDF mounting, mapping validation, descendant results, cancellation, timeout/retry, search recovery, and official-PDF fallbacks.
  • Tests and CI: checked Playwright setup and workflow integration; all 20 browser, 16 web, and 11 growth/privacy tests pass. bun run check and bun run build pass, with one existing unrelated lint warning. Browser tests use PDF-body fixtures rather than native PDF rendering.

Pullfrog  | View workflow run | Using gpt-6.1-sol | 𝕏

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