docs: weekly documentation audit — fix init features, explore replays, sourcemap auth, stale CONTRIBUTING ref - #1540
Draft
cursor[bot] wants to merge 4 commits into
Draft
Conversation
…lays, sourcemap auth note - init.md: Remove gated features (metrics, sourcemaps) and add mcp-observability to match PR #1535 changes to SUPPORTED_FEATURE_NAMES - explore.md: Add replays dataset examples and dataset reference table (replays was supported but entirely undocumented) - sourcemap.md: Note that sourcemap inject runs without authentication (auth: false since PR #1526) - CONTRIBUTING.md: Fix stale reference to `sentry config set` (now `sentry cli defaults`) Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- proguard.md: Add upload section with examples for --no-upload and --require-one flags (upload subcommand was entirely undocumented) - react-native.md: Update xcode example from legacy sentry-cli path to current `sentry react-native xcode` invocation Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation Audit Report — 2026-09-07
Weekly audit of the Sentry CLI documentation against the implementation. Covers all changes since the last audit (PR #1514, merged 2026-08-31).
Changes in This PR
1. init.md: Remove gated features and add
mcp-observabilityPR #1535 (
fix(init): gate unsupported --features) removedmetrics,sourcemaps, andattachmentsfromSUPPORTED_FEATURE_NAMESbecause their setup isn't fully automated yet. The init fragment still listedmetricsandsourcemapsas available features. Also,mcp-observabilitywas added as a supported feature but was missing from the docs.src/commands/init.tslines 68–77 (SUPPORTED_FEATURE_NAMES)apps/cli-docs/src/fragments/commands/init.md2. explore.md: Add
replaysdataset documentationThe
sentry explorecommand supports five datasets (errors,spans,metrics,logs,replays), but the explore fragment had zero documentation for thereplaysdataset — no examples, no mention in any dataset listing. Added a Replays example section and a complete Datasets reference table.src/commands/explore.tslines 100–106 (VALID_DATASETS)apps/cli-docs/src/fragments/commands/explore.md3. sourcemap.md: Note that
sourcemap injectruns without authenticationPR #1526 (
fix(sourcemap): let inject run without authentication) setauth: falseon the inject command, making it explicit that it's a purely local file operation. The docs didn't mention this, which is important for CI pipelines where inject should run before auth.src/commands/sourcemap/inject.tsline 74 (auth: false)apps/cli-docs/src/fragments/commands/sourcemap.md4. CONTRIBUTING.md: Fix stale
sentry config setreferenceThe Context Resolution section referenced
sentry config set, which was renamed tosentry cli defaultslong ago.src/commands/cli/defaults.ts(the actual command)packages/cli/CONTRIBUTING.mdline 47Full Gap Report
A. Undocumented or Missing Commands/Subcommands
No gaps. All commands have auto-generated doc pages via
generate-command-docs.ts, and every route insrc/app.tsproduces a page undercommands/. ThegroupRoutesByReference()function creates an automatic 1:1 mapping.B. Undocumented Flags
No new gaps. All non-hidden flags are auto-generated into the Options tables by the command doc generator. The only hidden flags (
src/commands/cli/setup.ts,src/commands/bash-hook.ts) are intentionally hidden.C. Missing Usage Examples
sentry explore --dataset replays— no examples in fragmentD. Stale Descriptions
metrics,sourcemapsas features — removed in PR #1535mcp-observabilityfeature — added in same PRsentry config setinstead ofsentry cli defaultsE. Missing Route Mappings in Skill Generator
N/A —
ROUTE_TO_REFERENCEwas removed in a prior refactor.groupRoutesByReference()now automatically maps each visible route to its own reference file.F. Installation / Distribution Gaps
No new gaps since last audit. The install script flags (
--no-modify-path,--no-completions,--no-agent-skills) and env vars (SENTRY_INSTALL_DIR,SENTRY_VERSION,SENTRY_INIT) are documented ingetting-started.mdx. The platform support table is auto-generated.G. Undocumented Environment Variables
No new gaps. The env registry (
src/lib/env-registry.ts) has 27 entries, all documented via auto-generation. Previously identified niche variables (SENTRY_ENVIRONMENT,SENTRY_DIST,SENTRY_CLI_NO_EXIT_TRAP,SENTRY_SCAN_DISABLE_WORKERS,SENTRY_RN_*) remain intentionally excluded as they are internal, test-only, or legacy bash-hook scoped.H. Auth / Self-Hosted Gaps
No new gaps. The
sourcemap injectauth-free change (PR #1526) is now documented.I. Plugin/Skills Gaps
No new gaps since PR #1514. Skills install targets (
~/.claude,~/.agents), dotagents integration, and the automatic install onsentry cli setup/sentry cli upgradeare accurately documented. Theplugins/README.mdcorrectly references the current.claude-pluginstructure.J. README / DEVELOPMENT.md Drift
package.json(engines.node: ">=20.0",devEngines.runtime.version: ">=22.15")pnpm-workspace.yamlconstraintsLICENSE.mdpackage.jsonscriptssentry config setTop 5 Most Impactful Fixes (Prioritized)
init.md feature list stale — Users/agents running
sentry init --features metricsorsentry init --features sourcemapswould get a confusingUnknown init featureerror. High-impact because init is the onboarding entry point.explore replays undocumented — The entire
replaysdataset was silently available but had zero documentation. Users and agents had no way to discover this capability.sourcemap inject auth note — CI pipelines commonly run
injectbeforeupload. Knowing inject doesn't need auth lets pipelines defer authentication, simplifying pipeline ordering.CONTRIBUTING.md stale command reference — Contributors following the guide would try a non-existent
sentry config setcommand.mcp-observability feature undocumented — New init feature for MCP/agent observability was missing from docs, preventing discovery of this capability.