Skip to content

[#incident-62343-language-tools] Bazel Upgrade - #391

Merged
hf-zeng merged 1 commit into
mainfrom
saahilp/incident-62343-bazel-upgrade
Oct 27, 2026
Merged

hf-zeng merged 1 commit into
mainfrom
saahilp/incident-62343-bazel-upgrade

Conversation

@gh-worker-campaigns-3e9aa4

Copy link
Copy Markdown
Contributor
  • Upgrade Bazel 8 and below to 8.8.2, or Bazel 9 to 9.3.1, to remove the compromised CA.
  • Preserve Bazel 7 behavior for optional file globs with common --incompatible_disallow_empty_glob=false, including explicitly consumed rc variants where applicable.
  • Validation: the edit script was checked locally against all 10 repository snapshots, including idempotence. This campaign does not run builds or unit tests; repository CI must validate the generated change.

This work mitigates #incident-62343.
Report any issues or questions in #incident-62343-language-tools.

DO NOT REVERT THIS PR. Reverting would restore an untrusted version of Bazel. If this update causes issues, reach out immediately in #incident-62343-language-tools so we can fix them while retaining a trusted Bazel version.

🤖 Created with opencode

Upgrade Bazel 8 and below to 8.8.2, and Bazel 9 to 9.3.1,
because these releases remove the compromised CA. Preserve optional
file glob compatibility as mitigation for incident 62343.
@gh-worker-campaigns-3e9aa4
gh-worker-campaigns-3e9aa4 Bot requested review from a team as code owners October 26, 2026 13:14
@gh-worker-campaigns-3e9aa4
gh-worker-campaigns-3e9aa4 Bot requested review from Anilm3 and removed request for a team October 26, 2026 13:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T13:18:10.337151Z ec888ac PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pr-commenter

pr-commenter Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-10-26 13:23:16

Comparing candidate commit eea55d8 in PR branch saahilp/incident-62343-bazel-upgrade with baseline commit eea55d8 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 0 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

@datadog-prod-us1-5 datadog-prod-us1-5 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bits Code Review: PASS

More details

Bazel 9.3.1 accepted both CI rc variants and the added empty-glob compatibility flag. The completed static review identified no actionable regression.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit ec888ac

Copy link
Copy Markdown

/merge -p incident

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-10-26 13:41:16 UTC ℹ️ Start processing command /merge -p incident


2026-10-26 13:41:23 UTC ℹ️ MergeQueue: Pull request is not mergeable yet

It will be processed automatically as soon as GitHub reports it as mergeable. View in MergeQueue UI.

  • Run /code blockers to see what is blocking it.
  • Run /remove to cancel it.

2026-10-26 17:45:17 UTC ⚠️ MergeQueue: This merge request was unqueued

devflow unqueued this merge request: It did not become mergeable within the expected time

@hf-zeng
hf-zeng merged commit 4c116a7 into main Oct 27, 2026
38 of 40 checks passed
@hf-zeng
hf-zeng deleted the saahilp/incident-62343-bazel-upgrade branch October 27, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants