feat(app): ingest 별칭 생성 hook (flag off 기본, fail-soft)
This commit is contained in:
@@ -109,10 +109,10 @@ fn first_ingest_bumps_corpus_revision() {
|
||||
let env = TestEnv::lexical_only();
|
||||
let store_before = kebab_store_sqlite::SqliteStore::open(&env.config).unwrap();
|
||||
store_before.run_migrations().unwrap();
|
||||
// V004 seeds 0; V009 migration bumps to 1 to invalidate any pre-V009
|
||||
// LRU cache (spec §5.2). Baseline before ingest = post-migration value.
|
||||
// V004 seeds 0; V009 + V010 migrations each bump by 1 to invalidate
|
||||
// stale LRU caches (spec §5.2). Baseline before ingest = 2.
|
||||
let baseline = store_before.corpus_revision();
|
||||
assert_eq!(baseline, 1, "fresh store post-V009 baseline = 1");
|
||||
assert_eq!(baseline, 2, "fresh store post-V010 baseline = 2");
|
||||
|
||||
let report = kebab_app::ingest_with_config(env.config.clone(), env.scope(), true).unwrap();
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user