Repository navigation
Commit b2b2ed6
docs: correct the telemetry claim, and scope the credential rule
Three review findings on the hookdeck-cli-review skill.
The CLITelemetry section said a renamed JSON tag "compiles, passes unit
tests, passes acceptance, and silently empties the dashboards". It does
not. pkg/hookdeck/telemetry_test.go asserts the tags by literal key name
against a marshalled map -- TestTelemetryJSONSerialization covers six of
the eight, TestTelemetryJSONWithGeneratedResource covers
generated_resource -- and neither carries a build tag or a testing.Short()
guard, so both run under the required unit-test check. command_flags is
pinned by the acceptance telemetry job. Seven of the eight renames turn a
required check red.
The wire-contract point survives, but the trap is the next move, not the
rename: the obvious way to get the build green is to update the expected
key in the test, which restores the signal while the dashboards built on
the old name stay empty. A diff that edits telemetry.go and its expected
key names together is the thing to flag.
That also fixes the section premise. Two surfaces here are unguarded --
REFERENCE.md and the website generator -- not three.
The credentials section attributed the test-only-account rule to "the test
credentials" generally. The comment in acceptance.yml is scoped to
HOOKDECK_CLI_TESTING_CLI_KEY, and its reason -- a key that reaches every
org its owner belongs to -- is a property of that account-wide key, not of
the per-slice project-scoped secrets. Scoped, with the world-readable log
kept as the part that applies to all of them.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent dcf4a7c commit b2b2ed6
1 file changed
Lines changed: 25 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
190 | | - | |
191 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| |||
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
228 | 243 | | |
229 | 244 | | |
230 | 245 | | |
| |||
0 commit comments