Documentation-only, verified by compiling the corrected pattern against the real
API. No code, API, or dependency changes — the v1.1.0 tag will be moved to include this.
docs(telemetry): fix fictional launcher.Register/health.Register in doc examples
## Summary
- doc.go + README: fictional `launcher.Register` / `health.Register` -> real
`lc.Append` + `web/health.NewHandler(...).ServeHTTP`.
Also: launcher.BeforeStop (nonexistent) -> defer shutdown, matching the README.
## Notes
Documentation-only, verified by compiling the corrected pattern against the real
API. No code, API, or dependency changes — the v1.1.0 tag will be moved to include this.
The package-doc examples showed a fictional launcher.Register / health.Register
API (and launcher.Append as a package func). Corrected to the real wiring:
lc.Append + web/health.NewHandler(...).ServeHTTP.
Also: launcher.BeforeStop (nonexistent) -> defer shutdown, matching the README.
Documentation-only. No code, API, or dependency changes; version stays v1.1.0
(the v1.1.0 tag is moved to include this fix). Verified by compiling the
corrected pattern against the real API.
Rene Nochebuena
requested review from CoreDevelopers 2026-08-07 22:17:29 -06:00
Rene Nochebuena
requested review from Agents 2026-08-07 22:17:29 -06:00
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.
docs(telemetry): fix fictional launcher.Register/health.Register in doc examples
Summary
launcher.Register/health.Register-> reallc.Append+web/health.NewHandler(...).ServeHTTP.Also: launcher.BeforeStop (nonexistent) -> defer shutdown, matching the README.
Notes
Documentation-only, verified by compiling the corrected pattern against the real
API. No code, API, or dependency changes — the v1.1.0 tag will be moved to include this.