Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kernel/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 10 additions & 7 deletions tests/preload-storage-baseline.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
// Global test-runner baseline for the unified-storage mode (#2815 rollout).
//
// resolveStorageMode() now defaults to "shadow" when neither the env nor the
// config file says anything (production default flip). The broad wire/e2e
// corpus, though, was written against the legacy default: hundreds of suites
// build SessionStores in mkdtemp dirs and rmSync them without SQLite handle
// choreography (Windows EPERM territory) and some assert index.db absence
// incidentally. Keep that corpus on an explicit legacy baseline; the storage
// family (tests/storage-*.test.ts, tests/identity-registry.test.ts,
// resolveStorageMode() defaults to "full" when neither the env nor the config
// file says anything (#3818 production default flip; the interim #2815-era
// default was "shadow"). The broad wire/e2e corpus, though, was written
// against the legacy default: hundreds of suites build SessionStores in
// mkdtemp dirs and rmSync them without SQLite handle choreography (Windows
// EPERM territory) and some assert index.db absence incidentally. Keep that
// corpus on an explicit legacy baseline; any suite whose assertions depend on
// a specific storage mode MUST pin BILI_STORAGE_UNIFIED itself — relying on
// the production default passes locally but breaks here (#4011 lesson). The
// storage family (tests/storage-*.test.ts, tests/identity-registry.test.ts,
// tests/bounded-storage*.test.ts, tests/export-jsonl.test.ts,
// tests/e2e/e2e-sqlite-bootstrap.test.ts) pins and overrides its own modes,
// and the default's own semantics are covered by the resolveStorageMode
Expand Down
Loading