Skip to content

Add a list style check, and fix lists to pass it - #2158

Open
marcleblanc2 wants to merge 4 commits into
mainfrom
marc/markdownlint-lists
Open

marcleblanc2 wants to merge 4 commits into
mainfrom
marc/markdownlint-lists

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor
  • Adds a PR check for list style and fixes every docs page to pass it
  • The diff looks huge, it's 90% indentation whitespaces, some list reformatting, and fixing broken links

The standard

Rule Style
MD004 Bullets are -
MD007 Nested bullets are indented 2 spaces
MD029 Ordered lists are numbered 1., 2., 3.
MD030 One space after each list marker (- item, 1. step)

MD030 is what makes 2-space nesting work: with - item, the item's text starts 4 columns in, so a bullet indented 2 spaces is its sibling, not its child.

prettier.config.js sets tabWidth: 2 for Markdown, MDX, and YAML, so Prettier (and VS Code's format on save) writes the same layout. Prettier 3 already writes one space after a marker, and nests every list at its parent item's text (3 spaces under 1.).

AGENTS.md already asked for sequential numbering. It now covers all four rules.

The check

.github/workflows/check-markdownlint.yml runs dev/check-markdownlint.mjs through .github/actions/pr-check, the same way the other checks work:

  • It checks the docs pages a PR changes and compares them with the merge base. It reports only the issues the PR adds, even when they land on unchanged lines, such as a step inserted without renumbering the ones after it.
  • It posts a summary comment, plus an inline comment with a suggestion on each flagged line the PR adds. When a numbered list restarts after a code block or image, the comment says to indent that block under the step instead of suggesting new numbers.
  • It is advisory and never fails the PR.
  • markdownlint-cli2 is installed in the workflow only, like CSpell, so it is not a site dependency. The rules live in .markdownlint-cli2.jsonc at the repository root, where markdownlint-cli2 and editor markdownlint extensions find them, so editors flag the same issues; VS Code now recommends the extension. .github/actions/pr-check takes this file from the merge commit, like dev/, so branches that predate this PR are still checked with these rules.
  • Generated pages are skipped, since the sync PRs overwrite them.

To run it locally:

npm install --global markdownlint-cli2@0.24
markdownlint-cli2        # from the repository root; add --fix to fix

The fixes

Rebased on main as four commits:

  1. The check and rules, with the Prettier and VS Code settings.
  2. List fixes in 284 pages.
    • 89 numbered lists restarted mid-procedure: a code block, image, or note between steps was not indented under the step, so MDX ended the list there and started a new one. Readers saw wrong step numbers, such as Chrome's 1 2 3 1 2 5 in browser search engine shortcuts, and 1 2 3 1 2 6 7 8 9 10 in Redis ConfigMap. Those blocks are now indented under their step, so each procedure is one list again. markdownlint --fix would renumber these lists instead, which keeps the wrong numbers.
    • Every list item's text, code blocks, and nested lists move with its marker: one space after the marker, and each nested list at its parent item's text. A scratch script did this from the MDX syntax tree, since markdownlint's --fix moves only the marker line and would strand the text under it.
    • The rest is renumbering (1. 1. 1. → 1. 2. 3.) and * bullets.
    • By hand: kubernetes/upgrade.mdx had step 2 of the migrator procedure inside a > Note blockquote; kustomize.mdx had cloud provider links meant to nest under "You can optionally refer to…"; perforce.mdx had paragraphs indented past their bullet's text; and bullets inside blockquotes.
  3. 20 dead external links on reindented lines, because the links check checks every line a PR touches. Most replacements are the ones in the open draft fix/links: Replace or remove dead external links #1999; the Auth0, EnterpriseDB, GitLab, and JetBrains links got their current URLs.
  4. YAML indented 2 spaces: every workflow and action, to match Prettier. Whitespace only; each file parses to the same data.

Verification

  • markdownlint-cli2 reports 0 issues across docs/.
  • I compared each changed page's MDX syntax tree with main's, ignoring positions. 256 pages are identical. In the other 28, the text, code, and images are the same, in the same order; only which list item a block sits in changed, and every ordered list now starts at 1.
  • On every reindented page, Prettier writes the same list markers and indentation as the page has. It would still reformat some YAML in code blocks and tab-indented JSX, which this PR leaves alone.
  • The links check reports no new dead links.
  • No lines changed inside SCHEMA_SYNC blocks.
  • All 490 pages compile in next dev.
  • Before and after screenshots of the Chrome steps and the Redis procedure match the table above.
  • I tested the check on a scratch diff. A step inserted without renumbering the rest was reported in the summary. A restarted list got the indent advice instead of a suggestion.

Heads-up

Reindenting blocks touches lines that the duplicated content check already flagged. Expect it to list about 29 pre-existing duplicate pairs on this PR; none are new.

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sourcegraph-docs Ready Ready Preview Nov 13, 2026 8:50am UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ This PR edits 101 passage pair(s) that were already duplicated

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

6 passages, at least 52% similar

4 passages, at least 100% similar

4 passages, at least 97% similar

4 passages, at least 78% similar

4 passages, at least 69% similar

4 passages, at least 63% similar

3 passages, at least 100% similar

3 passages, at least 100% similar

3 passages, at least 100% similar

3 passages, at least 82% similar

3 passages, at least 77% similar

3 passages, at least 75% similar

3 passages, at least 52% similar

3 passages, at least 51% similar

3 passages, at least 50% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 100% similar

2 passages, at least 97% similar

2 passages, at least 95% similar

2 passages, at least 95% similar

2 passages, at least 83% similar

2 passages, at least 82% similar

2 passages, at least 81% similar

2 passages, at least 76% similar

2 passages, at least 76% similar

2 passages, at least 73% similar

2 passages, at least 71% similar

2 passages, at least 69% similar

2 passages, at least 67% similar

2 passages, at least 66% similar

2 passages, at least 63% similar

2 passages, at least 62% similar

2 passages, at least 61% similar

2 passages, at least 58% similar

2 passages, at least 53% similar

2 passages, at least 50% similar

Reproduce locally with node dev/check-duplicates.mjs --diff <(git diff -U0 origin/main).

Comment thread docs/admin/audit-log.mdx
1. Base64 [encode](https://www.base64encode.org) the ID with a "User:" prefix. For example, for Actor with ID 71 use `User:71`, which encodes to `VXNlcjo3MQ==`
1. Navigate to Administration -> API Console and run the query below
1. Find the corresponding user by searching the query results for the encoded ID from above
2. Base64 [encode](https://www.base64encode.org) the ID with a "User:" prefix. For example, for Actor with ID 71 use `User:71`, which encodes to `VXNlcjo3MQ==`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

1. Configure the connection to AWS CodeCommit using the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).
1. Press **Add repositories**.
2. Select **AWS CodeCommit repositories**.
3. Configure the connection to AWS CodeCommit using the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

1. Configure the connection to generic Git host the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).
1. Press **Add repositories**.
2. Select **Generic Git host**.
3. Configure the connection to generic Git host the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

1. Configure the connection to Phabricator using the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).
1. Press **Add repositories**.
2. Select **Phabricator**.
3. Configure the connection to Phabricator using the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

1. Press **Add repositories**.
2. Go to **Administration > Manage code hosts > Add repositories**
3. Select **Gitolite**.
4. Configure the connection to Gitolite using the action buttons above the text field, and additional fields can be added using `Cmd/Ctrl+Space` for auto-completion. See the [configuration documentation below](#configuration).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

# - ../../components/utils/migrate-to-nonprivileged # -- Component for migrating from privileged to non-privileged
#
```
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

deploy: sourcegraph
name: redis-store-conf
```
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

name: redis-store-conf

```
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

1. [Examine the error rates](#check-error-rates) for any anomalies.
1. If you know the approximate time the issue occurred or if there is a spike in error rate around a
4. [Examine the error rates](#check-error-rates) for any anomalies.
5. If you know the approximate time the issue occurred or if there is a spike in error rate around a

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

2. Are there spikes in latencies or error rate over time?
3. Are there spikes in usage or traffic over time that correlate with when the issue is reported.
4. Are there spikes in memory usage, CPU, or disk usage over time?
5. If you know the approximate time the issue occurred or if there is a suspicious spike in metrics

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor
Page Before After Diff
/admin/access-control prod preview −5 +5
/admin/architecture prod preview −6 +6
/admin/audit-log prod preview −69 +69
/admin/auth/builtin prod preview −4 +4
/admin/auth prod preview −68 +68
/admin/auth/login-form prod preview −2 +2
/admin/auth/saml/azure-ad prod preview −9 +9
/admin/auth/saml/generic prod preview −12 +12
/admin/auth/saml prod preview −47 +47
/admin/auth/saml/jump-cloud prod preview −14 +14
/admin/auth/saml/microsoft-adfs prod preview −86 +86
/admin/auth/saml/okta prod preview −17 +17
/admin/auth/saml/one-login prod preview −13 +13
/admin/auth/troubleshooting prod preview −14 +14
/admin/code-hosts/aws-codecommit prod preview −10 +10
/admin/code-hosts/azuredevops prod preview −11 +11
/admin/code-hosts/bitbucket-cloud prod preview −4 +4
/admin/code-hosts/bitbucket-server prod preview −34 +34
/admin/code-hosts/gerrit prod preview −34 +34
/admin/code-hosts/github prod preview −25 +25
/admin/code-hosts/gitlab prod preview −8 +8
/admin/code-hosts/gitolite prod preview −4 +4
/admin/code-hosts prod preview −2 +2
/admin/code-hosts/non-git prod preview −6 +6
/admin/code-hosts/other prod preview −7 +7
/admin/code-hosts/phabricator prod preview −6 +6
/admin/code-hosts/rate-limits prod preview −14 +14
/admin/code-hosts/src-serve-git prod preview −9 +9
/admin/config/batch-changes prod preview −16 +16
/admin/config/settings prod preview −7 +7
/admin/config/site-config prod preview −2 +2
/admin/executors prod preview −3 +3
/admin/faq prod preview −4 +4
/admin/how-to/enable-experimental-feature prod preview −11 +11
/admin/how-to prod preview −11 +11
/admin/how-to/internal-github-repos prod preview −4 +4
/admin/how-to/manage-feature-flags-with-graphql prod preview −4 +4
/admin/how-to/monorepo-issues prod preview −8 +8
/admin/how-to/mutate-user-api prod preview −4 +4
/admin/how-to/remove-repo prod preview −6 +6
…and 244 more

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Spell check found 4 issue(s) in this PR

Only findings on lines added by this PR, and in its title and description, are shown.

Pull request description

  • line 45, column 284
    • blockquotes → blockquote
  • line 46, column 34
    • reindented → reinvented
  • line 53, column 12
    • reindented → reinvented
  • line 62, column 1
    • Reindenting → reinventing

Please correct the spelling, or add words which are correct to cspell-allow-list.txt.

Comment on this PR with /spell <list of words>, and a bot will push a commit to your branch adding your comment's list of words to cspell-allow-list.txt for you.

To accept all of the words above as correct: /spell blockquotes reindented Reindenting

marcleblanc2 and others added 4 commits November 13, 2026 02:48
dev/check-markdownlint.mjs runs markdownlint on the docs pages a PR
changes and comments the issues the base branch does not have, with a
suggested change on each flagged line the PR adds. Like the other checks
it is advisory and runs through .github/actions/pr-check.

The rules, in .markdownlint-cli2.jsonc at the repository root where
markdownlint-cli2 and editor markdownlint extensions find them:

- MD004: bullets are dashes
- MD007: nested bullets are indented 2 spaces
- MD029: ordered lists are numbered 1, 2, 3
- MD030: one space after each list marker, which 2-space nesting needs

prettier.config.js sets tabWidth 2 for Markdown and MDX, so Prettier
writes the same layout, and VS Code recommends the markdownlint
extension. markdownlint-cli2 is installed in the workflow only, like
CSpell. The PR check takes the config from the merge commit, like dev/,
so branches that predate it are checked with these rules. Generated
pages are skipped; they are fixed upstream.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d27a-2c0f-7493-8f9d-280d6e95a2b8
Co-authored-by: Amp <amp@ampcode.com>
Bullets are dashes with one space after the marker, nested lists start at
their parent item's text (2 spaces under a bullet, 3 under `1.`), and
ordered lists are numbered 1, 2, 3, as markdownlint rules MD004, MD007,
MD029, and MD030 and Prettier with tabWidth 2 write them.

Numbered lists that restarted after a code block, image, or note not
indented under the step before it are joined back into one list, so
procedures no longer show readers wrong step numbers. Two pages are
fixed by hand: kubernetes/upgrade.mdx had a step inside a note's
blockquote, and kustomize.mdx had cloud provider links meant to nest.

Each list item's text, code blocks, and nested lists move with its
marker. Apart from the joined lists and the kustomize nesting, every
page's MDX syntax tree is unchanged, so they render the same.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d27a-2c0f-7493-8f9d-280d6e95a2b8
Co-authored-by: Amp <amp@ampcode.com>
Reindenting the lists touched these lines, so the links check now
checks them. Most replacements are the ones in the open draft #1999;
the Auth0, EnterpriseDB, GitLab, and JetBrains links got their current
URLs.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d27a-2c0f-7493-8f9d-280d6e95a2b8
Co-authored-by: Amp <amp@ampcode.com>
Prettier wrote YAML with the global tabWidth 4; it now uses 2 for YAML,
as for Markdown. Every workflow and action is reformatted to match. The
changes are whitespace only, and each file parses to the same data.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d27a-2c0f-7493-8f9d-280d6e95a2b8
Co-authored-by: Amp <amp@ampcode.com>
1. Navigate to Administration -> API Console and run the query below
1. Find the corresponding user by searching the query results for the encoded ID from above
1. Grab the ID from the audit log
2. Base64 [encode](https://www.base64encode.org) the ID with a "User:" prefix. For example, for Actor with ID 71 use `User:71`, which encodes to `VXNlcjo3MQ==`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

- [`excludePersonalRepositories`](/admin/code-hosts/bitbucket-server#configuration)
- With this enabled, Sourcegraph will exclude any personal repositories from being imported, even if it has access to them.
- [`repos`](/admin/code-hosts/bitbucket-server#configuration)
- A list of repositories in `projectKey/repositorySlug` format. The order determines the order in which we sync repository metadata and is safe to change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

- [`orgs`](/admin/code-hosts/github#orgs)A list of organizations (every repository belonging to the organization will be cloned).
- [`repositoryQuery`](/admin/code-hosts/github#repositoryQuery)A list of strings with four pre-defined options (`public`, `internal`, `affiliated`, `none`), and/or a [GitHub advanced search query](https://github.com/search/advanced).
- [`exclude`](/admin/code-hosts/github#exclude)A list of repositories to exclude which takes precedence over the `repos`, `orgs`, and `repositoryQuery` fields.
- [`repos`](/admin/code-hosts/github#repos)A list of repositories in `owner/name` format. The order determines the order in which we sync repository metadata and is safe to change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

- `gitserver` CPU/memory resource allocations (allocate enough memory to hold your Git packed bare repositories)
- `sourcegraph-frontend` CPU/memory resource allocations
- `searcher` CPU/memory resource allocations (allocate enough memory to hold all non-binary files in your repositories)
- `indexedSearch` CPU/memory resource allocations (for the `zoekt-indexserver` pod, allocate enough memory to hold all non-binary files in your largest repository; for the `zoekt-webserver` pod, allocate enough memory to hold ~2.7x the size of all non-binary files in your repositories)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

- `gitserver` CPU/memory resource allocations (allocate enough memory to hold your Git packed bare repositories)
- `sourcegraph-frontend` CPU/memory resource allocations
- `searcher` CPU/memory resource allocations (allocate enough memory to hold all non-binary files in your repositories)
- `indexedSearch` CPU/memory resource allocations (for the `zoekt-indexserver` pod, allocate enough memory to hold all non-binary files in your largest repository; for the `zoekt-webserver` pod, allocate enough memory to hold ~2.7x the size of all non-binary files in your repositories)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.


**Notes**:

- Successive invocations of this command will re-attempt the last failed or attempted (but incomplete) migration. This command run as if the `--ignore-single-{dirty,pending}-log` flags supplied by the commands `up`, `upto`, and `downto` were enabled.
- Successive invocations of this command may _cause_ database drift when partial progress is made. When making a subsequent downgrade attempt, invoke this command with `--skip-drift-check` ignore the failing startup check.
- Successive invocations of this command will re-attempt the last failed or attempted (but incomplete) migration. This command run as if the `--ignore-single-{dirty,pending}-log` flags supplied by the commands `up`, `upto`, and `downto` were enabled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

- Successive invocations of this command may _cause_ database drift when partial progress is made. When making a subsequent upgrade attempt, invoke this command with `--skip-drift-check` ignore the failing startup check.
- Successive invocations of this command will re-attempt the last failed or attempted (but incomplete) migration. This command run as if the `--ignore-single-{dirty,pending}-log` flags supplied by the commands `up`, `upto`, and `downto` were enabled.
- This command checks that the schema of the database is in the correct state for the current version, if schema drift is detected it must be resolved before completing the upgrade. [Learn more here.](/self-hosted/updates/migrator/schema-drift).
- Successive invocations of this command may _cause_ database drift when partial progress is made. When making a subsequent upgrade attempt, invoke this command with `--skip-drift-check` ignore the failing startup check.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

- Successive invocations of this command will re-attempt the last failed or attempted (but incomplete) migration. This command run as if the `--ignore-single-{dirty,pending}-log` flags supplied by the commands `up`, `upto`, and `downto` were enabled.
- Successive invocations of this command may _cause_ database drift when partial progress is made. When making a subsequent downgrade attempt, invoke this command with `--skip-drift-check` ignore the failing startup check.
- Successive invocations of this command will re-attempt the last failed or attempted (but incomplete) migration. This command run as if the `--ignore-single-{dirty,pending}-log` flags supplied by the commands `up`, `upto`, and `downto` were enabled.
- Successive invocations of this command may _cause_ database drift when partial progress is made. When making a subsequent downgrade attempt, invoke this command with `--skip-drift-check` ignore the failing startup check.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.


**Notes**:

- If `DISABLE_CODE_INSIGHTS` is not set and the `codeinsights-db` is not available, then this command will fail with the default value for the `--db` flag. To resolve, supply `--db=frontend,codeintel` instead.
- If `DISABLE_CODE_INSIGHTS` is not set and the `codeinsights-db` is not available, then this command will fail with the default value for the `--db` flag. To resolve, supply `--db=frontend,codeintel` instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.


**Notes**:

- If `DISABLE_CODE_INSIGHTS` is not set and the `codeinsights-db` is not available, then this command will fail with the default value for the `--db` flag. To resolve, supply `--db=frontend,codeintel` instead.
- If `DISABLE_CODE_INSIGHTS` is not set and the `codeinsights-db` is not available, then this command will fail with the default value for the `--db` flag. To resolve, supply `--db=frontend,codeintel` instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passage was already duplicated, and is now out of step with:

The passage you changed is also written somewhere else, so the two copies now disagree. Decide which page is the home for it, and replace the other copy with a link; or make the same change there too.

This branch was successfully deployed

1 active deployment
Preview — d2889e08 Deployed Nov 13, 2026 by vercel[bot]
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