Обновить доказательства на коде после ревью, сверить с ними отчёт и выделить исправления базы в шаблоне PR
Application / unit (pull_request) Canceled after 0s
Application / e2e (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-10-21 15:15:37 +03:00
parent 7aa86d36ba
commit bb5981f522
10 changed files with 119 additions and 107 deletions
+45 -44
View File
@@ -1,49 +1,50 @@
# Automated tests against real PostgreSQL and Valkey (testcontainers): go test -race -v
# date: 2026-10-06T13:02:19Z, commit: 949622e (branch solution/bpi2301-bakulin)
# host: Windows 11, Docker Desktop 28.5.1 (4 CPU, 4111327232 bytes RAM), Go go1.27.1
# full suite: make unit (go test -race -count=1 ./...), 16 packages ok
# date: 2026-10-21T12:09:10Z, commit: 7aa86d3 (branch solution/bpi2301-bakulin)
# host: Windows 11, Docker Desktop 28.5.1 (4 CPU, 4111327232 bytes RAM), Go go1.27.1, Python 3.13.1
# full suite: make unit (go test -race -count=1 ./...), 16 packages ok, 0 failed
--- PASS: TestRegisterUserShapeAndConflicts (0.31s)
--- PASS: TestConcurrentSendsProduceExactlyUniqueMessages (1.92s)
--- PASS: TestLoginReturnsBearerSession (0.35s)
--- PASS: TestLoginFailuresAreUniformBasicChallenges (0.43s)
--- PASS: TestLoginAcceptsColonAndUnicodePasswords (0.14s)
--- PASS: TestProtectedRoutesAcceptOnlyBearer (0.26s)
--- PASS: TestLogoutRevokesOnlyTheCurrentToken (0.19s)
--- PASS: TestSessionExpiresAfterTTL (1.35s)
--- PASS: TestValkeyOutageAnswers503 (3.98s)
--- PASS: TestPostgresOutageAnswers503 (4.06s)
--- PASS: TestHungPostgresAnswers503WithinTheRequestTimeout (5.45s)
ok messenger/internal/app 29.152s
--- PASS: TestLoginIssuesOpaqueTokenBackedByStoredSession (0.20s)
--- PASS: TestLoginWithBadCredentialsCreatesNoSession (0.30s)
--- PASS: TestAuthenticateResolvesTheOwner (0.27s)
--- PASS: TestLogoutRevokesOnlyThatSession (0.36s)
--- PASS: TestSessionExpiresAfterTTL (1.34s)
ok messenger/internal/auth 13.245s
--- PASS: TestCreateRollsBackWhenMemberInsertFails (0.08s)
--- PASS: TestConcurrentAppendsKeepEveryMessage (0.21s)
ok messenger/internal/chat/store 9.320s
--- PASS: TestKindOfDefaultsToInternal (0.00s)
ok messenger/internal/platform/apperr 1.572s
--- PASS: TestDefaults (0.02s)
--- PASS: TestSecretFilesAreRequiredAndNeverEchoed (0.07s)
--- PASS: TestOverrides (0.02s)
--- PASS: TestInvalidValuesAreReported (0.09s)
ok messenger/internal/platform/config 1.801s
--- PASS: TestUnavailableCauseIsLoggedButNotReturned (0.06s)
--- PASS: TestRegisterUserShapeAndConflicts (0.18s)
--- PASS: TestConcurrentSendsProduceExactlyUniqueMessages (0.97s)
--- PASS: TestLoginReturnsBearerSession (0.14s)
--- PASS: TestLoginFailuresAreUniformBasicChallenges (0.26s)
--- PASS: TestLoginAcceptsColonAndUnicodePasswords (0.08s)
--- PASS: TestProtectedRoutesAcceptOnlyBearer (0.17s)
--- PASS: TestLogoutRevokesOnlyTheCurrentToken (0.16s)
--- PASS: TestSessionExpiresAfterTTL (1.29s)
--- PASS: TestValkeyOutageAnswers503 (3.75s)
--- PASS: TestPostgresOutageAnswers503 (3.83s)
--- PASS: TestHungPostgresAnswers503WithinTheRequestTimeout (5.34s)
ok messenger/internal/app 30.321s
--- PASS: TestLoginIssuesOpaqueTokenBackedByStoredSession (0.11s)
--- PASS: TestLoginWithBadCredentialsCreatesNoSession (0.21s)
--- PASS: TestAuthenticateResolvesTheOwner (0.15s)
--- PASS: TestLogoutRevokesOnlyThatSession (0.14s)
--- PASS: TestSessionExpiresAfterTTL (1.19s)
ok messenger/internal/auth 15.854s
ok messenger/internal/chat 12.655s [no tests to run]
--- PASS: TestConcurrentAppendsKeepEveryMessage (0.17s)
ok messenger/internal/chat/store 13.188s
ok messenger/internal/platform/apperr 1.627s [no tests to run]
ok messenger/internal/platform/config 1.627s [no tests to run]
--- PASS: TestUnavailableCauseIsLoggedButNotReturned (0.03s)
--- PASS: TestTimeoutBoundsTheRequestContext (0.05s)
ok messenger/internal/platform/httpx 5.748s
--- PASS: TestMigrateIsRepeatable (0.01s)
ok messenger/internal/platform/httpx 2.942s
ok messenger/internal/platform/ident 1.656s [no tests to run]
ok messenger/internal/platform/pagination 1.778s [no tests to run]
ok messenger/internal/platform/password 1.641s [no tests to run]
--- PASS: TestMigrateIsRepeatable (0.02s)
--- PASS: TestPoolAppliesLimitsAndTimeouts (0.01s)
--- PASS: TestClassifyMarksUnreachableDatabaseAsUnavailable (0.00s)
--- PASS: TestClassifyRealConnectFailure (0.00s)
ok messenger/internal/platform/postgres 9.271s
--- PASS: TestRegisterStoresUserWithPasswordHash (0.11s)
--- PASS: TestRegisterRejectsInvalidInputAndStoresNothing (0.02s)
--- PASS: TestRegisterReportsDuplicateAsConflict (0.21s)
--- PASS: TestConcurrentRegistrationOfOneUsernameHasOneWinner (0.30s)
--- PASS: TestExistingIDsReturnsOnlyRegistered (0.27s)
--- PASS: TestAuthenticateChecksPassword (0.16s)
--- PASS: TestAuthenticateFailuresLookTheSame (0.39s)
ok messenger/internal/user 10.562s
--- PASS: TestClassifyRealConnectFailure (0.01s)
ok messenger/internal/platform/postgres 9.771s
ok messenger/internal/platform/valkey 2.782s [no tests to run]
ok messenger/internal/server 3.156s [no tests to run]
ok messenger/internal/testenv 2.767s [no tests to run]
--- PASS: TestRegisterStoresUserWithPasswordHash (0.08s)
--- PASS: TestRegisterRejectsInvalidInputAndStoresNothing (0.01s)
--- PASS: TestRegisterReportsDuplicateAsConflict (0.14s)
--- PASS: TestConcurrentRegistrationOfOneUsernameHasOneWinner (0.24s)
--- PASS: TestExistingIDsReturnsOnlyRegistered (0.16s)
--- PASS: TestAuthenticateChecksPassword (0.14s)
--- PASS: TestAuthenticateFailuresLookTheSame (0.32s)
ok messenger/internal/user 12.868s