Skip to content

fix(auth): normalize teamID in cache key to prevent case mismatch

58827e7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix(dashboard-api): invalidate auth cache on team membership changes #2288

fix(auth): normalize teamID in cache key to prevent case mismatch
58827e7
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results succeeded Apr 2, 2026 in 0s

3 fail, 339 pass in 33m 22s

  1 files  +  1   10 suites  +10   33m 22s ⏱️ + 33m 22s
342 tests +342  339 ✅ +339  0 💤 ±0  3 ❌ +3 
346 runs  +346  343 ✅ +343  0 💤 ±0  3 ❌ +3 

Results for commit 58827e7. ± Comparison against earlier commit 84731c8.

Annotations

Check warning on line 0 in github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: TestSandboxListPaginationRunningLargerLimit/check_all_sandboxes_list (github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes)

artifacts/Integration Tests Results/test-results.xml [took 0s]
Raw output
Failed
=== RUN   TestSandboxListPaginationRunningLargerLimit/check_all_sandboxes_list
=== PAUSE TestSandboxListPaginationRunningLargerLimit/check_all_sandboxes_list
=== CONT  TestSandboxListPaginationRunningLargerLimit/check_all_sandboxes_list
    sandbox_list_test.go:339: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:339
        	Error:      	"[{0xc000648250 6532622b 2 1982 2026-04-02 04:23:05.861477504 +0000 UTC 0.5.9 512 0xc0000c60b0 iwa00xspzyysz4oqy22v3 2026-04-02 04:22:35.861477504 +0000 UTC running 2j6ly824owf4awgai1xo 0xc0001600f0} {0xc000648290 6532622b 2 1982 2026-04-02 04:23:05.704500169 +0000 UTC 0.5.9 512 0xc0000c60b8 iekm0thvcb0ddmz595qay 2026-04-02 04:22:35.704500169 +0000 UTC running 2j6ly824owf4awgai1xo 0xc000160120} {0xc0006482d0 6532622b 2 1982 2026-04-02 04:23:05.621278102 +0000 UTC 0.5.9 512 0xc0000c60c0 i09gqfjndr6hnw7yo6w6t 2026-04-02 04:22:35.621278102 +0000 UTC running 2j6ly824owf4awgai1xo 0xc000160150} {0xc000648310 6532622b 2 1982 2026-04-02 04:23:05.51002986 +0000 UTC 0.5.9 512 0xc0000c60c8 ipeww4wh18ovber32cn81 2026-04-02 04:22:35.51002986 +0000 UTC running 2j6ly824owf4awgai1xo 0xc000160180} {0xc000648350 6532622b 2 1982 2026-04-02 04:23:05.398472208 +0000 UTC 0.5.9 512 0xc0000c6198 iqu14b2qn4yeq4p8rjzfc 2026-04-02 04:22:35.398472208 +0000 UTC running 2j6ly824owf4awgai1xo 0xc0001601b0} {0xc000648390 6532622b 2 1982 2026-04-02 04:23:05.044635105 +0000 UTC 0.5.9 512 0xc0000c61a0 irgqvj71nzuopxp4rs47p 2026-04-02 04:22:35.044635105 +0000 UTC running 2j6ly824owf4awgai1xo 0xc0001601e0} {0xc0006483d0 6532622b 2 1982 2026-04-02 04:23:04.447860352 +0000 UTC 0.5.9 512 0xc0000c61a8 ij1g30ha44wu6ywbd0b3a 2026-04-02 04:22:34.447860352 +0000 UTC running 2j6ly824owf4awgai1xo 0xc000160210} {0xc000648410 6532622b 2 1982 2026-04-02 04:23:00.510572417 +0000 UTC 0.5.9 512 0xc0000c61b0 ipoxfaomcaev4mbapqmia 2026-04-02 04:22:30.510572417 +0000 UTC running 2j6ly824owf4awgai1xo 0xc000160240} {0xc000648450 6532622b 2 1982 2026-04-02 04:22:51.403504854 +0000 UTC 0.5.9 512 0xc0000c61b8 i48emgdt6g7q6acoyjb2i 2026-04-02 04:22:21.403504854 +0000 UTC running 2j6ly824owf4awgai1xo 0xc000160270} {0xc000648490 6532622b 2 1982 2026-04-02 04:22:49.104078345 +0000 UTC 0.5.9 512 0xc0000c61c0 i44mib57i9yvhvxyglmud 2026-04-02 04:22:19.104078345 +0000 UTC running 2j6ly824owf4awgai1xo 0xc0001602a0} {0xc0006484d0 6532622b 2 1982 2026-04-02 04:22:46.197126952 +0000 UTC 0.5.9 512 0xc0000c61e0 ildr17lzs2yy03fzhn4s4 2026-04-02 04:22:16.197126952 +0000 UTC running 2j6ly824owf4awgai1xo 0xc0001602d0}]" should have 12 item(s), but has 11
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_all_sandboxes_list
--- FAIL: TestSandboxListPaginationRunningLargerLimit/check_all_sandboxes_list (0.01s)

Check warning on line 0 in github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: TestSandboxListPaginationRunningLargerLimit/check_paginated_list (github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes)

artifacts/Integration Tests Results/test-results.xml [took 0s]
Raw output
Failed
=== RUN   TestSandboxListPaginationRunningLargerLimit/check_paginated_list
=== PAUSE TestSandboxListPaginationRunningLargerLimit/check_paginated_list
=== CONT  TestSandboxListPaginationRunningLargerLimit/check_paginated_list
    sandbox_list_test.go:368: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:368
        	Error:      	Not equal: 
        	            	expected: 12
        	            	actual  : 11
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_paginated_list
    sandbox_list_test.go:368: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:368
        	Error:      	Not equal: 
        	            	expected: 12
        	            	actual  : 11
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_paginated_list
    sandbox_list_test.go:368: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:368
        	Error:      	Not equal: 
        	            	expected: 12
        	            	actual  : 11
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_paginated_list
    sandbox_list_test.go:368: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:368
        	Error:      	Not equal: 
        	            	expected: 12
        	            	actual  : 11
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_paginated_list
    sandbox_list_test.go:368: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:368
        	Error:      	Not equal: 
        	            	expected: 12
        	            	actual  : 11
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_paginated_list
    sandbox_list_test.go:362: 
        	Error Trace:	/home/runner/work/infra/infra/tests/integration/internal/tests/api/sandboxes/sandbox_list_test.go:362
        	Error:      	"[{0xc0007047b0 6532622b 2 1982 2026-04-02 04:22:46.197126952 +0000 UTC 0.5.9 512 0xc000660040 ildr17lzs2yy03fzhn4s4 2026-04-02 04:22:16.197126952 +0000 UTC running 2j6ly824owf4awgai1xo 0xc0003883d8}]" should have 2 item(s), but has 1
        	Test:       	TestSandboxListPaginationRunningLargerLimit/check_paginated_list
--- FAIL: TestSandboxListPaginationRunningLargerLimit/check_paginated_list (0.03s)

Check warning on line 0 in github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: TestSandboxListPaginationRunningLargerLimit (github.com/e2b-dev/infra/tests/integration/internal/tests/api/sandboxes)

artifacts/Integration Tests Results/test-results.xml [took 32s]
Raw output
Failed
=== RUN   TestSandboxListPaginationRunningLargerLimit
    sandbox_list_test.go:327: Created sandbox 1/12: ink5tu5p4p9w13v6np26s
    sandbox_list_test.go:324: Sandbox creation failed with status code 429, retrying...
    sandbox_list_test.go:324: Sandbox creation failed with status code 429, retrying...
    sandbox_list_test.go:327: Created sandbox 2/12: ildr17lzs2yy03fzhn4s4
    sandbox_list_test.go:327: Created sandbox 3/12: i44mib57i9yvhvxyglmud
    sandbox_list_test.go:327: Created sandbox 4/12: i48emgdt6g7q6acoyjb2i
    sandbox_list_test.go:327: Created sandbox 5/12: ipoxfaomcaev4mbapqmia
    sandbox_list_test.go:327: Created sandbox 6/12: ij1g30ha44wu6ywbd0b3a
    sandbox_list_test.go:327: Created sandbox 7/12: irgqvj71nzuopxp4rs47p
    sandbox_list_test.go:327: Created sandbox 8/12: iqu14b2qn4yeq4p8rjzfc
    sandbox_list_test.go:327: Created sandbox 9/12: ipeww4wh18ovber32cn81
    sandbox_list_test.go:327: Created sandbox 10/12: i09gqfjndr6hnw7yo6w6t
    sandbox_list_test.go:327: Created sandbox 11/12: iekm0thvcb0ddmz595qay
    sandbox_list_test.go:327: Created sandbox 12/12: iwa00xspzyysz4oqy22v3
--- FAIL: TestSandboxListPaginationRunningLargerLimit (32.12s)