Skip to content

fix(e2e): accept CONFIG_ERROR in xiaoyuzhou E2E guard#1066

Merged
jackwener merged 1 commit intomainfrom
fix/e2e-xiaoyuzhou-auth-guard
Apr 17, 2026
Merged

fix(e2e): accept CONFIG_ERROR in xiaoyuzhou E2E guard#1066
jackwener merged 1 commit intomainfrom
fix/e2e-xiaoyuzhou-auth-guard

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

Root cause

3 xiaoyuzhou E2E tests failing on main: xiaoyuzhou podcast, xiaoyuzhou podcast-episodes, xiaoyuzhou episode — all exit 78 instead of expected 0, not caught by the restriction guard.

Test plan

  • Unit tests pass (209 files, 1618 tests)
  • E2E tests should now skip xiaoyuzhou gracefully instead of failing

PR #1059 migrated xiaoyuzhou from SSR scraping to authenticated API.
The E2E tests run without credentials, producing exit code 78
(CONFIG_ERROR). The existing `isExpectedChineseSiteRestriction` guard
only caught FETCH_ERROR, PARSE_ERROR, and NOT_FOUND — not config
errors from missing auth credentials.
@jackwener jackwener merged commit 02d637f into main Apr 17, 2026
13 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