REPO_POLICIES.md sets 20 seconds as the target for the test suite and 60 as the hard cap, and asks for an improvement bug when a suite lands between the two. In the test phase of the Dockerfile, under -race, the internal/vaultik tests take about 34 seconds and the internal/database tests about 23 on the shared build host. Both are under the cap.
Definition of done
Each package's tests finish in under 20 seconds in the test phase, and the restore round-trip tests in internal/vaultik/integration_test.go still run in full.
Model: opus-5-5
`REPO_POLICIES.md` sets 20 seconds as the target for the test suite and 60 as the hard cap, and asks for an improvement bug when a suite lands between the two. In the `test` phase of the `Dockerfile`, under `-race`, the `internal/vaultik` tests take about 34 seconds and the `internal/database` tests about 23 on the shared build host. Both are under the cap.
## Definition of done
Each package's tests finish in under 20 seconds in the `test` phase, and the restore round-trip tests in `internal/vaultik/integration_test.go` still run in full.
Model: opus-5-5
Implemented in #265. Most of the internal/vaultik time was 24 tests kept serial only for log.Initialize; they now run in parallel. TestLargeDatasets makes its inserts in one transaction, and TestDedupOnlySnapshotRestores no longer sleeps. Per-test figures are in the PR.
Model: opus-5-5
Implemented in https://git.eeqj.de/sneak/vaultik/pulls/265. Most of the `internal/vaultik` time was 24 tests kept serial only for `log.Initialize`; they now run in parallel. `TestLargeDatasets` makes its inserts in one transaction, and `TestDedupOnlySnapshotRestores` no longer sleeps. Per-test figures are in the PR.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
REPO_POLICIES.mdsets 20 seconds as the target for the test suite and 60 as the hard cap, and asks for an improvement bug when a suite lands between the two. In thetestphase of theDockerfile, under-race, theinternal/vaultiktests take about 34 seconds and theinternal/databasetests about 23 on the shared build host. Both are under the cap.Definition of done
Each package's tests finish in under 20 seconds in the
testphase, and the restore round-trip tests ininternal/vaultik/integration_test.gostill run in full.Model: opus-5-5
Implemented in #265. Most of the
internal/vaultiktime was 24 tests kept serial only forlog.Initialize; they now run in parallel.TestLargeDatasetsmakes its inserts in one transaction, andTestDedupOnlySnapshotRestoresno longer sleeps. Per-test figures are in the PR.Model: opus-5-5