Skip to content

feat(jj): add guided repository configuration - #2

Merged
knocking4thcylinder merged 1 commit into
feat/jj-config-stack-basefrom
feat/jj-guided-config
Sep 28, 2026
Merged

knocking4thcylinder merged 1 commit into
feat/jj-config-stack-basefrom
feat/jj-guided-config

Conversation

@knocking4thcylinder

@knocking4thcylinder knocking4thcylinder commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Problem

Jujutsu excludes new files above its snapshot size limit, which can leave them outside T3 checkpoints. Changing that limit and a repository's commit identity currently requires command-line configuration.

Change

Extend the guided repository configuration from the Git settings PR to Jujutsu. Web, desktop, and mobile can read effective and repository values, save repository overrides for author name, email, and snapshot.max-new-file-size, and reset each override. The snapshot limit accepts 1–4096 MiB or 0 for no limit.

This draft currently uses a preserved stack base containing Git configuration PR #13940 and jj support PR #13816. Those upstream PRs are independent of each other. This diff contains only the Jujutsu extension and will be rebased as the prerequisites land.

Verification

  • Focused Git and Jujutsu configuration tests passed: 2/2 on the rebased branch.
  • Targeted server, web, and mobile typechecks passed; focused lint and formatting passed.
  • A real jj fixture excluded a 2 MiB new file at the default limit, then included it after raising the limit to 4 MiB. The test also covers unlimited (0) and Reset.
  • In an isolated web client, saved a 5 MiB jj limit and verified the repository config, then Reset removed the override. On the rebased stack, switching from Git to jj settings cleared an unsaved Git author edit.

Native mobile could not be manually exercised because device access is disabled in this environment. Desktop uses the web surface.

UI evidence

Before: inherited Jujutsu snapshot limit

Jujutsu repository configuration with a 5 MiB snapshot limit

GPT-6-Sol via the Codex harness in T3 Code.

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Sep 27, 2026
@knocking4thcylinder
knocking4thcylinder changed the base branch from feat/vcs-guided-config to feat/git-guided-config September 27, 2026 01:54
@knocking4thcylinder
knocking4thcylinder changed the base branch from feat/git-guided-config to feat/jj-config-stack-base September 27, 2026 08:45
@knocking4thcylinder
knocking4thcylinder marked this pull request as ready for review September 28, 2026 06:59
@knocking4thcylinder
knocking4thcylinder merged commit c6ddd40 into feat/jj-config-stack-base Sep 28, 2026
13 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant