Skip to content

Commit 031c8f1

Browse files
nicohrubeccodex
andcommitted
ci: Remove temporary bundle size test changes
Co-Authored-By: GPT-6 <codex@openai.com>
1 parent da591f0 commit 031c8f1

2 files changed

Lines changed: 4 additions & 23 deletions

File tree

‎.github/workflows/size-check.yml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: 'CI: Size Check'
22

33
on:
4-
# Temporary: exercise this workflow on PR #24737 before it exists on develop.
5-
pull_request:
4+
pull_request_target:
65
types: [labeled, unlabeled]
76

87
permissions:
@@ -16,14 +15,14 @@ concurrency:
1615

1716
jobs:
1817
rerun:
19-
if: github.event.pull_request.number == 24737 && github.event.label.name == 'Accept Bundlesize Increase'
18+
if: github.event.label.name == 'Accept Bundlesize Increase'
2019
runs-on: ubuntu-24.04
2120
timeout-minutes: 60
2221
steps:
23-
- name: Check out PR commit
22+
- name: Check out base commit
2423
uses: actions/checkout@v7
2524
with:
26-
ref: ${{ github.event.pull_request.head.sha }}
25+
ref: ${{ github.event.pull_request.base.sha }}
2726
persist-credentials: false
2827
- uses: actions/github-script@v9
2928
with:

‎packages/core/src/sdk.ts‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,6 @@ export function initAndBind<F extends Client, O extends ClientOptions>(
3333
scope.update(options.initialScope);
3434

3535
const client = new clientClass(options);
36-
// Temporary CI size-check probe: remove after verifying failure and the approval label.
37-
Object.defineProperty(client, '__sentry_bundle_size_probe__', {
38-
value:
39-
'A lighthouse keeper records the changing weather beside a rocky northern coastline. ' +
40-
'Several fishing boats return before sunset, carrying wooden crates and folded canvas sails. ' +
41-
'Beyond the harbor, a narrow railway crosses green fields toward an abandoned copper mine. ' +
42-
'An astronomer adjusts a brass telescope while distant clouds reveal a patch of winter stars. ' +
43-
'Inside the workshop, shelves hold ceramic bowls, leather notebooks, and unusual clockwork instruments. ' +
44-
'A gardener plants rosemary beneath the kitchen window and collects fallen apples in a wicker basket. ' +
45-
'Travelers consult a faded map before following the river through limestone caves and pine forests. ' +
46-
'The morning market offers fresh peaches, woven blankets, painted tiles, and jars of mountain honey. ' +
47-
'Across the square, musicians rehearse a quiet melody as children draw bright patterns on the pavement. ' +
48-
'A librarian discovers handwritten letters tucked between the pages of an illustrated botanical atlas. ' +
49-
'Engineers inspect a suspension bridge using carefully calibrated sensors and detailed maintenance records. ' +
50-
'After a sudden thunderstorm, sunlight reflects from puddles along the winding cobblestone streets. ' +
51-
'At the observatory, researchers compare photographs of distant galaxies and catalog unfamiliar constellations. ' +
52-
'The baker prepares orange pastries while a delivery bicycle rattles past the open courtyard gate.',
53-
});
5436
setCurrentClient(client);
5537
client.init();
5638
return client;

0 commit comments

Comments
 (0)