Skip to content

docs(code-monitoring): add Advanced section on result limit, timeout, and site config - #2121

Open
marcleblanc2 wants to merge 2 commits into
mainfrom
marc/docs/code-monitoring-advanced
Open

marcleblanc2 wants to merge 2 commits into
mainfrom
marc/docs/code-monitoring-advanced

Conversation

@marcleblanc2

Copy link
Copy Markdown
Contributor

Adds an Advanced section to the bottom of the code monitoring page covering the knobs that decide how much a monitor run can find before it stops:

  • count: (default 10,000) and timeout: (default 20 s) in the monitor query, and that count: without timeout: uses the maximum timeout
  • that a run which hits either limit notifies about what it found and does not re-search the commits it skipped
  • that email and Slack show the first 5 results; webhooks send all of them
  • the codeMonitors site-config object (pollInterval, concurrency, maxRuntime) and the search.limits.maxTimeoutSeconds cap, linked to their existing homes rather than restating defaults

Values are from internal/search/limits/limits.go, internal/search/job/jobutil/job.go (timeoutDuration), internal/conf/computed.go (CodeMonitors()), and internal/codemonitors/background/{slack,email}.go on main of sourcegraph/sourcegraph. The skipped-commits behaviour reflects sourcegraph/sourcegraph#17057 (merged 2026-10-31).

Local checks: links (baseline-filtered, --check-anchors --check-self-links), hostnames, duplicates, and cspell all clean.

@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
sourcegraph-docs Ignored Ignored Preview Oct 31, 2026 3:49am UTC

Request Review

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Direct preview links to pages changed in this PR:

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

This comment has been minimized.

@marcleblanc2

Copy link
Copy Markdown
Contributor Author

/spell jobutil

@marcleblanc2
marcleblanc2 enabled auto-merge (squash) October 31, 2026 03:49

This branch was successfully deployed

1 active (outdated) deployment
Preview — 27ffc568 Deployed Oct 31, 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