You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
e2e provisioning seed (DEFAULT_PODNOTES_DATA) drifted from DEFAULT_SETTINGS — fails CI on master #191
scripts/provision-obsidian-e2e-vault.test.ts > "seeds a data.json that mirrors the real DEFAULT_SETTINGS"fails on master, turning the Test CI check red for every open PR (it has nothing to do with the PR under test).
The e2e seed DEFAULT_PODNOTES_DATA in scripts/provision-obsidian-e2e-vault.mjs is a hand-maintained copy of DEFAULT_SETTINGS (src/constants.ts). Several recently-merged PRs changed DEFAULT_SETTINGS without updating the seed, so the two have drifted:
The assertion fails with expected { …(17) } to deeply equal { …(19) }.
Reproduce
npm run test # or: npx vitest run scripts/provision-obsidian-e2e-vault.test.ts
Fails on a clean master checkout (confirmed by stashing unrelated branch changes).
Immediate fix
Re-sync DEFAULT_PODNOTES_DATA with DEFAULT_SETTINGS (add autoQueue: true, the feedNote object, and the real download.path).
Root-cause fix (suggested follow-up)
The .mjs seed can't import the TS DEFAULT_SETTINGS at Node runtime, which is why it's duplicated and keeps drifting. Worth making drift impossible — e.g. generate the seed from DEFAULT_SETTINGS at provision time (the test already imports it via vitest/TS), or move the canonical default to a .mjs/JSON module both sides import — so this class of failure can't recur whenever a new setting is added.
Re-checked on current master (07b2812). The seed now lives in obsidian-e2e.config.mjs, and scripts/e2e-config.test.ts compares it with DEFAULT_SETTINGS. The test passes locally and the Test workflow is green on master.
Activity
fix(devx): re-sync e2e vault seed with DEFAULT_SETTINGS (#191)
release(version): Release 2.17.0 [skip ci]
github-actions commentedon Jun 22, 2026
🎉 This issue has been resolved in version 2.17.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
chhoumann commentedon Oct 11, 2026
Re-checked on current master (07b2812). The seed now lives in obsidian-e2e.config.mjs, and scripts/e2e-config.test.ts compares it with DEFAULT_SETTINGS. The test passes locally and the Test workflow is green on master.