#887

~bigbes/monorepo/tokens

success

tokens @ tokens/web: send ecore's nonce-only content security policy

Owner
~bigbes
Created
12 days ago
Updated
12 days ago
Build manifest
view manifest »

Artifacts

cover.out 60.5 KiB download »
bench.txt 21.2 KiB download »
Build artifacts are pruned after 90 days.

Tasks

view log »
art_install view log »
art_init view log »
scss view log »
keygen view log »
version view log »
cache_restore view log »
postgres view log »
test view log »
build view log »
publish view log »
cache_save view log »
coverage view log »
bench view log »
go to bottom »
go to top »
setup
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[#887] 2026/09/25 06:48:31 Worker version 0.105.5 (built on 2026-08-31)
[#887] 2026/09/25 06:48:31 Running build on srht-build-1.lab.internal
[#887] 2026/09/25 06:48:31 Booting image alpine/edge (default) on port 22210
Waiting for VM to come up...
ssh: connect to host localhost port 22210: Connection refused
Attempt 1...
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 22210
Attempt 2...
Warning: Permanently added '[localhost]:22210' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22210' (ED25519) to the list of known hosts.
[#887] 2026/09/25 06:48:41 preconfigure: ok
[#887] 2026/09/25 06:48:41 Waiting for guest to settle
[#887] 2026/09/25 06:48:41 Sending tasks
[#887] 2026/09/25 06:48:44 Sending build environment
[#887] 2026/09/25 06:48:45 Sending secrets
[#887] 2026/09/25 06:48:45 Resolving secret c7968415-1a6d-4ca0-a188-150fb7f57b65
[#887] 2026/09/25 06:48:45 Installing packages
Warning: Permanently added '[localhost]:22210' (ED25519) to the list of known hosts.
( 1/15) Upgrading busybox (1.38.0-r6 -> 1.38.0-r7)
  Executing busybox-1.38.0-r7.post-upgrade
( 2/15) Upgrading busybox-binsh (1.38.0-r6 -> 1.38.0-r7)
( 3/15) Upgrading busybox-mdev-openrc (1.38.0-r6 -> 1.38.0-r7)
( 4/15) Upgrading libcrypto3 (3.5.8-r0 -> 3.5.8-r1)
( 5/15) Upgrading libssl3 (3.5.8-r0 -> 3.5.8-r1)
( 6/15) Upgrading ssl_client (1.38.0-r6 -> 1.38.0-r7)
( 7/15) Upgrading busybox-openrc (1.38.0-r6 -> 1.38.0-r7)
( 8/15) Upgrading busybox-suid (1.38.0-r6 -> 1.38.0-r7)
( 9/15) Upgrading openssl (3.5.8-r0 -> 3.5.8-r1)
(10/15) Upgrading libmagic (5.47-r2 -> 5.48-r0)
(11/15) Upgrading file (5.47-r2 -> 5.48-r0)
(12/15) Upgrading libexpat (2.8.4-r0 -> 2.8.5-r0)
(13/15) Upgrading libblkid (2.42.3-r1 -> 2.42.4-r0)
(14/15) Upgrading libuuid (2.42.3-r1 -> 2.42.4-r0)
(15/15) Upgrading blkid (2.42.3-r1 -> 2.42.4-r0)
Executing busybox-1.38.0-r7.trigger
OK: 527.7 MiB in 142 packages
Warning: Permanently added '[localhost]:22210' (ED25519) to the list of known hosts.
( 1/15) Installing go (1.27.1-r0)
( 2/15) Installing minify (2.24.17-r0)
( 3/15) Installing postgresql-common (1.3-r1)
  Executing postgresql-common-1.3-r1.pre-install
( 4/15) Installing lz4-libs (1.10.0-r1)
( 5/15) Installing libpq (18.6-r0)
( 6/15) Installing postgresql18-client (18.6-r0)
( 7/15) Installing icu-data-en (78.1-r0)
  Executing icu-data-en-78.1-r0.post-install
  * If you need ICU with non-English locales and legacy charset support, install
  * package icu-data-full.
( 8/15) Installing icu-libs (78.1-r0)
( 9/15) Installing liburing (2.15-r0)
(10/15) Installing libxml2 (2.13.9-r2)
(11/15) Installing postgresql18 (18.6-r0)
  Executing postgresql18-18.6-r0.post-install
  * 
  * If you want to use JIT in PostgreSQL, install postgresql18-jit or
  * postgresql-jit (if you didn't install specific major version of postgresql).
  * 
(12/15) Installing postgresql-common-openrc (1.3-r1)
(13/15) Installing postgresql18-openrc (18.6-r0)
(14/15) Installing libsass (3.6.6-r0)
(15/15) Installing sassc (3.6.2-r5)
Executing busybox-1.38.0-r7.trigger
Executing postgresql-common-1.3-r1.trigger
* Setting postgresql18 as the default version
OK: 748.9 MiB in 157 packages
[#887] 2026/09/25 06:48:58 Cloning repositories
Cloning into 'sr-ht-monorepo'...
+ git -C sr-ht-monorepo checkout -q 4043b69746e4f04d5df4f465303a31a24e78a300
+ git -C sr-ht-monorepo submodule update --init --recursive
[#887] 2026/09/25 06:49:01 Running task art_install
[#887] 2026/09/25 06:49:01 Running task art_init
[#887] 2026/09/25 06:49:01 Running task scss
[#887] 2026/09/25 06:49:02 Running task keygen
[#887] 2026/09/25 06:49:02 Running task version
[#887] 2026/09/25 06:49:03 Running task cache_restore
[#887] 2026/09/25 06:49:10 Running task postgres
[#887] 2026/09/25 06:49:12 Running task test
[#887] 2026/09/25 06:50:37 Running task build
[#887] 2026/09/25 06:51:45 Running task publish
[#887] 2026/09/25 06:51:46 Running task cache_save
[#887] 2026/09/25 06:51:46 Running task coverage
[#887] 2026/09/25 06:51:47 Running task bench
[#887] 2026/09/25 06:55:58 Uploading cover.out
[#887] 2026/09/25 06:55:58 https://phoebe.lab.internal:3900/srht/builds/~bigbes/887/236d7669678188bf/cover.out
[#887] 2026/09/25 06:55:58 Uploading bench.txt
[#887] 2026/09/25 06:55:58 https://phoebe.lab.internal:3900/srht/builds/~bigbes/887/236d7669678188bf/bench.txt
qemu-system-x86_64: terminating on signal 15 from pid 30028 (/bin/sh)
art_install
1
2
3
4
+ /home/build/sr-ht-monorepo/ci/lib/art.sh install
art dev
revision: 7a1c17701ee3e58e74e29616f5c407c9607cd3dd
go: go1.27.0 linux/amd64
art_init
1
2
3
4
5
+ /home/build/sr-ht-monorepo/ci/lib/art.sh init
wrote /home/build/.config/art/config.toml
endpoint=https://artifacts.srht.bigb.es token_file=/home/build/.srht-token cache_ns=sr-ht-tokens
token_source=/home/build/.srht-token token_len=91
smoke: token accepted
scss
1
2
+ /home/build/sr-ht-monorepo/ci/lib/scss.sh
hit sr-ht-tokens/deps/scss/0.84.7-779ad9f174ea5ab7e755f6df0ec9e5912d67dd16.tar.zst -> /home/build/scss
keygen
1
2
+ /home/build/sr-ht-monorepo/ci/lib/keygen.sh
writing RSA key
version
1
2
+ /home/build/sr-ht-monorepo/ci/lib/version.sh
building 0.0.71 from 4043b697
cache_restore
1
2
3
4
+ /home/build/sr-ht-monorepo/ci/lib/cache.sh restore
hit sr-ht-tokens/deps/gomod/8ebfa6d40e0df7d0.tar.zst -> /home/build/go/pkg/mod
hit sr-ht-tokens/deps/gocache/8ebfa6d40e0df7d0.tar.zst -> /home/build/.cache/go-build
all modules verified
postgres
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
26
27
28
29
30
31
32
33
34
35
36
+ /home/build/sr-ht-monorepo/ci/lib/postgres.sh
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with this locale configuration:
  locale provider:   libc
  LC_COLLATE:  C
  LC_CTYPE:    C.UTF-8
  LC_MESSAGES: C
  LC_MONETARY: C
  LC_NUMERIC:  C
  LC_TIME:     C
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are enabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default "max_connections" ... 100
selecting default "shared_buffers" ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok


Success.

initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
waiting for server to start.... done
server started
postgres up, TOKENSSRHT_TEST_PG exported
test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
+ cd sr-ht-monorepo/services/tokens
+ '[' -z 'postgresql://build@127.0.0.1/tokenssrht_test?sslmode=disable' ']'
+ gofmt -l .
+ tee /tmp/fmt
+ test '!' -s /tmp/fmt
+ go vet ./...
+ go test -covermode=atomic -coverprofile=/home/build/cover.out ./...
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/api	0.027s	coverage: 86.2% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/authn	0.022s	coverage: 98.7% of statements
	sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht		coverage: 0.0% of statements
	sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht-migrate		coverage: 0.0% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/core	0.004s	coverage: 36.2% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/db	2.560s	coverage: 73.4% of statements
?   	sourcecraft.dev/bigbes/sr-ht-tokens/internal/build	[no test files]
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/service	0.025s	coverage: 87.4% of statements
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/web	0.136s	coverage: 93.4% of statements
+ tail -1
+ go tool cover -func=/home/build/cover.out
total:									(statements)			69.3%
build
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
+ cd sr-ht-monorepo/services/tokens
+ REPODEST=/home/build/packages
+ abuild -d
>>> tokens.sr.ht: Building services/tokens.sr.ht 0.0.71-r0 (using abuild 3.18.0_rc5-r1) started Fri, 25 Sep 2026 06:50:37 +0000
>>> tokens.sr.ht: Validating /home/build/sr-ht-monorepo/services/tokens/APKBUILD...
>>> WARNING: tokens.sr.ht: AGENTS.md is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: CLAUDE.md is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: Makefile is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: README.md is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: SPEC.md is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: api is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: authn is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: cmd is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: config.example.ini is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: core is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: db is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: docs is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: go.mod is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: go.sum is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: internal is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: migrations is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: schema.sql is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: scss is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: service is not in $source/$install/$triggers
>>> WARNING: tokens.sr.ht: web is not in $source/$install/$triggers
>>> tokens.sr.ht: Cleaning up srcdir
>>> tokens.sr.ht: Cleaning up pkgdir
>>> tokens.sr.ht: Cleaning up tmpdir
mkdir -p web/static
rm -f web/static/main.css web/static/main.min.*.css
sassc -I/usr/share/sourcehut/scss scss/main.scss web/static/main.css
/usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #007bff (AERT).
/usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #17a2b8 (AERT).
/usr/share/sourcehut/scss/contrast.scss:72 DEBUG: #fff was adjusted to #fff but this is not enough contrast to #dc3545 (AERT).
minify -o web/static/main.min.css web/static/main.css
(8.0 ms, 162 kB, 125 kB,  77.2%,  20 MB/s) - web/static/main.css to web/static/main.min.css
mv web/static/main.min.css \
	web/static/main.min.$(sha256sum web/static/main.min.css | cut -c1-8).css
rm -f web/static/main.css
go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-tokens/internal/build.Version=4043b697" -o tokensrht ./cmd/tokensrht
go build -ldflags "-X sourcecraft.dev/bigbes/sr-ht-tokens/internal/build.Version=4043b697" -o tokensrht-migrate ./cmd/tokensrht-migrate
./tokensrht is stamped 4043b69746e4f04d5df4f465303a31a24e78a300
>>> tokens.sr.ht: Entering fakeroot...
install -Dm755 tokensrht /home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/bin/tokensrht
install -Dm755 tokensrht-migrate /home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/bin/tokensrht-migrate
mkdir -p /home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/share/sourcehut/migrations/tokens.sr.ht
install -Dm644 -t /home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/share/sourcehut/migrations/tokens.sr.ht migrations/*.sql
install -Dm644 schema.sql /home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/share/sourcehut/tokens.sr.ht.sql
/home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/bin/tokensrht is stamped 4043b69746e4f04d5df4f465303a31a24e78a300
/home/build/sr-ht-monorepo/services/tokens/pkg/tokens.sr.ht/usr/bin/tokensrht embeds main.min.152a5b52.css
>>> tokens.sr.ht*: Running postcheck for tokens.sr.ht
>>> tokens.sr.ht*: Preparing package tokens.sr.ht...
>>> tokens.sr.ht*: Stripping binaries
>>> tokens.sr.ht*: Tracing dependencies...
>>> tokens.sr.ht*: Package size: 22.5 MB
>>> tokens.sr.ht*: Compressing data...
>>> tokens.sr.ht*: Create checksum...
>>> tokens.sr.ht*: Create tokens.sr.ht-0.0.71-r0.apk
>>> tokens.sr.ht: Build complete at Fri, 25 Sep 2026 06:51:44 +0000 elapsed time 0h 1m 7s
>>> tokens.sr.ht: Cleaning up srcdir
>>> tokens.sr.ht: Cleaning up pkgdir
>>> tokens.sr.ht: Cleaning up tmpdir
>>> tokens.sr.ht: Updating the services/x86_64 repository index...
>>> tokens.sr.ht: Signing the index...
+ find /home/build/packages -name '*.apk'
/home/build/packages/services/x86_64/tokens.sr.ht-0.0.71-r0.apk
publish
1
2
3
4
5
6
7
8
+ /home/build/sr-ht-monorepo/ci/lib/publish.sh
+ case "$code" in
++ basename /home/build/packages/services/x86_64/tokens.sr.ht-0.0.71-r0.apk
+ echo 'published tokens.sr.ht-0.0.71-r0.apk -> 201'
+ test -z ''
+ echo 'index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz'
published tokens.sr.ht-0.0.71-r0.apk -> 201
index: https://artifacts.srht.bigb.es/~bigbes/main/apk/v3.22/x86_64/APKINDEX.tar.gz
cache_save
1
2
3
+ /home/build/sr-ht-monorepo/ci/lib/cache.sh save
exists sr-ht-tokens/deps/gomod/8ebfa6d40e0df7d0.tar.zst (use --force to overwrite)
exists sr-ht-tokens/deps/gocache/8ebfa6d40e0df7d0.tar.zst (use --force to overwrite)
coverage
1
2
3
4
5
6
7
8
9
10
11
+ cd sr-ht-monorepo/services/tokens
+ '[' '!' -r /home/build/.srht-token ']'
+ ref=
+ ref=
+ url=https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/reports
++ git rev-parse HEAD
+ url='https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/reports?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887'
uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/reports?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887
+ echo 'uploading cover.out to https://cov.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/reports?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887'
+ set +x
{"id":134,"url":"https://cov.srht.bigb.es/~bigbes/sr-ht-tokens/reports/134","metric":"statements","total":1409,"covered":977,"pct":69.33995741660752,"files":31,"files_matched":0,"delta_pct":0,"errors":["module path unknown: coverprofile paths are import paths and stay unmatched; pass module=\u003cmodule path\u003e"]}
bench
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
+ cd sr-ht-monorepo/services/tokens
+ go test '-run=^$' -bench=. -benchmem -count=10 -timeout 20m ./...
+ cat /home/build/bench.txt
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/api	0.013s
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-tokens/authn
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkParseBearer/bearer-2   	 9349176	       121.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	14136560	        96.69 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	13362943	       111.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	13866156	       109.6 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	14538914	        85.87 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	12640879	        95.51 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	14007246	        96.68 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	12776870	        91.82 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	14796693	        84.46 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/bearer-2   	13422244	        95.62 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	14097202	        76.01 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	15590876	        82.22 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	13714212	        80.57 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	16410790	        82.10 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	16674435	        77.52 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	16519240	        82.18 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	16538780	        80.69 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	14148936	        77.09 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	15994472	        77.61 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/other-scheme-2         	16108572	        79.85 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	27398923	        38.72 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	28746273	        43.42 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	27204825	        43.77 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	32546148	        41.42 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	31481492	        44.86 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	27041463	        42.57 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	33593461	        40.72 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	29318154	        39.69 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	25675906	        44.67 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseBearer/absent-2               	33206222	        40.26 ns/op	       0 B/op	       0 allocs/op
BenchmarkValidateTokenShape/valid-2         	13047872	        76.84 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	15780753	        82.05 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	15014192	        86.56 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	14105396	        88.58 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	13736968	        84.99 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	17126000	        79.45 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	13918965	        87.23 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	13785832	        91.94 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	12564829	        98.99 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/valid-2         	15973664	       113.6 ns/op	      32 B/op	       1 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  324061	      5587 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  297663	      5192 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  296136	      4748 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  248871	      4642 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  251623	      4592 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  248911	      4386 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  346239	      4688 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  256868	      4907 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  233506	      5100 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/not-ours-2      	  233076	      5100 ns/op	    1528 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  222289	      5759 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  248768	      5445 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  215924	      5199 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  277344	      5113 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  273910	      4535 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  233742	      4457 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  232280	      5596 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  172194	      6608 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  269139	      5506 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/trailing-newline-2         	  208587	      5704 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  242817	      5309 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  248510	      4591 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  281762	      4611 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  315798	      3573 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  385842	      3279 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  345727	      3305 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  318124	      3656 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  446748	      3861 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  421785	      3489 ns/op	    1512 B/op	      11 allocs/op
BenchmarkValidateTokenShape/bad-base64-2               	  291266	      3527 ns/op	    1512 B/op	      11 allocs/op
BenchmarkParentVerify/live-2                           	 1571742	       764.2 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1595934	       751.3 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1682054	       729.8 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1513941	       776.7 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1631511	       753.4 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1462540	       808.2 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1453948	       830.7 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1416309	       831.0 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1324915	       884.6 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/live-2                           	 1674910	       697.4 ns/op	      96 B/op	       2 allocs/op
BenchmarkParentVerify/unknown-2                        	  241159	      5347 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  256502	      5663 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  183477	      6714 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  188803	      6523 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  189546	      6287 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  192554	      6520 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  236127	      6265 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  286293	      5068 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  205099	      6194 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/unknown-2                        	  177897	      6016 ns/op	    1768 B/op	      17 allocs/op
BenchmarkParentVerify/malformed-2                      	  262138	      4953 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  212145	      5185 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  260918	      4425 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  279022	      4390 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  285717	      4610 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  324852	      4338 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  304420	      4382 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  276829	      4391 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  267189	      4776 ns/op	    1528 B/op	      11 allocs/op
BenchmarkParentVerify/malformed-2                      	  255559	      4740 ns/op	    1528 B/op	      11 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/authn	127.210s
?   	sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht	[no test files]
?   	sourcecraft.dev/bigbes/sr-ht-tokens/cmd/tokensrht-migrate	[no test files]
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/core	0.005s
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-tokens/db
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkGenerateToken-2   	 3597363	       331.7 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 3723554	       303.5 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 3779227	       317.6 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 3873598	       304.3 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 2698723	       395.2 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 2676196	       393.0 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 4055733	       303.2 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 3799390	       310.7 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 2933786	       361.8 ns/op	     160 B/op	       3 allocs/op
BenchmarkGenerateToken-2   	 3452485	       338.6 ns/op	     160 B/op	       3 allocs/op
BenchmarkHashToken-2       	 6809065	       170.0 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 6873258	       154.9 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 9872293	       129.1 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 8823979	       124.1 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 9894698	       120.0 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 9803630	       133.9 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 9347822	       123.0 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 9606204	       127.2 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	 8992492	       124.2 ns/op	      64 B/op	       1 allocs/op
BenchmarkHashToken-2       	10333888	       122.8 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8098837	       145.0 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 9015350	       144.3 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8576076	       139.5 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 7021858	       146.3 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8012046	       146.1 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8226511	       148.3 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8699961	       139.3 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 7254169	       153.3 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8573145	       141.0 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/hit-2         	 8547630	       136.8 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 9011286	       147.5 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 6676741	       157.4 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 8539422	       135.9 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 9209235	       144.8 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 7594470	       148.2 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 7578177	       160.8 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 7391011	       147.7 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 8189539	       151.6 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 7911226	       148.0 ns/op	      64 B/op	       1 allocs/op
BenchmarkTokenMatches/miss-2        	 8830246	       148.1 ns/op	      64 B/op	       1 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/db	47.199s
?   	sourcecraft.dev/bigbes/sr-ht-tokens/internal/build	[no test files]
goos: linux
goarch: amd64
pkg: sourcecraft.dev/bigbes/sr-ht-tokens/service
cpu: AMD Ryzen 7 3700X 8-Core Processor             
BenchmarkSeal-2        	  591894	      1990 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  594469	      2058 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  467631	      2229 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  604404	      2188 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  609452	      2104 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  543404	      2044 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  610426	      1901 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  655411	      1904 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  646449	      2002 ns/op	    1360 B/op	      20 allocs/op
BenchmarkSeal-2        	  698415	      2030 ns/op	    1360 B/op	      20 allocs/op
BenchmarkMintToken/parent-2         	 1483690	       815.1 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1490328	       809.2 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1415182	       851.2 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1492281	       807.7 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1439850	       847.7 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1507302	       800.8 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1533080	       793.2 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1418472	       842.1 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1436043	       841.4 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/parent-2         	 1461226	       825.8 ns/op	     544 B/op	      10 allocs/op
BenchmarkMintToken/working-stateless-2         	  502107	      2044 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  570094	      1974 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  672528	      1847 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  677221	      1980 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  726502	      1930 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  585428	      1901 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  715473	      1919 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  648439	      1828 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  676923	      1845 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-stateless-2         	  626518	      1772 ns/op	    1264 B/op	      21 allocs/op
BenchmarkMintToken/working-registered-2        	  509426	      2397 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  523957	      2499 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  506576	      2534 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  447277	      2691 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  398815	      2629 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  455061	      2537 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  485764	      2451 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  476827	      2522 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  517005	      2454 ns/op	    1768 B/op	      27 allocs/op
BenchmarkMintToken/working-registered-2        	  511634	      2409 ns/op	    1768 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  426566	      2581 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  476371	      2534 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  459046	      2538 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  449016	      2587 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  446612	      2686 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  437668	      2637 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  465456	      2618 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  463014	      2671 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  462484	      2778 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/stateless-2                  	  424128	      2931 ns/op	    1608 B/op	      27 allocs/op
BenchmarkExchange/registered-2                 	  362127	      3470 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  380682	      3543 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  338596	      3692 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  358788	      3650 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  348400	      3441 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  359293	      3401 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  343598	      3499 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  358484	      3551 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  342124	      3628 ns/op	    2088 B/op	      32 allocs/op
BenchmarkExchange/registered-2                 	  348367	      3279 ns/op	    2088 B/op	      32 allocs/op
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/service	73.105s
PASS
ok  	sourcecraft.dev/bigbes/sr-ht-tokens/web	0.008s
+ grep -q '^BenchmarkHashToken' /home/build/bench.txt
+ grep -q '^BenchmarkParentVerify/' /home/build/bench.txt
+ grep -q '^BenchmarkExchange/' /home/build/bench.txt
+ '[' '!' -r /home/build/.srht-token ']'
+ ref=
+ ref=
+ url=https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs
++ git rev-parse HEAD
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887'
+ url='https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887&visibility=public'
uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887&visibility=public
+ echo 'uploading bench.txt to https://bench.srht.bigb.es/api/v1/repos/~bigbes/sr-ht-tokens/runs?commit=4043b69746e4f04d5df4f465303a31a24e78a300&ref=&key=887&job_url=https://builds.srht.bigb.es/~bigbes/job/887&visibility=public'
+ set +x
{"id":137,"url":"https://bench.srht.bigb.es/~bigbes/sr-ht-tokens/runs/137","benchmarks":20,"measurements":600,"new_benchmarks":0,"errors":[],"errors_total":0,"results_rejected":0}

Build complete: success 12 days ago (took 7 minutes)