{"record":{"id":"5d67cdc028fba27a","repo":"pbakaus/impeccable","slug":"note-fast-is-deprecated-and-ignored-the-full-s","errorCode":null,"errorMessage":"Note: --fast is deprecated and ignored. The full scan is fast now and runs every rule.\n","messagePattern":"Note: --fast is deprecated and ignored\\. The full scan is fast now and runs every rule\\.\n","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"crates/detect/src/cli.rs","lineNumber":415,"sourceCode":"fn detect_cli(args_in: &[String], io: &mut Io, engines: &Engines) -> Result<i32, Exit> {\n    let mut args: Vec<String> = args_in\n        .iter()\n        .map(|a| match a.as_str() {\n            \"-json\" => \"--json\".to_string(),\n            \"-fast\" => \"--fast\".to_string(),\n            _ => a.clone(),\n        })\n        .collect();\n    if args.first().map(String::as_str) == Some(\"detect\") {\n        args.remove(0);\n    }\n    let has = |args: &[String], flag: &str| args.iter().any(|a| a == flag);\n    let json_mode = has(&args, \"--json\");\n    let quiet_mode = has(&args, \"--quiet\");\n    let help_mode = has(&args, \"--help\");\n    let no_advisory = has(&args, \"--no-advisory\");\n    if has(&args, \"--fast\") {\n        io.err(\"Note: --fast is deprecated and ignored. The full scan is fast now and runs every rule.\\n\");\n    }\n    if has(&args, \"--gpt\") || has(&args, \"--gemini\") {\n        io.err(\"Note: --gpt and --gemini are deprecated and ignored. Generated-UI tells now run by default.\\n\");\n    }\n    let config_enabled = !has(&args, \"--no-config\");\n    let cwd = io.cwd.to_string_lossy().into_owned();\n    let detection_config = if config_enabled {\n        read_detection_config(&cwd)\n    } else {\n        DetectionConfig::raw()\n    };\n    let scopes_valid = rule_scopes().join(\", \");\n    let mut scopes: Vec<String> = Vec::new();\n    let mut i = 0;\n    while i < args.len() {\n        let inline = args[i].starts_with(\"--scope=\");\n        if args[i] != \"--scope\" && !inline {\n            i += 1;","sourceCodeStart":397,"sourceCodeEnd":433,"githubUrl":"https://github.com/pbakaus/impeccable/blob/2bc2879276c1f321a53c4ca99d3371e411329b52/crates/detect/src/cli.rs#L397-L433","documentation":"The detect CLI warns on stderr that the `--fast` flag is deprecated and ignored: the full scan is now fast by default and runs every rule, so `--fast` no longer selects anything. The message is informational only — the scan continues normally with all rules enabled.","triggerScenarios":"Passing `--fast` anywhere on the `impeccable detect` command line, detected via `args.iter().any(|a| a == \"--fast\")`.","commonSituations":"Scripts or CI configs written against an older CLI version where `--fast` skipped rules; muscle-memory flags carried over from previous workflows; documentation or aliases that still mention `--fast`.","solutions":["Remove `--fast` from the command line / scripts; the default scan is already fast and runs all rules.","Update CI configs and docs that reference `--fast` to call `impeccable detect` without the flag.","If rule-subset selection is actually needed, use `--scope` instead of `--fast`."],"exampleFix":"// before\nimpeccable detect src/ --fast\n// after\nimpeccable detect src/","handlingStrategy":"validation","validationCode":"const args = process.argv.slice(2).filter(a => a !== \"--fast\");","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Grep scripts/CI for `--fast` after upgrading the CLI","Treat deprecation notes on stderr as prompts to update scripts","Track the CLI changelog for removed flags"],"tags":["cli","deprecation","flags"],"backgroundTag":"deprecated-api-usage","analyzedSha":"2bc2879276c1f321a53c4ca99d3371e411329b52","analyzedAt":"2026-09-08T04:51:14.109Z","contentChangedAt":"2026-09-08T04:51:14.109Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}