Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions changelog/2026-06-25-flaky-tests-bazel-label-webhooks.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Flaky Tests: Bazel Label Now Included in Webhook Payloads"
description: "Webhook events for test case status changes now include an optional bazel_label field on the test_case object."
date: 2026-06-25
category: Flaky Tests
type: update
---

**Flaky Tests webhook events now carry the Bazel label for tests that have one.**

The `test_case` object in `test_case.monitor_status_changed` and `v2.test_case.status_changed` webhook payloads now includes an optional `bazel_label` field. When a test case is associated with a Bazel target, this field contains the fully qualified label (for example, `//mypackage:my_test`). The field is absent when no Bazel label is recorded for the test.

This makes it easier to route, deduplicate, or link webhook-driven tickets and alerts back to a specific Bazel target in your build graph. It is particularly useful for repositories that use multiple test targets with similar names across packages.

See the [Webhooks reference](/flaky-tests/webhooks) for the full field tables.
6 changes: 6 additions & 0 deletions changelog/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ rss: true

### June 2026

<Update label="June 25, 2026" tags={["Flaky Tests"]}>
**[Flaky Tests: Bazel Label Now Included in Webhook Payloads](/changelog/2026-06-25-flaky-tests-bazel-label-webhooks)**

Webhook events for test case status changes now include an optional `bazel_label` field on the test_case object.
</Update>

<Update label="June 18, 2026" tags={["Merge Queue"]}>
**[Merge Queue: Queue and Graph Tabs Now Refresh on Return](/changelog/2026-06-18-merge-queue-stale-tab-refresh-fix)**

Expand Down
3 changes: 2 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@
{
"group": "June",
"pages": [
"changelog/2026-06-18-merge-queue-stale-tab-refresh-fix",
"changelog/2026-06-25-flaky-tests-bazel-label-webhooks",
"changelog/2026-06-18-merge-queue-stale-tab-refresh-fix",
"changelog/2026-06-17-flaky-tests-browser-extension-failure-details",
"changelog/2026-06-17-merge-queue-metrics-and-extension-updates",
"changelog/2026-06-15-merge-queue-browser-extension-admin-control",
Expand Down
6 changes: 6 additions & 0 deletions flaky-tests/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ og:title: "Trunk Flaky Tests changelog"

### June 2026

<Update label="June 25, 2026" tags={["Flaky Tests"]}>
**[Flaky Tests: Bazel Label Now Included in Webhook Payloads](/changelog/2026-06-25-flaky-tests-bazel-label-webhooks)**

Webhook events for test case status changes now include an optional `bazel_label` field on the test_case object.
</Update>

<Update label="June 17, 2026" tags={["Flaky Tests"]}>
**[Flaky Tests: Failure Details and Copy Prompt in the Browser Extension](/changelog/2026-06-17-flaky-tests-browser-extension-failure-details)**

Expand Down
1 change: 1 addition & 0 deletions flaky-tests/webhooks/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Emitted when a monitor activates or resolves for a test case.
| `test_case.codeowners` | array of strings | Code owners associated with the test |
| `test_case.quarantined` | boolean | Whether the test is quarantined |
| `test_case.variant` | string | Test variant name |
| `test_case.bazel_label` | string (optional) | Bazel target label for the test, when available |

### `v2.test_case.status_changed`

Expand Down
Loading