Skip to content

[probes.browser] Improve how we do artifacts links - #1220

Merged
manugarg merged 2 commits into
mainfrom
artifacts-links-option
Feb 13, 2026
Merged

manugarg merged 2 commits into
mainfrom
artifacts-links-option

Conversation

@manugarg

Copy link
Copy Markdown
Contributor
  • Explicitly tag artifacts links at registration time instead of trying to reverse-engineer clickable URLs from ServeMux patterns after the fact.
  • It keeps the knowledge about "this is an artifacts link" at the point where it's known, rather than relying on string heuristics later.
  • We do this by keeping artifacts URLs separately in the state. The URLs are updated through an option to the state.AddWebHandler function.

@manugarg
manugarg merged commit 358bf77 into main Feb 13, 2026
12 checks passed
@manugarg
manugarg deleted the artifacts-links-option branch February 13, 2026 08:01
@manugarg manugarg added this to the v0.14.2 milestone Feb 14, 2026
conallob pushed a commit to conallob/cloudprober that referenced this pull request Mar 10, 2026
- Explicitly tag artifacts links at registration time instead of trying to reverse-engineer clickable URLs from ServeMux patterns after the fact.
- It keeps the knowledge about "this is an artifacts link" at the point where it's known, rather than relying on string heuristics later.
- We do this by keeping artifacts URLs separately in the state. The URLs are updated through an option to the state.AddWebHandler function.
- Update links list only after handler registration succeeds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant