Skip to main content

Manual Reviews

Manual review is the primary control path. It creates a normal review.Request and sends it through the same bounded worker queue as webhook work. The rest of the pipeline is identical: SCM enrichment, context selection, model review, finding validation, draft output, and human approval before final publication.

Inputs

ProviderRequired identifiersExample run ID
GitHubrepository as owner/repo, pr_numberowner/repo!7
GitLabproject_id, mr_iid25!19

Use the provider identifiers from the SCM system, not local branch names.

Trigger a review

7review review github --repo owner/repo --pr 7 --server http://localhost:8080
7review review gitlab --project 25 --mr 19 --server http://localhost:8080

Response semantics

A successful request returns the run ID and an enqueued status. A rejected request should include a reason.

ResultMeaningTypical fix
enqueuedThe job entered the bounded worker queueInspect it with sessions or session
already running or conflictThe same run ID is queued or runningWait for the current run or inspect it
queue fullThe server accepted the request format but has no queue capacityIncrease WEBHOOK_QUEUE_SIZE or retry later
validation errorProvider, repository, project, PR, or MR input is missing or invalidCorrect the identifiers

Manual triggers can create a fresh rerun after a previous run completed or failed. They do not double-enqueue the same currently running run.

Inspect the result

7review sessions --server http://localhost:8080
7review session owner/repo!7 --server http://localhost:8080
7review history owner/repo!7 --server http://localhost:8080

For GitLab, replace the run ID with project_id!mr_iid:

7review session 25!19 --server http://localhost:8080

Operational notes

  • Manual review still uses WEBHOOK_WORKERS, WEBHOOK_QUEUE_SIZE, and WEBHOOK_JOB_TIMEOUT_MS.
  • Manual review does not bypass provider authentication or SCM enrichment.
  • Webhook policy does not block manual requests; the operator is the policy decision for manual mode.
  • Final publication remains an explicit human action after draft output is prepared.