Skip to content

Commit ec4e363

Browse files
authored
fix(shuffle-tests): Update the shuffle-test backend-test job definition to match definition in backend.yml (#82327)
<!-- Describe your PR here. --> Shuffle tests are failing due to lower shard count and missing service dependencies. Sync the backend-test job with the definition in backend.yml <!-- Sentry employees and contractors can delete or ignore the following. --> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
1 parent d552f4b commit ec4e363

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/shuffle-tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,22 @@ jobs:
2828
name: run backend tests
2929
runs-on: ubuntu-24.04
3030
timeout-minutes: 90
31+
permissions:
32+
contents: read
33+
id-token: write
3134
strategy:
3235
# This helps not having to run multiple jobs because one fails, thus, reducing resource usage
3336
# and reducing the risk that one of many runs would turn red again (read: intermittent tests)
3437
fail-fast: false
3538
matrix:
3639
# XXX: When updating this, make sure you also update MATRIX_INSTANCE_TOTAL.
37-
instance: [0, 1, 2, 3, 4, 5, 6]
40+
instance: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
3841
pg-version: ['14']
3942

4043
env:
41-
# XXX: MATRIX_INSTANCE_TOTAL must be hardcoded to the length of strategy.matrix.instance.
42-
MATRIX_INSTANCE_TOTAL: 7
44+
# XXX: `MATRIX_INSTANCE_TOTAL` must be hardcoded to the length of `strategy.matrix.instance`.
45+
# If this increases, make sure to also increase `flags.backend.after_n_builds` in `codecov.yml`.
46+
MATRIX_INSTANCE_TOTAL: 11
4347

4448
steps:
4549
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
@@ -48,7 +52,10 @@ jobs:
4852
uses: ./.github/actions/setup-sentry
4953
id: setup
5054
with:
55+
redis_cluster: true
56+
kafka: true
5157
snuba: true
58+
symbolicator: true
5259
# Right now, we run so few bigtable related tests that the
5360
# overhead of running bigtable in all backend tests
5461
# is way smaller than the time it would take to run in its own job.

0 commit comments

Comments
 (0)