Skip to content

[FEATURE]: Document snapshot config option #17863

@altendky

Description

@altendky

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Note: PR #4753 attempted this but was closed without merge. This issue tracks the same gap.

Describe the enhancement you want to request

The snapshot config field (added in 28a4517) is undocumented. It lacks both a section in the config docs page (packages/web/src/content/docs/config.mdx) and a .describe() annotation on its schema definition.

Users frequently discover the hard way that snapshots can consume enormous disk space in large repos, with no obvious way to disable them. Multiple issues reference this:

What should be documented:

  1. A .describe() annotation on the snapshot schema field in config.ts
  2. A "Snapshot" section in config.mdx explaining:
    • What snapshots do (track file changes, enable undo/revert)
    • How to disable them ("snapshot": false)
    • The tradeoff: disabling means session undo/revert becomes unavailable
    • When you might want to disable: large repos, many submodules, disk space concerns

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions