Repository navigation
Commit bc37576
authored
test: deprecate aws lambda based integration tests because now we have e2e and the RIE based tests (#826)
* test: retire the AWS-based integration suite (moved to local docker + serverless-e2e-tests)
The integration_tests/ AWS suite is retired. Its coverage now lives in two
places, each stronger at what it owns:
- Behavior: integration_tests_local/ (docker/RIE, GitHub Actions, per PR) is
now the behavior oracle — hermetic, contributor-runnable, and strictly
stronger than the AWS suite at behavior (its goldens preserve span
meta/metrics keys the AWS normalization stripped wholesale). After #821 and
#823 it covers every variant the AWS suite pinned, including callback-style
handlers, fetch, metrics-only mode, payload capture, and the manual-wrap
no-init path.
- Real-AWS-only signals: the four variants whose value IS the platform —
esm (published layer zip artifact + ESM loader), sync-metrics (direct-API
sink to the real intake), http-requests (_X_AMZN_TRACE_ID pass-through +
real egress), status-code-500s (real API Gateway) — move to a dedicated
integration-tests-residual suite in serverless-e2e-tests, which deploys
against published/candidate layer ARNs and keeps the same snapshots and
byte-identical normalization pipeline.
Deleted here: serverless.yml, the six top-level handlers, all 450 snapshots,
and scripts/run_integration_tests.sh (459 files). Kept: input_events/,
parse-json.js, and container/ — the local suite references the first two and
uses container/ as fixture; a new integration_tests/README.md documents this.
CI: the GitLab `integration test` job and its sign/publish `needs` entries
are removed (build-layer keeps CI_ENABLE_CONTAINER_IMAGE_BUILDS, which it
uses to docker-build the layer). CONTRIBUTING.md now points contributors at
the local suite.
Release-gate note: the per-pipeline AWS gate on sign/publish goes away. The
candidate-layer gate moves to the residual suite in serverless-e2e-tests —
manual until the e2e release-gate automation lands (migration roadmap), so
release runbooks should trigger it until then.
* merge main
* docs: clarify AWS integration test deprecation
* ci: retry pipeline
* test: pin RIE tracer per runtime
* ci: retrigger pipeline1 parent e03ba63 commit bc37576
475 files changed
Lines changed: 160 additions & 32403 deletions
File tree
- .claude/skills/release-lambda-layer
- .gitlab/input_files
- integration_tests_local
- integration_tests
- container
- cjs
- esm
- layer
- snapshots
- logs
- return_values
- scripts
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 111 | | |
133 | 112 | | |
134 | 113 | | |
| |||
146 | 125 | | |
147 | 126 | | |
148 | 127 | | |
149 | | - | |
150 | 128 | | |
151 | 129 | | |
152 | 130 | | |
| |||
182 | 160 | | |
183 | 161 | | |
184 | 162 | | |
185 | | - | |
186 | 163 | | |
187 | 164 | | |
188 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 42 | + | |
| 43 | + | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
0 commit comments