| Test | Status | Time |
|---|---|---|
| TestSessionMiddleware_ValidCookie | PASS | 0.000s |
| TestSessionMiddleware_NoCookie | PASS | 0.000s |
| TestSessionMiddleware_InvalidCookie | PASS | 0.000s |
| TestSessionMiddleware_IdleExpired | PASS | 0.000s |
| TestCSRFMiddleware_AllowsGETWithoutOrigin | PASS | 0.000s |
| TestCSRFMiddleware_AllowsPOSTWithCorrectOrigin | PASS | 0.000s |
| TestCSRFMiddleware_BlocksPOSTWithWrongOrigin | PASS | 0.000s |
| TestCSRFMiddleware_AllowsPOSTWithoutOrigin | PASS | 0.000s |
| TestCSRFMiddleware_AllowsPUTWithCorrectOrigin | PASS | 0.000s |
| TestCSRFMiddleware_BlocksDELETEWithWrongOrigin | PASS | 0.000s |
| TestCSRFMiddleware_AllowsGETWithWrongOrigin | PASS | 0.000s |
| TestCSRFMiddleware_EmptyOriginAllowsAll | PASS | 0.000s |
| TestAuthMiddlewareValidToken | PASS | 0.000s |
| TestAuthMiddlewareInvalidToken | PASS | 0.000s |
| TestAuthMiddlewareMissingHeader | PASS | 0.000s |
| Test | Status | Time |
|---|---|---|
| TestMemoryStore_CreateAndGet | PASS | 0.000s |
| TestMemoryStore_GetNotFound | PASS | 0.000s |
| TestMemoryStore_Delete | PASS | 0.000s |
| TestMemoryStore_TTLExpiry | PASS | 0.020s |
| TestMemoryStore_SetStateAndGetAndDeleteState | PASS | 0.000s |
| TestMemoryStore_SetRevokedJTIAndIsJTIRevoked | PASS | 0.000s |
| TestMemoryStore_StateExpiry | PASS | 0.020s |
| Test | Status | Time |
|---|---|---|
| TestEncryptDecrypt_RoundTrip | PASS | 0.000s |
| TestDecrypt_InvalidCiphertext | PASS | 0.000s |
| TestDecrypt_LazyMigration_PlaintextPassthrough | PASS | 0.000s |
| TestEncrypt_Deterministic_Nope | PASS | 0.000s |
| TestHMACSHA256_KnownVector | PASS | 0.000s |
| TestHMACSHA256_EmptyMessage | PASS | 0.000s |
| TestVerifyHMAC_Valid | PASS | 0.000s |
| TestVerifyHMAC_Invalid | PASS | 0.000s |
| TestVerifyHMAC_WrongSecret | PASS | 0.000s |
| Test | Status | Time |
|---|---|---|
| TestMigrateUpDown | PASS | 8.200s |
| Test | Status | Time |
|---|---|---|
| TestAuthConfig_NoLeftoverFiles |
FAIL Failed
=== RUN TestAuthConfig_NoLeftoverFiles
service_test.go:300: FetchManifestRepo: git clone failed: exit status 128
output: Cloning into '/tmp/TestAuthConfig_NoLeftoverFiles1172963939/003/checkout'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:40333/manifest-repo/.git/': The requested URL returned error: 500
--- FAIL: TestAuthConfig_NoLeftoverFiles (0.36s)
|
0.360s |
| TestRunGit_KillsProcessGroupOnTimeout |
FAIL Failed
=== RUN TestRunGit_KillsProcessGroupOnTimeout
service_test.go:366: grandchild 9780 still alive — process group was not killed on timeout
--- FAIL: TestRunGit_KillsProcessGroupOnTimeout (0.22s)
|
0.220s |
| TestFetchManifestRepo_EnvTimeoutApplied |
FAIL Failed
=== RUN TestFetchManifestRepo_EnvTimeoutApplied
service_test.go:416: FetchManifestRepo with env timeouts: git clone failed: exit status 128
output: Cloning into '/tmp/TestFetchManifestRepo_EnvTimeoutApplied175995685/002/checkout'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:40023/manifest-repo/.git/': The requested URL returned error: 500
--- FAIL: TestFetchManifestRepo_EnvTimeoutApplied (0.19s)
|
0.190s |
| TestCheckHealth_Connected |
FAIL Failed
=== RUN TestCheckHealth_Connected
service_test.go:467: expected connected=true for reachable repository
--- FAIL: TestCheckHealth_Connected (0.13s)
|
0.130s |
| TestCheckHealth_WithToken |
FAIL Failed
=== RUN TestCheckHealth_WithToken
service_test.go:502: expected connected=true for reachable repository
--- FAIL: TestCheckHealth_WithToken (0.12s)
|
0.120s |
| TestClone_PublicRepo |
FAIL Failed
=== RUN TestClone_PublicRepo
service_test.go:542: unexpected error: git clone failed: exit status 128
output: Cloning into '/tmp/TestClone_PublicRepo2261966559/002/clone'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:45247/clone-src/.git/': The requested URL returned error: 500
--- FAIL: TestClone_PublicRepo (0.25s)
|
0.250s |
| TestClone_WithToken |
FAIL Failed
=== RUN TestClone_WithToken
service_test.go:572: unexpected error cloning repo with token: git clone failed: exit status 128
output: Cloning into '/tmp/TestClone_WithToken1863807343/002/clone'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:46181/clone-src/.git/': The requested URL returned error: 500
--- FAIL: TestClone_WithToken (0.15s)
|
0.150s |
| TestClone_CustomDirectory |
FAIL Failed
=== RUN TestClone_CustomDirectory
service_test.go:591: unexpected error: git clone failed: exit status 128
output: Cloning into '/tmp/TestClone_CustomDirectory1437391096/002/custom/workdir'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:36713/clone-src/.git/': The requested URL returned error: 500
--- FAIL: TestClone_CustomDirectory (0.18s)
|
0.180s |
| TestCreateBranch_Success |
FAIL Failed
=== RUN TestCreateBranch_Success
service_test.go:615: clone: git clone failed: exit status 128
output: Cloning into '/tmp/TestCreateBranch_Success3421828780/002/clone'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:35491/branch-src/.git/': The requested URL returned error: 500
--- FAIL: TestCreateBranch_Success (0.19s)
|
0.190s |
| TestFetchManifestRepo_SparseHTTP |
FAIL Failed
=== RUN TestFetchManifestRepo_SparseHTTP
service_test.go:845: unexpected error: git clone failed: exit status 128
output: Cloning into '/tmp/TestFetchManifestRepo_SparseHTTP3873831031/002/checkout'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:42517/manifest-repo/.git/': The requested URL returned error: 500
--- FAIL: TestFetchManifestRepo_SparseHTTP (0.16s)
|
0.160s |
| TestFetchManifestRepo_PartialCloneFilter |
FAIL Failed
=== RUN TestFetchManifestRepo_PartialCloneFilter
service_test.go:888: unexpected error: git clone failed: exit status 128
output: Cloning into '/tmp/TestFetchManifestRepo_PartialCloneFilter1991093480/002/checkout'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:40277/manifest-repo/.git/': The requested URL returned error: 500
--- FAIL: TestFetchManifestRepo_PartialCloneFilter (0.16s)
|
0.160s |
| TestFetchManifestRepo_TokenNotInGitConfig |
FAIL Failed
=== RUN TestFetchManifestRepo_TokenNotInGitConfig
service_test.go:944: unexpected error: git clone failed: exit status 128
output: Cloning into '/tmp/TestFetchManifestRepo_TokenNotInGitConfig1979878721/002/checkout'...
remote: git http-backend: git: 'http-backend' is not a git command. See 'git --help'.
fatal: unable to access 'https://127.0.0.1:33509/manifest-repo/.git/': The requested URL returned error: 500
--- FAIL: TestFetchManifestRepo_TokenNotInGitConfig (0.15s)
|
0.150s |
| TestSlugRepoName_Lowercases | PASS | 0.000s |
| TestSlugRepoName_NonAlphanumericsToDash | PASS | 0.000s |
| TestSlugRepoName_TruncatesAt64 | PASS | 0.000s |
| TestSlugRepoName_TrimsBeforeTruncating | PASS | 0.000s |
| TestSlugRepoName_NoTrailingHyphenAfterTruncation | PASS | 0.000s |
| TestSlugRepoName_TruncationBoundaryCollision | PASS | 0.000s |
| TestSlugRepoName_Deterministic | PASS | 0.000s |
| TestValidateRepoURL/https_with_token | PASS | 0.000s |
| TestValidateRepoURL/https_without_token | PASS | 0.000s |
| TestValidateRepoURL/http_without_token | PASS | 0.000s |
| TestValidateRepoURL/http_with_token | PASS | 0.000s |
| TestValidateRepoURL/ftp_scheme | PASS | 0.000s |
| TestValidateRepoURL/file_scheme | PASS | 0.000s |
| TestValidateRepoURL/file_scheme_with_token | PASS | 0.000s |
| TestValidateRepoURL/ssh_scheme | PASS | 0.000s |
| TestValidateRepoURL/no_scheme | PASS | 0.000s |
| TestValidateRepoURL/empty | PASS | 0.000s |
| TestValidateRepoURL | PASS | 0.000s |
| TestCheckHealth_RejectsUnsupportedScheme | PASS | 0.000s |
| TestClone_RejectsTokenOverHTTP | PASS | 0.000s |
| TestFetchManifestRepo_RejectsUnsupportedScheme | PASS | 0.000s |
| TestWriteAuthConfig_EmptyToken | PASS | 0.000s |
| TestWriteAuthConfig_Content | PASS | 0.010s |
| TestWriteAuthConfig_ScopedToPort | PASS | 0.010s |
| TestBuildGitEnv_NoAmbientGitConfig | PASS | 0.020s |
| TestBuildGitEnv_EmptyToken | PASS | 0.000s |
| TestParseTimeoutSeconds_Default | PASS | 0.000s |
| TestParseTimeoutSeconds_EnvValue | PASS | 0.000s |
| TestParseTimeoutSeconds_InvalidIsHardError | PASS | 0.000s |
| TestClone_FailureRemovesPartialDest | PASS | 0.000s |
| TestCheckHealth_Disconnected | PASS | 0.030s |
| TestCheckHealth_Timeout | PASS | 2.000s |
| TestClone_NonExistentRepo | PASS | 0.090s |
| TestCreateBranch_EmptyString | PASS | 0.000s |
| TestCreateBranch_MainProtected | PASS | 0.000s |
| TestCreateBranch_MasterProtected | PASS | 0.000s |
| TestCreateBranch_GuardMessage | PASS | 0.000s |
| TestFetchManifestRepo_NonExistentRepo | PASS | 0.080s |
| Test | Status | Time |
|---|---|---|
| TestMain |
FAIL Failed
2026/08/11 09:10:16 INFO migrations applied duration=1.251598163s
panic: test timed out after 10m0s
running tests:
TestGitHubPR_InvalidSignature (0s)
goroutine 1155 [running]:
testing.(*M).startAlarm.func1()
/usr/local/go/src/testing/testing.go:2802 +0x354
created by time.goFunc
/usr/local/go/src/time/sleep.go:215 +0x2d
goroutine 1 [chan receive]:
testing.(*T).Run(0x3fada3076248, {0x1a8fe67?, 0x0?}, 0x1b77f98)
/usr/local/go/src/testing/testing.go:2109 +0x4e5
testing.runTests.func1(0x3fada3076248)
/usr/local/go/src/testing/testing.go:2585 +0x3e
testing.tRunner(0x3fada3076248, 0x3fada3277b38)
/usr/local/go/src/testing/testing.go:2036 +0xea
testing.runTests({0x1a98299, 0x21}, {0x1ac3532, 0x33}, 0x3fada32ae300, {0x2b915a0, 0x132, 0x132}, {0xc296d8341832b98f, 0x8c0f204479, ...})
/usr/local/go/src/testing/testing.go:2583 +0x505
testing.(*M).Run(0x3fada33652c0)
/usr/local/go/src/testing/testing.go:2443 +0x6ac
keskikuja.site/agent-platform/api/internal/handlers_test.TestMain(0x3fada33652c0)
/workspace/niko/agent-platform/api/internal/handlers/test_helpers_test.go:55 +0x465
main.main()
_testmain.go:670 +0xa5
goroutine 43 [select]:
github.com/jackc/pgx/v5/pgxpool.(*Pool).backgroundHealthCheck(0x3fada33a0180)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:433 +0xc5
github.com/jackc/pgx/v5/pgxpool.NewWithConfig.func3()
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:286 +0x3d
created by github.com/jackc/pgx/v5/pgxpool.NewWithConfig in goroutine 1
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:283 +0x370
goroutine 856 [select, 3 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada32fa5a0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 855
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 879 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada2f18210, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 863
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 955 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada3205920, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 944
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 434 [chan receive]:
keskikuja.site/agent-platform/api/internal/auth/store.(*MemoryStore).reapLoop(0x3fada3382a30, 0x0?)
/workspace/niko/agent-platform/api/internal/auth/store/memory.go:31 +0xd7
created by keskikuja.site/agent-platform/api/internal/auth/store.NewMemoryStore in goroutine 433
/workspace/niko/agent-platform/api/internal/auth/store/memory.go:24 +0xc7
goroutine 810 [select, 3 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada578fa70, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 874
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 871 [select, 3 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada2f18900, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 805
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1008 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada314c840, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1007
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1000 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada562c780, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 999
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1074 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada3519740, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 992
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1036 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada562c090, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 187
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1030 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada586c090, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1029
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1154 [IO wait]:
internal/poll.runtime_pollWait(0x78f909e09200, 0x72)
/usr/local/go/src/runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0x3fada32d2200?, 0x3fada32fc000?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x3fada32d2200, {0x3fada32fc000, 0x2000, 0x2000})
/usr/local/go/src/internal/poll/fd_unix.go:165 +0x2ae
net.(*netFD).Read(0x3fada32d2200, {0x3fada32fc000?, 0x48b2cc?, 0x49e900?})
/usr/local/go/src/net/fd_posix.go:68 +0x25
net.(*conn).Read(0x3fada2ee41e8, {0x3fada32fc000?, 0x4e6500?, 0x3fada3208bd0?})
/usr/local/go/src/net/net.go:196 +0x45
github.com/jackc/pgx/v5/pgconn/internal/bgreader.(*BGReader).Read(0x3fada32a6180, {0x3fada32fc000, 0x2000, 0x2000})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/internal/bgreader/bgreader.go:100 +0xcb
io.ReadAtLeast({0x1b86380, 0x3fada32a6180}, {0x3fada32fc000, 0x2000, 0x2000}, 0x5)
/usr/local/go/src/io/io.go:335 +0x8e
github.com/jackc/pgx/v5/pgproto3.(*chunkReader).Next(0x3fada32fa150, 0x5)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgproto3/chunkreader.go:80 +0x289
github.com/jackc/pgx/v5/pgproto3.(*Frontend).Receive(0x3fada32e6488)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgproto3/frontend.go:308 +0x3c
github.com/jackc/pgx/v5/pgconn.(*PgConn).peekMessage(0x3fada32e6008)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:551 +0x145
github.com/jackc/pgx/v5/pgconn.(*PgConn).receiveMessage(0x3fada32e6008)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:571 +0x1c
github.com/jackc/pgx/v5/pgconn.(*MultiResultReader).receiveMessage(0x3fada32e6120)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:1437 +0x1f
github.com/jackc/pgx/v5/pgconn.(*MultiResultReader).NextResult(0x3fada32e6120)
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgconn/pgconn.go:1461 +0x4b
github.com/jackc/pgx/v5.(*Conn).execSimpleProtocol(0x3fada33d0a78?, {0x1ba2f68?, 0x2bc64a0?}, {0x1afe719?, 0x9abd42?}, {0x0?, 0x9b869f?, 0x3fada33d0a78?})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:562 +0xb0
github.com/jackc/pgx/v5.(*Conn).exec(0x3fada32b47e0, {0x1ba2f68, 0x2bc64a0}, {0x1afe719, 0x7b}, {0x0?, 0x18c2380?, 0x2ba3a01?})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:547 +0x5dd
github.com/jackc/pgx/v5.(*Conn).Exec(0x3fada32b47e0, {0x1ba2f68?, 0x2bc64a0?}, {0x1afe719, 0x7b}, {0x0, 0x0, 0x0})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/conn.go:466 +0x114
github.com/jackc/pgx/v5/pgxpool.(*Conn).Exec(0x3fada33a0180?, {0x1ba2f68?, 0x2bc64a0?}, {0x1afe719?, 0x3fada33d0c70?}, {0x0?, 0x1866480?, 0x3fada578f350?})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/conn.go:87 +0x3c
github.com/jackc/pgx/v5/pgxpool.(*Pool).Exec(0x1866480?, {0x1ba2f68, 0x2bc64a0}, {0x1afe719, 0x7b}, {0x0, 0x0, 0x0})
/go/pkg/mod/github.com/jackc/pgx/v5@v5.7.4/pgxpool/pool.go:635 +0xf7
keskikuja.site/agent-platform/api/internal/handlers_test.setupTestDB(0x3fada341ed88)
/workspace/niko/agent-platform/api/internal/handlers/test_helpers_test.go:65 +0x4d
keskikuja.site/agent-platform/api/internal/handlers_test.setupGitHubWebhookDB(0x3fada341ed88, 0x1)
/workspace/niko/agent-platform/api/internal/handlers/webhook_github_test.go:34 +0x3d
keskikuja.site/agent-platform/api/internal/handlers_test.TestGitHubPR_InvalidSignature(0x3fada341ed88)
/workspace/niko/agent-platform/api/internal/handlers/webhook_github_test.go:293 +0x2f
testing.tRunner(0x3fada341ed88, 0x1b77f98)
/usr/local/go/src/testing/testing.go:2036 +0xea
created by testing.(*T).Run in goroutine 1
/usr/local/go/src/testing/testing.go:2101 +0x4c5
goroutine 994 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada317f110, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 964
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 949 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada3098d20, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 678
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 437 [chan receive]:
keskikuja.site/agent-platform/api/internal/auth/store.(*MemoryStore).reapLoop(0x3fada3382be0, 0x1b783c0?)
/workspace/niko/agent-platform/api/internal/auth/store/memory.go:31 +0xd7
created by keskikuja.site/agent-platform/api/internal/auth/store.NewMemoryStore in goroutine 436
/workspace/niko/agent-platform/api/internal/auth/store/memory.go:24 +0xc7
goroutine 935 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada5887b00, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 933
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 976 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada56b94a0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 974
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1025 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada56b97a0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 982
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 684 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada578fbc0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 960
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1105 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada5821d10, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1051
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1014 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada314c780, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1013
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1114 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada5886840, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1113
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1112 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada5886600, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1111
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 787 [select, 4 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada32054d0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 786
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1081 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada32faf00, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1067
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 860 [select, 3 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada32fb1a0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 859
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 953 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada3205500, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 942
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 918 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada32fac60, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 880
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 948 [select, 2 minutes]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada2f19ec0, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 939
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 990 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada3519230, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1045
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
goroutine 1041 [select]:
keskikuja.site/agent-platform/api/internal/handlers.(*SSEHub).broadcast(0x3fada562c900, {0x1ba2f68, 0x2bc64a0})
/workspace/niko/agent-platform/api/internal/handlers/sse.go:90 +0x128
created by keskikuja.site/agent-platform/api/internal/handlers.NewSSEHub in goroutine 1040
/workspace/niko/agent-platform/api/internal/handlers/sse.go:52 +0x114
FAIL keskikuja.site/agent-platform/api/internal/handlers 601.607s
|
0.000s |
| TestGitHubPR_InvalidSignature |
FAIL Failed
=== RUN TestGitHubPR_InvalidSignature
coverage: 61.1% of statements in keskikuja.site/agent-platform/api/internal/auth, keskikuja.site/agent-platform/api/internal/auth/store, keskikuja.site/agent-platform/api/internal/crypto, keskikuja.site/agent-platform/api/internal/database, keskikuja.site/agent-platform/api/internal/git, keskikuja.site/agent-platform/api/internal/handlers, keskikuja.site/agent-platform/api/internal/monitor, keskikuja.site/agent-platform/api/internal/pipeline, keskikuja.site/agent-platform/api/internal/vikunja
|
0.000s |
| TestAuthHandler_Init | PASS | 0.000s |
| TestAuthHandler_Init_NoReturnURL | PASS | 0.000s |
| TestAuthHandler_Init_AbsoluteReturnURL | PASS | 0.000s |
| TestAuthHandler_Session_NoCookie | PASS | 0.000s |
| TestAuthHandler_Session_WithSession | PASS | 0.000s |
| TestAuthHandler_Logout | PASS | 0.000s |
| TestAuthHandler_Logout_Idempotent | PASS | 0.000s |
| TestAuthHandler_Logout_WithIDToken | PASS | 0.000s |
| TestUpsertUser_InsertNewUser | PASS | 0.880s |
| TestUpsertUser_UpdateExisting | PASS | 0.860s |
| TestUpsertUser_NullImage | PASS | 0.720s |
| TestCreateBotAccount_Success | PASS | 0.670s |
| TestCreateBotAccount_TokenEncryptedInDB | PASS | 0.880s |
| TestCreateBotAccount_MissingName | PASS | 0.930s |
| TestCreateBotAccount_NameTooShort | PASS | 1.070s |
| TestCreateBotAccount_MissingToken | PASS | 1.640s |
| TestGetBotAccount_Success | PASS | 1.440s |
| TestGetBotAccount_NotFound | PASS | 0.970s |
| TestListBotAccounts | PASS | 1.200s |
| TestUpdateBotAccount_Success | PASS | 1.240s |
| TestUpdateBotAccount_NewToken | PASS | 1.710s |
| TestUpdateBotAccount_EmptyTokenDoesNotOverwrite | PASS | 2.550s |
| TestDeleteBotAccount_NotInUse | PASS | 3.420s |
| TestDeleteBotAccount_InUse | PASS | 3.120s |
| TestBotAccountEndpoints_NoSession | PASS | 2.930s |
| TestListBotAccounts_EmptyList | PASS | 5.050s |
| TestCreateBotAccount_DescriptionMax | PASS | 3.060s |
| TestCreateContainerRegistry_Success | PASS | 3.100s |
| TestCreateContainerRegistry_TokenEncryptedInDB | PASS | 3.420s |
| TestCreateContainerRegistry_PublicRegistryWithoutToken | PASS | 3.250s |
| TestCreateContainerRegistry_MissingName | PASS | 3.020s |
| TestCreateContainerRegistry_MissingURL | PASS | 3.230s |
| TestCreateContainerRegistry_InvalidURL | PASS | 3.140s |
| TestCreateContainerRegistry_InvalidNameLength | PASS | 3.000s |
| TestCreateContainerRegistry_DuplicateName | PASS | 3.020s |
| TestGetContainerRegistry_Success | PASS | 3.140s |
| TestGetContainerRegistry_NotFound | PASS | 3.020s |
| TestListContainerRegistries | PASS | 2.850s |
| TestListContainerRegistries_EmptyList | PASS | 3.040s |
| TestUpdateContainerRegistry_Success | PASS | 3.040s |
| TestUpdateContainerRegistry_NewToken | PASS | 3.340s |
| TestUpdateContainerRegistry_ClearToken | PASS | 2.250s |
| TestUpdateContainerRegistry_OmittedTokenKeepsExisting | PASS | 2.520s |
| TestUpdateContainerRegistry_EmptyBody | PASS | 1.880s |
| TestUpdateContainerRegistry_InvalidURL | PASS | 1.690s |
| TestUpdateContainerRegistry_InvalidNameLength | PASS | 1.810s |
| TestUpdateContainerRegistry_DuplicateName | PASS | 1.550s |
| TestUpdateContainerRegistry_NotFound | PASS | 1.460s |
| TestDeleteContainerRegistry_Success | PASS | 2.290s |
| TestDeleteContainerRegistry_NotFound | PASS | 1.790s |
| TestContainerRegistryEndpoints_NoSession | PASS | 2.009s |
| TestHealth | PASS | 1.370s |
| TestReady_Success | PASS | 1.430s |
| TestReady_DBDown | PASS | 0.080s |
| TestCheck_Success | PASS | 1.590s |
| TestCheck_DBDown | PASS | 0.040s |
| TestReady_ContextTimeout | PASS | 2.530s |
| TestCheck_NilRequest | PASS | 1.590s |
| TestUserHealth_NoAuth | PASS | 2.050s |
| TestUserHealth_ApiKey | PASS | 1.490s |
| TestUserHealth_SessionCookie | PASS | 1.740s |
| TestUserHealth_ExpiredSession | PASS | 2.000s |
| TestUserHealth_InvalidApiKey | PASS | 1.750s |
| TestParseLaneConfig_ValidFull | PASS | 0.000s |
| TestParseLaneConfig_StartOnly | PASS | 0.000s |
| TestParseLaneConfig_NoLanes_FreeForm | PASS | 0.000s |
| TestParseLaneConfig_Errors/lanes_not_an_object | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_missing | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_not_an_array | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_empty | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_non-positive | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_negative | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_fraction | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_string_element | PASS | 0.000s |
| TestParseLaneConfig_Errors/start_duplicate | PASS | 0.000s |
| TestParseLaneConfig_Errors/unknown_lane_key | PASS | 0.000s |
| TestParseLaneConfig_Errors/lane_value_non-positive | PASS | 0.000s |
| TestParseLaneConfig_Errors/lane_value_wrong_type | PASS | 0.000s |
| TestParseLaneConfig_Errors/duplicate_across_lanes | PASS | 0.000s |
| TestParseLaneConfig_Errors | PASS | 0.000s |
| TestLintLaneConfig_ValidFull_Clean | PASS | 0.000s |
| TestLintLaneConfig_NoLanes_NoIssues | PASS | 0.000s |
| TestLintLaneConfig_Warnings_UnconfiguredOptionalLanes | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/lanes_not_an_object | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/start_missing | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/start_not_an_array | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/start_empty | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/start_non-positive | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/start_duplicate | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/unknown_lane_key | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/lane_value_non-positive | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/lane_value_wrong_type | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules/duplicate_across_lanes | PASS | 0.000s |
| TestLintLaneConfig_ErrorRules | PASS | 0.000s |
| TestLintLaneConfig_MultipleErrorsCollected | PASS | 0.000s |
| TestLintLaneConfig_UnparseableConfig_Error | PASS | 0.000s |
| TestStartLanes | PASS | 0.000s |
| TestCreateLlmConfig_Success | PASS | 1.430s |
| TestCreateLlmConfig_ApiKeyEncryptedInDB | PASS | 1.490s |
| TestCreateLlmConfig_MissingName | PASS | 1.890s |
| TestCreateLlmConfig_NameTooShort | PASS | 2.400s |
| TestCreateLlmConfig_MissingApiKey | PASS | 2.110s |
| TestCreateLlmConfig_DuplicateName | PASS | 2.280s |
| TestGetLlmConfig_Success | PASS | 1.700s |
| TestGetLlmConfig_NotFound | PASS | 1.410s |
| TestListLlmConfigs | PASS | 2.110s |
| TestListLlmConfigs_EmptyList | PASS | 1.520s |
| TestUpdateLlmConfig_Success | PASS | 1.200s |
| TestUpdateLlmConfig_NewApiKey | PASS | 1.390s |
| TestUpdateLlmConfig_EmptyApiKeyDoesNotOverwrite | PASS | 1.210s |
| TestUpdateLlmConfig_MissingApiKeyDoesNotOverwrite | PASS | 1.150s |
| TestUpdateLlmConfig_DuplicateName | PASS | 0.820s |
| TestUpdateLlmConfig_NotFound | PASS | 1.000s |
| TestDeleteLlmConfig_Success | PASS | 1.000s |
| TestDeleteLlmConfig_NotFound | PASS | 0.840s |
| TestLlmConfigEndpoints_NoSession | PASS | 0.730s |
| TestCreatePipeline_Success | PASS | 0.800s |
| TestCreatePipeline_WithBaseBranch | PASS | 0.970s |
| TestCreatePipeline_DefaultBaseBranch | PASS | 1.130s |
| TestUpdatePipeline_BaseBranch | PASS | 0.770s |
| TestCreatePipeline_MissingName | PASS | 1.720s |
| TestCreatePipeline_InvalidProjectId | PASS | 1.040s |
| TestGetPipeline_Success | PASS | 0.850s |
| TestGetPipeline_NotFound | PASS | 1.160s |
| TestListPipelinesByProject | PASS | 1.110s |
| TestListPipelinesByProject_NotFound | PASS | 0.960s |
| TestListPipelines_FilterEnabled | PASS | 0.840s |
| TestUpdatePipeline_Success | PASS | 0.810s |
| TestUpdatePipeline_NotFound | PASS | 0.830s |
| TestDeletePipeline_Success | PASS | 0.850s |
| TestDeletePipeline_NotFound | PASS | 1.310s |
| TestGetProjectDetail_IncludesPipelines | PASS | 0.780s |
| TestCreatePipeline_WithoutOutputBranch | PASS | 0.820s |
| TestCreatePipeline_WithEmptyOutputBranch | PASS | 0.820s |
| TestCreatePipeline_WithOutputBranch | PASS | 1.370s |
| TestCreatePipeline_WithConfig | PASS | 1.480s |
| TestCreatePipeline_ConfigValidation/array_rejected | PASS | 2.250s |
| TestCreatePipeline_ConfigValidation/string_rejected | PASS | 2.120s |
| TestCreatePipeline_ConfigValidation/null_accepted | PASS | 2.060s |
| TestCreatePipeline_ConfigValidation/object_accepted | PASS | 2.590s |
| TestCreatePipeline_ConfigValidation | PASS | 9.020s |
| TestUpdatePipeline_NullifyOutputBranch | PASS | 2.180s |
| TestUpdatePipeline_Config | PASS | 1.500s |
| TestCreatePipeline_WithSkillRepos | PASS | 1.940s |
| TestCreatePipeline_EmptySkillRepos | PASS | 1.750s |
| TestCreatePipeline_SkillReposValidation/valid_list_accepted | PASS | 1.590s |
| TestCreatePipeline_SkillReposValidation/empty_list_accepted | PASS | 2.540s |
| TestCreatePipeline_SkillReposValidation/null_accepted | PASS | 2.600s |
| TestCreatePipeline_SkillReposValidation/nonexistent_repository_rejected | PASS | 1.980s |
| TestCreatePipeline_SkillReposValidation/duplicate_repository_rejected | PASS | 1.460s |
| TestCreatePipeline_SkillReposValidation/slug_collision_rejected | PASS | 1.700s |
| TestCreatePipeline_SkillReposValidation/over_cap_rejected | PASS | 2.150s |
| TestCreatePipeline_SkillReposValidation/malformed_uuid_rejected | PASS | 2.180s |
| TestCreatePipeline_SkillReposValidation | PASS | 16.200s |
| TestGetAndListPipelines_ReturnSkillRepos | PASS | 1.870s |
| TestUpdatePipeline_SkillRepos | PASS | 2.260s |
| TestUpdatePipeline_SkillReposToEmpty | PASS | 2.240s |
| TestUpdatePipeline_SkillReposAbsentKeepsExisting | PASS | 2.280s |
| TestUpdatePipeline_SkillReposValidation/nonexistent_repository | PASS | 2.300s |
| TestUpdatePipeline_SkillReposValidation/duplicate_repositories | PASS | 2.900s |
| TestUpdatePipeline_SkillReposValidation/slug_collision | PASS | 2.630s |
| TestUpdatePipeline_SkillReposValidation/over_cap | PASS | 1.810s |
| TestUpdatePipeline_SkillReposValidation | PASS | 9.640s |
| TestUpdatePipeline_SkillReposOnly_UpdateQueryIncludesUpdatedBy | PASS | 2.930s |
| TestUpdatePipeline_NoFields_NoOpGuardSkipsUpdate | PASS | 1.790s |
| TestCreatePipeline_ResponseFetchBeforeCommit | PASS | 1.930s |
| TestUpdatePipeline_ResponseFetchBeforeCommit | PASS | 2.260s |
| TestCreatePipeline_SkillRepoValidationInsideTx | PASS | 2.820s |
| TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/create_rejects_symbol-only_repo | PASS | 0.000s |
| TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422/update_rejects_symbol-only_repo | PASS | 0.000s |
| TestCreateAndUpdatePipeline_SymbolOnlyRepoNameGets422 | PASS | 1.660s |
| TestCreatePipeline_TruncationBoundarySlugCollisionGets422 | PASS | 1.590s |
| TestCreatePipeline_SkillRepoValidationErrorsAre422/missing_repository | PASS | 2.520s |
| TestCreatePipeline_SkillRepoValidationErrorsAre422/slug_collision | PASS | 2.200s |
| TestCreatePipeline_SkillRepoValidationErrorsAre422 | PASS | 4.720s |
| TestCreatePipeline_SkillRepoDBFailureIs500 | PASS | 1.910s |
| TestUpdatePipeline_WriteOnlySecrets_StoredEncryptedNotReturned | PASS | 2.040s |
| TestGetPipeline_DoesNotReturnWriteOnlySecrets | PASS | 2.300s |
| TestCreatePipeline_LaneConfigLint/valid_full_lanes_accepted | PASS | 1.830s |
| TestCreatePipeline_LaneConfigLint/warnings-only_accepted | PASS | 2.190s |
| TestCreatePipeline_LaneConfigLint/free-form_config_without_lanes_accepted | PASS | 1.720s |
| TestCreatePipeline_LaneConfigLint/lanes_not_an_object_rejected | PASS | 2.460s |
| TestCreatePipeline_LaneConfigLint/start_missing_rejected | PASS | 1.820s |
| TestCreatePipeline_LaneConfigLint/start_empty_rejected | PASS | 1.670s |
| TestCreatePipeline_LaneConfigLint/start_non-positive_rejected | PASS | 1.500s |
| TestCreatePipeline_LaneConfigLint/start_duplicate_rejected | PASS | 1.650s |
| TestCreatePipeline_LaneConfigLint/unknown_lane_key_rejected | PASS | 2.780s |
| TestCreatePipeline_LaneConfigLint/duplicate_across_lanes_rejected | PASS | 2.660s |
| TestCreatePipeline_LaneConfigLint | PASS | 20.290s |
| TestCreatePipeline_LaneConfigLint_422BodyShape | PASS | 1.990s |
| TestUpdatePipeline_LaneConfigLint/valid_lanes_accepted | PASS | 1.790s |
| TestUpdatePipeline_LaneConfigLint/warnings-only_accepted | PASS | 1.540s |
| TestUpdatePipeline_LaneConfigLint/free-form_config_without_lanes_accepted | PASS | 1.610s |
| TestUpdatePipeline_LaneConfigLint/invalid_lanes_rejected | PASS | 2.090s |
| TestUpdatePipeline_LaneConfigLint/unknown_lane_key_rejected | PASS | 1.530s |
| TestUpdatePipeline_LaneConfigLint | PASS | 8.560s |
| TestUpdatePipeline_LaneConfigLint_422BodyShape | PASS | 1.590s |
| TestCreateProject_Success | PASS | 2.240s |
| TestCreateProject_MissingName | PASS | 2.480s |
| TestCreateProject_TooShortName | PASS | 1.700s |
| TestGetProject_Success | PASS | 1.680s |
| TestGetProject_NotFound | PASS | 3.370s |
| TestListProjects_DefaultPagination | PASS | 1.070s |
| TestListProjects_SortByNameAsc | PASS | 0.950s |
| TestListProjects_InvalidSortField | PASS | 1.180s |
| TestUpdateProject_Success | PASS | 0.890s |
| TestUpdateProject_NotFound | PASS | 0.820s |
| TestDeleteProject_Success | PASS | 0.720s |
| TestDeleteProject_NotFound | PASS | 0.920s |
| TestProjectEndpoints_NoSession | PASS | 1.150s |
| TestProjectHandler_Create_WithConfig | PASS | 1.020s |
| TestProjectHandler_Create_WithSecrets | PASS | 0.740s |
| TestProjectHandler_Create_ConfigValidation/empty_object | PASS | 0.000s |
| TestProjectHandler_Create_ConfigValidation/array_rejected | PASS | 0.000s |
| TestProjectHandler_Create_ConfigValidation/string_rejected | PASS | 0.000s |
| TestProjectHandler_Create_ConfigValidation/number_rejected | PASS | 0.000s |
| TestProjectHandler_Create_ConfigValidation/null_accepted | PASS | 0.000s |
| TestProjectHandler_Create_ConfigValidation | PASS | 0.740s |
| TestProjectHandler_Update_Config | PASS | 0.980s |
| TestProjectHandler_GetDecryptedSecrets | PASS | 0.670s |
| TestProjectHandler_Get_StripsSecretsEncrypted | PASS | 0.580s |
| TestGetDecryptedSecrets_NoSecrets | PASS | 0.670s |
| TestProjectHandler_Update_Secrets | PASS | 1.030s |
| TestProjectHandler_Update_Secrets_PlainStringRejected | PASS | 0.970s |
| TestProjectHandler_Update_Secrets_EmptyStringRejected | PASS | 0.710s |
| TestProjectHandler_Create_Config_DuplicateVikunjaProjectID | PASS | 1.100s |
| TestProjectHandler_Create_Config_UnclaimedVikunjaProjectID | PASS | 0.650s |
| TestProjectHandler_Update_Config_DuplicateVikunjaProjectID | PASS | 0.640s |
| TestProjectHandler_Update_Config_SameVikunjaProjectID_Kept | PASS | 0.670s |
| TestCreateRepository_Success | PASS | 0.650s |
| TestCreateRepository_MissingBotAccountID | PASS | 0.650s |
| TestCreateRepository_BotAccountNotFound | PASS | 0.640s |
| TestCreateRepository_InvalidName | PASS | 0.620s |
| TestCreateRepository_MissingName | PASS | 1.170s |
| TestGetRepository_Success | PASS | 0.630s |
| TestGetRepository_NotFound | PASS | 0.670s |
| TestListRepositories | PASS | 0.630s |
| TestGetRepository_HasBotAccountID | PASS | 0.660s |
| TestListRepository_HasBotAccountID | PASS | 0.630s |
| TestUpdateRepository_Success | PASS | 0.870s |
| TestUpdateRepository_ChangeBotAccountID | PASS | 0.670s |
| TestUpdateRepository_NotFound | PASS | 0.690s |
| TestDeleteRepository_Success | PASS | 0.720s |
| TestDeleteRepository_NotFound | PASS | 0.780s |
| TestCheckRepositoryHealth_Connected | PASS | 1.830s |
| TestCheckRepositoryHealth_Disconnected | PASS | 2.410s |
| TestCheckRepositoryHealth_UpdatesDB | PASS | 1.960s |
| TestCheckRepositoryHealth_NotFound | PASS | 1.920s |
| TestRepositoryEndpoints_NoSession | PASS | 1.350s |
| TestCreateRun_ExecutorResourceError_PersistsResourceErrorCode | PASS | 1.000s |
| TestCreateRun_Success | PASS | 1.180s |
| TestCreateRun_MissingPipelineID | PASS | 0.920s |
| TestCreateRun_InvalidPipelineID | PASS | 1.370s |
| TestCreateRun_InvalidJSON | PASS | 0.870s |
| TestCreateRun_InvalidSourceType | PASS | 0.850s |
| TestGetRun_Success | PASS | 0.910s |
| TestGetRun_NotFound | PASS | 1.340s |
| TestListRuns_ReturnsDefaultPagination | PASS | 1.620s |
| TestListRuns_CustomLimitAndOffset | PASS | 2.490s |
| TestListRuns_LimitValidation/default_when_missing | PASS | 0.010s |
| TestListRuns_LimitValidation/valid_limit | PASS | 0.000s |
| TestListRuns_LimitValidation/max_limit_capped | PASS | 0.000s |
| TestListRuns_LimitValidation/negative_limit_uses_default | PASS | 0.000s |
| TestListRuns_LimitValidation/zero_limit_uses_default | PASS | 0.000s |
| TestListRuns_LimitValidation/invalid_format_uses_default | PASS | 0.000s |
| TestListRuns_LimitValidation | PASS | 2.070s |
| TestListRuns_FilterByPhase | PASS | 2.640s |
| TestListRuns_FilterByMultiplePhases | PASS | 3.060s |
| TestListRuns_FilterByInvalidPhase | PASS | 7.030s |
| TestListRuns_FilterProjectID | PASS | 1.970s |
| TestListRuns_FilterPipelineID | PASS | 2.580s |
| TestListRuns_FilterSourceType | PASS | 1.830s |
| TestListRuns_FilterCreatedAfter | PASS | 1.710s |
| TestListRuns_FilterCreatedBefore | PASS | 2.310s |
| TestListRuns_FilterSource | PASS | 2.970s |
| TestListRuns_SortByStartedAt | PASS | 2.930s |
| TestListRuns_FilterMultipleCriteria | PASS | 1.850s |
| TestListRuns_SortByCreatedAtDesc | PASS | 2.380s |
| TestListRuns_SortByUpdatedAtAsc | PASS | 2.830s |
| TestListRuns_InvalidSortField | PASS | 2.390s |
| TestListRuns_CursorPagination | PASS | 2.920s |
| TestUpdateRun_PhaseOnly | PASS | 3.560s |
| TestUpdateRun_Completed | PASS | 2.560s |
| TestUpdateRun_Failed | PASS | 3.240s |
| TestUpdateRun_Questions_StoredInResultJSON | PASS | 3.200s |
| TestUpdateRun_Questions_KeepsPrURL | PASS | 3.140s |
| TestUpdateRun_NotFound | PASS | 3.830s |
| TestUpdateRun_InvalidPhase | PASS | 2.990s |
| TestUpdateRun_NoAuth | PASS | 2.620s |
| TestIdempotency_NoKey | PASS | 2.680s |
| TestIdempotency_SameKeySameBody | PASS | 1.800s |
| TestIdempotency_SameKeyDifferentBody | PASS | 2.420s |
| TestHubPublishAndReceive | PASS | 0.000s |
| TestHubFilterPhaseMatch | PASS | 0.000s |
| TestHubFilterPhaseMismatch | PASS | 0.200s |
| TestHubFilterSourceType | PASS | 0.200s |
| TestSubscribeSSE_NoAuth | PASS | 3.070s |
| TestSubscribeSSE_InvalidAPIKey | PASS | 2.160s |
| TestRunCreationPublishesSSEEvent | PASS | 3.580s |
| TestSubscribeSSE_Heartbeat | PASS | 2.100s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_0_→_pr_open | PASS | 2.230s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_1_→_failed | PASS | 3.680s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_10_→_open_questions | PASS | 3.500s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_11_→_blocked | PASS | 5.930s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_20_→_needs_rework | PASS | 6.130s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_21_→_pr_rejected | PASS | 3.970s |
| TestVikunjaSync_ExitCodeLaneMapping/exit_22_→_open_questions | PASS | 3.830s |
| TestVikunjaSync_ExitCodeLaneMapping | PASS | 29.270s |
| TestVikunjaSync_UnknownExitCode_NoOp | PASS | 9.830s |
| TestVikunjaSync_RepeatedPatch_Idempotent | PASS | 11.360s |
| TestVikunjaSync_TargetLaneUndefined_CommentOnly | PASS | 17.400s |
| TestVikunjaSync_ErrorComment_IncludesErrorInfo | PASS | 14.580s |
| TestVikunjaSync_VikunjaApiError_KeepsRunUpdate_SyncFalse | PASS | 9.170s |
| TestVikunjaSync_PrURL_StoredInResultJSON_AndInComment | PASS | 6.560s |
| TestVikunjaSync_CommentUpdateInPlace_WhenCommentIDExists | PASS | 7.000s |
| TestVikunjaSync_ContinuationRun_Exit20 | PASS | 9.690s |
| TestVikunjaSync_NoContinuationRun_WhenNeedsReworkUndefined | PASS | 10.880s |
| TestVikunjaSync_NoContinuationRun_WhenPendingRunExists | PASS | 3.400s |
| TestVikunjaSync_FailedMode_IgnoresExitCode | PASS | 5.530s |
| TestVikunjaSync_Migration020_ColumnsExist | PASS | 7.110s |
| TestVikunjaSync_OpenQuestions_QuestionsComment/exit_10_→_open_questions | PASS | 5.620s |
| TestVikunjaSync_OpenQuestions_QuestionsComment/exit_22_→_open_questions | PASS | 2.790s |
| TestVikunjaSync_OpenQuestions_QuestionsComment | PASS | 8.410s |
| TestVikunjaSync_OpenQuestions_EmptyQuestions_GenericComment | PASS | 1.600s |
| TestVikunjaSync_OpenQuestions_QuestionsAbsent_GenericComment | PASS | 1.420s |
| TestVikunjaSync_ContinuationRun_GetsTicketContext | PASS | 1.640s |
| TestVikunjaSync_DoubleSyncSequential_OneExternalSync | PASS | 1.760s |
| TestVikunjaSync_FailureRollback_RetryUpdateInPlace | PASS | 2.700s |
| TestVikunjaSync_Success_PersistsCommentID | PASS | 2.140s |
| TestVikunjaSync_ConcurrentPaths_SingleExternalSync | PASS | 1.360s |
| TestVikunjaSync_Migration020_BackfillPresent | PASS | 0.000s |
| TestGitHubPR_ValidHMAC_CreatesRun | PASS | 1.450s |
| TestGitHubPR_ValidHMAC_StoresPRDescription | PASS | 1.290s |
| TestGitHubPR_ValidHMAC_GiteaSignature | PASS | 6.680s |
| TestGitHubPR_GiteaSynchronizedAction_CreatesRun | PASS | 2.009s |
| TestGitHubPR_NoAPIKeyValidHMAC_Accepted | PASS | 1.980s |
| TestGitHubPR_MissingSignature | PASS | 1.460s |
| Test | Status | Time |
|---|---|---|
| TestLlmConfig_MarshalJSON_ExcludesApiKeyEncrypted | PASS | 0.000s |
| TestLlmConfig_MarshalJSON_IncludesVisibleFields | PASS | 0.000s |
| TestCreateLlmConfigRequest_UnmarshalJSON | PASS | 0.000s |
| TestCreateLlmConfigRequest_MarshalJSON_IncludesApiKey | PASS | 0.000s |
| TestUpdateLlmConfigRequest_UnmarshalJSON_AllFields | PASS | 0.000s |
| TestUpdateLlmConfigRequest_UnmarshalJSON_PartialUpdate | PASS | 0.000s |
| TestUpdateLlmConfigRequest_MarshalJSON_OmitsApiKey | PASS | 0.000s |
| TestPipeline_MarshalJSON_IncludesConfig | PASS | 0.000s |
| TestPipeline_MarshalJSON_OutputBranchNullWhenNil | PASS | 0.000s |
| TestPipeline_MarshalJSON_OutputBranchValueWhenSet | PASS | 0.000s |
| TestPipeline_UnmarshalJSON_OutputBranchNullUnmarshalsToNil | PASS | 0.000s |
| TestCreatePipelineRequest_AcceptsConfigAndNullableOutputBranch | PASS | 0.000s |
| TestCreatePipelineRequest_OutputBranchValueWhenSet | PASS | 0.000s |
| TestUpdatePipelineRequest_AcceptsConfig | PASS | 0.000s |
| TestPipeline_ConfigNilMarshalsToNull | PASS | 0.000s |
| TestPipeline_MarshalJSON_IncludesSkillRepos | PASS | 0.000s |
| TestPipeline_SkillReposJSONRoundTrip | PASS | 0.000s |
| TestCreatePipelineRequest_AcceptsSkillRepos | PASS | 0.000s |
| TestUpdatePipelineRequest_AcceptsSkillRepos | PASS | 0.000s |
| TestUpdatePipelineRequest_SkillReposEmptySliceIsNotNil | PASS | 0.000s |
| TestUpdatePipelineRequest_SkillReposAbsentStaysNil | PASS | 0.000s |
| TestProject_MarshalJSON_IncludesConfig | PASS | 0.000s |
| TestProject_MarshalJSON_ExcludesSecretsEncrypted | PASS | 0.000s |
| TestProject_UnmarshalJSON_AcceptsConfig | PASS | 0.000s |
| TestProject_UnmarshalJSON_SecretsEncryptedNotFromJSON | PASS | 0.000s |
| TestCreateProjectRequest_AcceptsConfigAndSecrets | PASS | 0.000s |
| TestCreateProjectRequest_MarshalJSON_ConfigAndSecrets | PASS | 0.000s |
| TestUpdateProjectRequest_AcceptsConfigAndSecrets | PASS | 0.000s |
| TestProject_ConfigNilMarshalsToNull | PASS | 0.000s |
| TestPRMetadata_MarshalJSON | PASS | 0.000s |
| TestPRMetadata_UnmarshalJSON | PASS | 0.000s |
| TestSourceMetadata_WithPR_MarshalJSON | PASS | 0.000s |
| TestSourceMetadata_WithoutPR_MarshalJSON | PASS | 0.000s |
| TestSourceMetadata_PRNil_OmitsFromJSON | PASS | 0.000s |
| Test | Status | Time |
|---|---|---|
| TestCheckOne_Connected | PASS | 1.680s |
| TestCheckOne_Disconnected | PASS | 1.230s |
| TestCheckOne_UpdatesDBStatus | PASS | 1.710s |
| TestCheckOne_UpdatesLastCheckedAt | PASS | 1.540s |
| TestCheckOne_WithEncryptedToken | PASS | 1.400s |
| TestCheckAll_IteratesAllRepos | PASS | 1.810s |
| TestCheckOne_WithCorruptToken_ProceedsWithoutToken | PASS | 1.070s |
| TestStartStop_RunsUntilCancelled | PASS | 1.470s |
| TestStartStop_StopIsIdempotent | PASS | 1.150s |
| TestRunWatchdog_JobFailed_MarksRunFailed | PASS | 1.010s |
| TestRunWatchdog_JobSucceededWithoutCallback_MarksRunFailed | PASS | 1.060s |
| TestRunWatchdog_NoJobTimeout_MarksRunFailed | PASS | 2.590s |
| TestRunWatchdog_WithinTimeout_NotModified | PASS | 1.030s |
| TestRunWatchdog_AlreadyCompleted_NotModified | PASS | 0.650s |
| TestRunWatchdog_StartStop_Lifecycle | PASS | 0.780s |
| TestRunWatchdog_JobFailed_MarksFailedAndSyncsVikunja | PASS | 0.880s |
| Test | Status | Time |
|---|---|---|
| TestMockExecutor_Start | PASS | 0.000s |
| TestMockExecutor_Interface | PASS | 0.000s |
| Test | Status | Time |
|---|---|---|
| TestDiscoverManifestFiles_WorkflowsAndAgents | PASS | 0.000s |
| TestDiscoverManifestFiles_MissingManifestDir | PASS | 0.000s |
| TestDiscoverManifestFiles_OnlyYaml | PASS | 0.000s |
| TestLoadPipelineManifest_Match | PASS | 0.000s |
| TestLoadPipelineManifest_NotFoundListsAvailable | PASS | 0.000s |
| TestLoadPipelineManifest_UnparsableYaml | PASS | 0.000s |
| TestParseEnvRef_Valid | PASS | 0.000s |
| TestParseEnvRef_Invalid | PASS | 0.000s |
| TestParseEnvRefs_SortedAndDeterministic | PASS | 0.000s |
| TestParseEnvRefs_InvalidValueNamesEnv | PASS | 0.000s |
| TestBuildEnvContainers_SlugNamesAndPolicy | PASS | 0.000s |
| TestBuildEnvContainers_SlugCollisionFails/same_slug_after_collapse | PASS | 0.000s |
| TestBuildEnvContainers_SlugCollisionFails/collision_at_64-char_truncation_boundary | PASS | 0.000s |
| TestBuildEnvContainers_SlugCollisionFails | PASS | 0.000s |
| TestRegistryHost_StripsSchemeKeepsPort | PASS | 0.000s |
| TestRegistryHost_Invalid | PASS | 0.000s |
| TestBuildDockerConfigJSON_AuthsKeyNoScheme | PASS | 0.000s |
| TestBuildJobSpec_Name | PASS | 0.000s |
| TestBuildJobSpec_Namespace | PASS | 0.000s |
| TestBuildJobSpec_Labels | PASS | 0.000s |
| TestBuildJobSpec_BackoffLimit | PASS | 0.000s |
| TestBuildJobSpec_TTL | PASS | 0.000s |
| TestBuildJobSpec_RestartPolicy | PASS | 0.000s |
| TestBuildJobSpec_ServiceAccount | PASS | 0.000s |
| TestBuildJobSpec_ContainerImage | PASS | 0.000s |
| TestBuildJobSpec_ContainerName | PASS | 0.000s |
| TestBuildJobSpec_Command | PASS | 0.000s |
| TestBuildJobSpec_EnvVars | PASS | 0.000s |
| TestBuildJobSpec_SingleContainerOnly | PASS | 0.000s |
| TestStart_CreatesJob | PASS | 0.270s |
| TestStart_SKILL_REPOS_Present | PASS | 0.220s |
| TestStart_SKILL_REPOS_AbsentWhenEmpty | PASS | 0.440s |
| TestStart_PREnvvars | PASS | 0.220s |
| TestStart_TicketEnvVars | PASS | 0.230s |
| TestStart_TicketContextEnv | PASS | 0.210s |
| TestStart_TicketEmptyBaseBranch | PASS | 0.450s |
| TestStart_NoPR | PASS | 0.270s |
| TestStart_WithBotToken | PASS | 0.350s |
| TestStart_ManifestRepoToken/with_bot_account_token | PASS | 0.330s |
| TestStart_ManifestRepoToken/without_bot_account_token | PASS | 0.200s |
| TestStart_ManifestRepoToken | PASS | 0.540s |
| TestStart_SkillRepoDecryptTokenError | PASS | 0.260s |
| TestStart_BranchProfileBaseBranch | PASS | 0.240s |
| TestStart_NoBotToken | PASS | 0.260s |
| TestStart_DecryptTokenError | PASS | 0.000s |
| TestStart_GiteaBaseURLParsing | PASS | 0.200s |
| TestStart_RepoURLNoHost | PASS | 0.000s |
| TestStart_LangfuseEnvVars | PASS | 0.240s |
| TestStart_DefaultNamespace | PASS | 0.250s |
| TestNewK8sExecutor_MissingEnvVars/missing_NAMESPACE | PASS | 0.000s |
| TestNewK8sExecutor_MissingEnvVars/missing_CORE_IMAGE | PASS | 0.000s |
| TestNewK8sExecutor_MissingEnvVars/missing_RELEASE_NAME | PASS | 0.000s |
| TestNewK8sExecutor_MissingEnvVars/missing_API_URL | PASS | 0.000s |
| TestNewK8sExecutor_MissingEnvVars/missing_ENGINE_API_KEY | PASS | 0.000s |
| TestNewK8sExecutor_MissingEnvVars | PASS | 0.000s |
| TestStart_WithEnvContainers | PASS | 0.240s |
| TestStart_ImagePullSecretOwnedByJob | PASS | 0.220s |
| TestStart_EnvFreeInvariant | PASS | 0.220s |
| TestStart_ManifestFetchFails | PASS | 0.050s |
| TestStart_PipelineManifestNotFound | PASS | 0.260s |
| TestStart_UnknownRegistry | PASS | 0.230s |
| TestStart_EnvValueMissingTag | PASS | 0.250s |
| Test | Status | Time |
|---|
| Test | Status | Time |
|---|---|---|
| TestPostComment_Success | PASS | 0.000s |
| TestUpdateComment_Success | PASS | 0.000s |
| TestMoveTask_Success | PASS | 0.000s |
| TestPostComment_TransportError_RetriesThenSucceeds | PASS | 0.400s |
| TestPostComment_5xx_RetriesThenFails | PASS | 1.200s |
| TestPostComment_5xx_ThenSuccess | PASS | 1.200s |
| TestMoveTask_4xx_NoRetry | PASS | 0.000s |
| TestPostComment_WrongStatus_NoRetry | PASS | 0.000s |
| TestPostComment_MissingIDInResponse | PASS | 0.000s |
| TestNewClient_TrimsTrailingSlash | PASS | 0.000s |
| TestMoveTask_ContextCancelled_Aborts | PASS | 0.000s |
| TestPostComment_ResponseBodyJSONShape | PASS | 0.000s |
| TestMoveTask_RequestBodyIsBucketID | PASS | 0.000s |
| TestGetTask_Success | PASS | 0.000s |
| TestGetComments_Success | PASS | 0.000s |
| TestGetTask_5xx_NoRetry | PASS | 0.000s |
| TestGetComments_4xx_NoRetry | PASS | 0.000s |
| TestGetComments_EmptyList | PASS | 0.000s |