review(p9-fb-25-task1): fix kebab-app test references to removed WorkspaceCfg.include

reviewer-flagged: task 1 missed test files using cfg.workspace.include.

- crates/kebab-app/tests/common/mod.rs: SourceScope literal switched
  to ..Default::default().
- crates/kebab-app/tests/image_pipeline.rs (×3): drop dead-no-op
  cfg.workspace.include.push(...) calls; comment explains removal.
- crates/kebab-app/tests/pdf_pipeline.rs: same treatment.

Pre-fb-25 these pushes were no-ops (include was dead config field
not enforced anywhere). Removal is purely mechanical.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-05 11:53:19 +00:00
parent 7f31721a47
commit ef5d0770ae
3 changed files with 9 additions and 8 deletions

View File

@@ -121,7 +121,8 @@ fn write_pdf(root: &Path, name: &str, bytes: &[u8]) -> std::path::PathBuf {
fn cfg_with_pdf(env: &TestEnv) -> Config {
let mut cfg = env.config.clone();
cfg.workspace.include.push("**/*.pdf".to_string());
// p9-fb-25: workspace.include removed; extension routing is now
// handled by extractor matching alone (no config knob).
// PDF ingest does not need OCR / caption / LM — leave defaults
// (ocr.enabled=false, caption.enabled=false). The image pipeline
// construction step skips both adapters.