Skip to content

docs(snapshot s3): say separate artifacts need separate environments - #1412

Merged
mbevc1 merged 2 commits into
mainfrom
20261126_snapshot_s3_help_text
Nov 26, 2026
Merged

mbevc1 merged 2 commits into
mainfrom
20261126_snapshot_s3_help_text

Conversation

@mbevc1

@mbevc1 mbevc1 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Two help-text corrections for kosli snapshot s3, following up on #1410.

  • Long description: the text told users to "run the command twice" to report separate files or dirs as separate artifacts. Since feat(snapshot s3)!: always report the bucket as the one artifact, and stop failing on an empty bucket #1410 every S3 artifact is named after the bucket, and a snapshot replaces the environment's previous one, so two runs against one environment leave only the second. The text now says to run the command once per subset with --include, each time against a different environment.
  • Example comment: the flags-auth example said "report what is running in an AWS S3 bucket". It now says "report the contents of an entire AWS S3 bucket", matching the other examples.

No behaviour changes. The binary builds and kosli snapshot s3 --help renders both new strings; no test pins either string.

Checklist

  • Docs are autogenerated from CLI help — make sure the help text reflects your changes
  • Helm chart (charts/k8s-reporter/) updated, if needed. Note: these changes live in a separate PR
  • Terraform provider and related changes (terraform-provider-kosli, terraform-aws-kosli-reporter) updated, if needed

@github-actions github-actions Bot added go Pull requests that update go code docs labels Nov 26, 2026
@claude

claude Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @mbevc1's task in 43s —— View job


Review of new commits

  • Fetch previous review findings on PR docs(snapshot s3): say separate artifacts need separate environments #1412
  • Diff scope to new commits (BEFORE SHA unreachable — reviewed 663e9eb3 and bed304de directly, the two commits pushed since the last review)
  • Evaluate status of each previous finding
  • Check new commits for bugs/regressions
  • Post inline comments for new issues / close resolved ones
  • Post summary comment

Previous findings: none exist — this is the first review pass on the PR (no prior inline or issue comments from Claude were found via the GitHub API).

New commits reviewed:

  • 663e9eb3 — reworded the separate-artifacts sentence and the flags-auth example comment in cmd/kosli/snapshotS3.go.
  • bed304de — shortened that same sentence (generalizing --include to "e.g. with --include", dropping the repeated "named after the bucket" clause).

Both are pure help-text string edits with no logic change. The resulting text is accurate and consistent with #1410's actual behavior (one artifact named after the bucket; a snapshot replaces the environment's previous one). No bugs, security issues, or regressions in the changed lines — nothing to post as inline comments.

Note: couldn't run go build/make lint in this sandbox (command approval unavailable); the PR description confirms the binary builds and --help renders both strings.

The long description told users to run the command twice to report
separate files or dirs as separate artifacts. Since #1410 every S3
artifact is named after the bucket, and a snapshot replaces the
environment's previous one, so two runs against one environment leave
only the second. The text now says to run once per subset with
--include, each against its own environment.

Also reword the flags-auth example comment from "what is running in" a
bucket to "the contents of" it, matching the other examples.
The sentence named only --include, although --include-regex and the
exclude filters can also split a bucket into subsets, and it ended by
repeating that the artifact is named after the bucket. It now offers
--include as an example and keeps only the reason that matters: a
snapshot replaces the environment's previous one.
@mbevc1
mbevc1 force-pushed the 20261126_snapshot_s3_help_text branch from 59a6752 to bed304d Compare November 26, 2026 10:19
@mbevc1
mbevc1 enabled auto-merge (squash) November 26, 2026 10:19
@mbevc1
mbevc1 merged commit 8c0d778 into main Nov 26, 2026
19 checks passed
@mbevc1
mbevc1 deleted the 20261126_snapshot_s3_help_text branch November 26, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants