{"record":{"id":"22efc9debc62b94b","repo":"xai-org/grok-build","slug":"no-releases-found-in","errorCode":null,"errorMessage":"No releases found in {}","messagePattern":"No releases found in (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/codegen/xai-grok-update/src/version.rs","lineNumber":256,"sourceCode":"    if exclude_pre {\n        args.push(\"--exclude-pre-releases\");\n    }\n    let mut cmd = Command::new(\"gh\");\n    cmd.args(&args).stdin(std::process::Stdio::null());\n    xai_grok_tools::util::detach_command(&mut cmd);\n    cmd.envs(xai_grok_tools::util::pager_env());\n    let output = cmd.output().await?;\n\n    if !output.status.success() {\n        let stderr = String::from_utf8_lossy(&output.stderr);\n        anyhow::bail!(\"gh release list failed: {}\", stderr.trim());\n    }\n\n    let tag = String::from_utf8(output.stdout)?.trim().to_string();\n    // Tags are formatted as \"v0.1.141\", strip the leading \"v\"\n    let version = tag.strip_prefix('v').unwrap_or(&tag).to_string();\n    if version.is_empty() {\n        anyhow::bail!(\"No releases found in {}\", GH_RELEASE_REPO);\n    }\n    Ok(version)\n}\n\n/// Fetch the latest version from a public CLI channel pointer.\n///\n/// Reads `{base}/{channel}` which contains a plain-text semver string\n/// (e.g. `0.1.181`). No auth required — the upstream bucket is public.\n///\n/// For the alpha channel, fetches both `alpha` and `stable` pointers and\n/// returns the semver-greater, matching the behavior of the npm and\n/// gh-release paths.\n///\n/// Tries each base URL in [`CLI_BASE_URLS`] in order and stops at the first\n/// success. Each individual base also retries up to 3 times with exponential\n/// backoff (1s, 2s, 4s) on transient failures before falling through to the\n/// next base.\npub(crate) async fn fetch_gcs_version(channel: &str) -> Result<String> {","sourceCodeStart":238,"sourceCodeEnd":274,"githubUrl":"https://github.com/xai-org/grok-build/blob/bc7f02eddd3d84085849dc19ed216f11c23b0571/crates/codegen/xai-grok-update/src/version.rs#L238-L274","documentation":"Error \"No releases found in {}\" thrown in xai-org/grok-build.","triggerScenarios":"Thrown at crates/codegen/xai-grok-update/src/version.rs:256 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bc7f02eddd3d84085849dc19ed216f11c23b0571","analyzedAt":"2026-08-31T04:59:42.031Z","schemaVersion":2},"datasetVersion":"2026-08-31T09:17:48.483Z"}