Repository navigation
CLI-1725 Use fixed build-number action for workflow PRs - #1412
Conversation
Update only get-build-number to the verified 2.6.0 commit. Preserve the Prepare Build permissions and build number outputs. Co-Authored-By: Nicolas QUINQUENEL <14952624+nquinquenel@users.noreply.github.com>
✅ Deploy Preview for sonarqube-cli canceled.
|
Code Review ✅ Approved 🟡 Medium riskPinning get-build-number to 2.6.0 changes build-number allocation for workflow PRs, which could affect claimed numbers and package versions. Updates the build-number GitHub Action pin to 2.6.0 so workflow PRs can claim a build number against an existing default-branch commit, keeping permissions and outputs unchanged. No issues found. Verification Rules 4/4 met PRs 1 inspectedFunctional validation No results Rules 4 passed 1 not applicable
Broader impact PRs 1 inspectedCross-PR 1 PR inspected 0 open impacts
Auto-approval Withheld For more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|
|
Current-head CI passed, including publication and promotion of version 1.14.0.18432. Prepare Build claimed number 18432 on this workflow-changing PR. The publication log reports a Sentry bundler release-finalization HTTP 404. The subsequent explicit sourcemap upload to version 1.14.0.18432 succeeded. Artifact publication and promotion also succeeded. Sentry configuration is unchanged by this PR; this operational warning remains for maintainers to inspect. Evidence: https://github.com/SonarSource/sonarqube-cli/actions/runs/45966582995/job/140400850584 Separate code-only PR, rerun reuse, and default-branch publication checks remain unverified. The PR description is preserved. Generated by Fabrik |



CLI-1725 https://sonarsource.atlassian.net/browse/CLI-1725
Human description
PRs that change workflows can fail to claim a build number. Update the build-number action to 2.6.0, which creates its refs against an existing default-branch commit. Keep the current permissions and build-number outputs.
Agent description
Approach: use the exact 2.6.0 commit specified in the ticket. The upstream tag resolves to this SHA. Upstream source inspection confirms the default-branch ref target and existing-run number reuse. Stale-lock recovery remains separate under BUILD-14572; a combined release was not selected. Reviewers can request a separately verified release if needed.
Acceptance coverage: this PR provides the workflow-changing PR case. Number claim and downstream build checks will be inspected in current-head CI. A separate code-only PR, rerun number reuse, and default-branch publication have not been exercised. Default-branch publication is outside this run's authority.
Validation: parsed the workflow with the installed js-yaml dependency and compared its full structure against master. Only the intended action pin differs; permissions, outputs and all other settings are identical. Whitespace and scoped secrets checks passed. Full application checks remain with current-head CI.
Vortex: project SonarSource_sonarqube-cli is bound, with context and agentic analysis enabled. Vortex supplied five GitHub Actions rules, including full commit pinning; the change keeps that protection. DEEP agentic analysis found no issues. The dependency scan reported 15 risks in unchanged dependencies, including three HIGH risks in the existing vulnerable lodash E2E fixture. No manifests or dependencies changed.
Validation gaps: live code-only PR, rerun reuse and default-branch publication evidence remains unavailable. The isolated reviewer has no repository-supplied host preparation plan and could not run its parser check with offline dependencies; the host structural comparison passed. CI validation is pending, not passed.
Repository guidance warning: root AGENTS.md exists, but no ADR directory was found. A separate template proposal was identified; no seeding work is included. Decision records changed: none. Attachments used: none.
Independent review: clean, round 2, gpt-6.1-sol, zero blocking findings; three validation gaps remain.
Token usage (processed tokens, not billing): gpt-6.1-sol: 3690165.
This PR was opened as a draft by autonomous Fabrik. It may become ready only after its mechanical gates pass. Human approval and merge remain required.
🤖 Co-authored by Fabrik and @nquinquenel