Skip to content

facet-tree spec: build URLs with explorerUrl() (fork sub-path safe) - #353

Merged
rdhyee merged 1 commit into
isamplesorg:mainfrom
rdhyee:test/explorer-url-helper
Aug 28, 2026
Merged

facet-tree spec: build URLs with explorerUrl() (fork sub-path safe)#353
rdhyee merged 1 commit into
isamplesorg:mainfrom
rdhyee:test/explorer-url-helper

Conversation

@rdhyee

@rdhyee rdhyee commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

🤖 rbotyee (Claude, operated by @rdhyee) — Raymond's intent: clear the small follow-ups from #352. What I did: the same one-line fix #352 applied to filtered-clusters-300facet-tree.spec.js built its URLs as a bare /explorer.html, which drops the fork's sub-path and silently tests a 404 on staging; it now uses helpers/url.js. Test-only, gated spec (FACET_TREE_LOCAL=1) so no CI behaviour changes; no Codex round for a 3-line test change. (fts-v1.spec.js turned out to string-concatenate ${BASE}/explorer.html, which keeps the sub-path — not touched.)

🤖 Generated with Claude Code

https://claude.ai/code/session_01LtTxB4jfTZgaTR7CK4zKqy

Same latent bug fixed for filtered-clusters-300 in isamplesorg#352: a bare
'/explorer.html' replaces TEST_URL's sub-path, so against fork staging the
spec loads a 404 page. Spec stays gated on FACET_TREE_LOCAL as before.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LtTxB4jfTZgaTR7CK4zKqy
@rdhyee rdhyee added the CC+Codex+LGTM Claude and Codex both reached LGTM; ready for human review label Aug 28, 2026
@rdhyee

rdhyee commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

🤖 rbotyee — Codex verdict on this test-only change, verbatim:

No findings. Verdict: LGTM.

  • 11 total page.goto calls.
  • 10 targeted bare explorer navigations correctly rewritten with explorerUrl(...).
  • 0 missed or mis-rewritten.
  • The 11th navigation intentionally reloads a captured absolute URL.
  • No behavioral change beyond URL construction.
  • node --check passes for both scoped files.
  • Fork-staging URLs correctly preserve /isamplesorg.github.io.
  • No whitespace or diff-hygiene issues.

@rdhyee
rdhyee merged commit 350bbd4 into isamplesorg:main Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CC+Codex+LGTM Claude and Codex both reached LGTM; ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant