{"record":{"id":"bcbea1e2b494dd0c","repo":"dbt-labs/dbt-core","slug":"no-wheel-s-suffix-in","errorCode":null,"errorMessage":"no `{}` wheel(s){suffix} in {}.","messagePattern":"no `(.+?)` wheel\\(s\\)(.+?) in (.+?)\\.","errorType":"validation","errorClass":"anyhow","httpStatus":null,"severity":"error","filePath":"crates/dbt-ci/src/publish.rs","lineNumber":258,"sourceCode":"                &args.python_tag,\n                &args.abi_tag,\n                tmp.path(),\n            )\n            .await?;\n            (vec![(sdist, DistKind::Sdist)], Some(tmp))\n        } else {\n            let dist_dir = args\n                .dist\n                .clone()\n                .unwrap_or_else(|| cargo_workspace_root().join(\"target\").join(\"wheels\"));\n            let wheels = discover_wheels(&dist_dir, &spec.wheel_name, args.version.as_deref())?;\n            if wheels.is_empty() {\n                let suffix = args\n                    .version\n                    .as_deref()\n                    .map(|v| format!(\" at version {v}\"))\n                    .unwrap_or_default();\n                bail!(\n                    \"no `{}` wheel(s){suffix} in {}.\",\n                    spec.wheel_name,\n                    dist_dir.display()\n                );\n            }\n            (\n                wheels.into_iter().map(|w| (w, DistKind::Wheel)).collect(),\n                None,\n            )\n        };\n\n    eprintln!(\n        \"→ publishing {} `{}` artifact(s):\",\n        dists.len(),\n        spec.wheel_name\n    );\n    for (path, _) in &dists {\n        if let Some(name) = path.file_name().and_then(|s| s.to_str()) {","sourceCodeStart":240,"sourceCodeEnd":276,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-ci/src/publish.rs#L240-L276","documentation":"run_publish discovered no wheel files matching the project's wheel name (and optional version filter) in the distribution directory, so there is nothing to upload to the registry — the build/pack step output is missing or was written elsewhere.","triggerScenarios":"Thrown at crates/dbt-ci/src/publish.rs:258 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run the wheel build/pack step before publish","Pass --dist pointing at the directory that actually contains the built wheels","Verify the version filter matches the built wheel filenames"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}