Skip to content

docs: say the usage-reporting notice is printed only when reporting is on - #173

Merged
dmccoystephenson merged 2 commits into
mainfrom
docs/usage-notice-only-when-on
Nov 20, 2026
Merged

dmccoystephenson merged 2 commits into
mainfrom
docs/usage-notice-only-when-on

Conversation

@dmccoystephenson

Copy link
Copy Markdown
Member

Summary

  • The README said that the first start after usage reporting was added always prints a one-line notice. LocalUsageReportingService#start prints it only when firstRun && traceClient.isEnabled(), so a first start with TRACE_USAGE_REPORTING or DO_NOT_TRACK already turning reporting off writes the settings file but prints nothing. The sentence was corrected to match.
  • This change came from a Stage A documentation sweep. README.md, HelpCommand vs. Interakt#getCommands(), the browser build (web/build.sh, web/java/BrowserMain.java, web/index.html), .github/workflows/browser.yml, and the data-directory section were checked against the source. No other drift was found.

No tracking issue: the gap was found during the sweep.

Test plan

  • mvn -B clean test: 270 tests run, 0 failures, BUILD SUCCESS
  • The corrected behaviour is already covered by LocalUsageReportingServiceTest (a first run under DO_NOT_TRACK writes the defaults but prints no notice)

Deferred issues

This PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).

🤖 Generated with Claude Code


drafted by Claude on behalf of Daniel Stephenson

@dmccoystephenson

Copy link
Copy Markdown
Member Author

Self-review rubric (posted as a plain comment; there is no independent reviewer on this repository):

  • Scope: PASS. Only one README.md sentence in the Usage reporting section was changed.
  • Tests-new: PASS (not applicable). No code was changed.
  • Tests-fix: PASS (not applicable). This is a documentation correction, not a bug fix. The behaviour described is already covered by LocalUsageReportingServiceTest (a first run under DO_NOT_TRACK writes the defaults and prints no notice).
  • Sibling structure / sibling renames: PASS (not applicable). No files or identifiers were added or renamed.
  • Docs: PASS. The sentence now matches LocalUsageReportingService#start, which prints the notice only when firstRun && traceClient.isEnabled().
  • Issue resolution: PASS (not applicable). No issue is closed; the gap was found during the sweep.
  • Build and tests: PASS. Local mvn -B clean test ran 270 tests with 0 failures. The Browser build workflow passed on the PR head.
  • No stale mvn claim / no singleton reintroduction / help-commands parity / license header: PASS (not applicable). None of compile.sh, pom.xml, the commands or the source files were touched.

Judgment call: the first wording said 'prints nothing'. Under the default CONFIG.DEBUG_FLAG=false, Logger#logInfo writes nothing to the console, so that was accurate by default. It was narrowed to 'prints no notice' in a follow-up commit so it also holds when debug output is on.

README.md:41: the corrected sentence. No further findings.

This review comment was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).


drafted by Claude on behalf of Daniel Stephenson

@dmccoystephenson
dmccoystephenson merged commit 2bc526a into main Nov 20, 2026
1 check passed
@dmccoystephenson
dmccoystephenson deleted the docs/usage-notice-only-when-on branch November 20, 2026 08:11
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