Skip to content

[probes.browser] Skip target subdirectory in artifacts for single-target probes - #1219

Merged
manugarg merged 1 commit into
mainfrom
artifacts_single_target
Feb 13, 2026
Merged

manugarg merged 1 commit into
mainfrom
artifacts_single_target

Conversation

@manugarg

Copy link
Copy Markdown
Contributor

Summary

  • When a browser probe has only one target (the common case), skip creating the target-name subdirectory under the artifacts timestamp directory.
  • This simplifies the artifact directory structure from {date}/{timestamp}/{target_name}/ to {date}/{timestamp}/ for single-target probes.
  • Multi-target probes continue to use per-target subdirectories as before.

Test plan

  • Updated TestProbeOutputDirPath with cases for single and multiple targets
  • Verify artifact directory structure with a single-target browser probe
  • Verify artifact directory structure with a multi-target browser probe

@manugarg manugarg changed the title Skip target subdirectory in artifacts for single-target probes [probes.browser] Skip target subdirectory in artifacts for single-target probes Feb 13, 2026
@manugarg
manugarg merged commit fbd19fe into main Feb 13, 2026
12 checks passed
@manugarg
manugarg deleted the artifacts_single_target branch February 13, 2026 05:07
conallob pushed a commit to conallob/cloudprober that referenced this pull request Mar 10, 2026
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