Skip to content
CodeSpider
GitHub

Earlier Gitea recordings

These experiments predate the published release. For the current walkthrough, start with the release run.

Offline baseline

The fixture used an AGENTS.md rule and a Go timeout whose cancel function was discarded. The offline analyzer reported the finding without a model call.

Local Gitea 1.23.8 repository overview for demo-dev/report-service in dark theme
Gitea 1.23.8 · Dark Disposable demo-dev/report-service repository with baseline Go code and AGENTS.md. Inspect full capture
Gitea 1.23.8 · Dark
Local Gitea 1.23.8 repository overview for demo-dev/report-service in dark theme
Open full-size image
Gitea PR #1 diff on demo-dev/report-service showing context.WithTimeout with discarded cancel in dark theme
PR #1 Diff · Dark report.go:10 introduces context.WithTimeout(parent, 30*time.Second) while discarding cancel. Inspect full capture
PR #1 Diff · Dark
Gitea PR #1 diff on demo-dev/report-service showing context.WithTimeout with discarded cancel in dark theme
Open full-size image
codespider review --offline --dry-run
PR: demo-dev/report-service#1 | Model: offline-deterministic | Verdict: COMMENT | Steps: 0 | Tokens: 0

Inline Comments (1):
  - report.go:10: **[WARNING]** **[STATICALLY SUPPORTED]** `context.With*` in `Generate` does not call/defer its cancel function, leaking timer/goroutine resources until parent context expires.

**Evidence:** AST check found context.With* without cancel invocation

Summary:
## Deterministic Analysis Brief
Static analyzers flagged:
- [WARNING] CS-FLOW-003 (report.go:10): Context cancel function discarded or never called
Impacted Go tests: report_test.go:TestGenerateDelegatesContext

Model-assisted review

A signed Gitea webhook triggered REQUEST_CHANGES for the discarded cancel function and a one-click suggestion. After the developer pushed the fix and a regression test, the bot recorded APPROVE.

Gitea PR #1 conversation showing live CodeSpider REQUEST_CHANGES review, inline comment on report.go:10, and sticky summary with Mermaid graph in dark theme
Stage B · PR #1 Dark qwen3.8:27b posted REQUEST_CHANGES, an inline suggestion on report.go:10, and the sticky summary. Inspect full capture
Stage B · PR #1 Dark
Gitea PR #1 conversation showing live CodeSpider REQUEST_CHANGES review, inline comment on report.go:10, and sticky summary with Mermaid graph in dark theme
Open full-size image
Gitea Files Changed diff view on report.go showing CodeSpider inline warning and 1-click defer cancel() suggestion
Inline Diff · report.go:10 Live inline comment posted directly on report.go:10 with a 1-click defer cancel() suggestion. Inspect full capture
Inline Diff · report.go:10
Gitea Files Changed diff view on report.go showing CodeSpider inline warning and 1-click defer cancel() suggestion
Open full-size image
Gitea PR #1 thread showing @codespider /summary developer trigger and CodeSpider review response
Interactive · @codespider /summary Posting @codespider /summary triggered a 6-step agentic response confirming the context leak and AGENTS.md test gap. Inspect full capture
Interactive · @codespider /summary
Gitea PR #1 thread showing @codespider /summary developer trigger and CodeSpider review response
Open full-size image
Gitea PR #1 after developer fix commit showing CodeSpider APPROVE incremental review and green commit status in dark theme
Re-review · APPROVE Dark After pushing defer cancel() and TestGenerateCancelsContextOnReturn, CodeSpider approved PR #1. Inspect full capture
Re-review · APPROVE Dark
Gitea PR #1 after developer fix commit showing CodeSpider APPROVE incremental review and green commit status in dark theme
Open full-size image

Second pull request: API signature and HTTP body

The live run reported CS-API-002 and CS-FLOW-001 on client.go. Both findings cleared on re-review of the fixture.

Gitea PR #1 on demo-dev/api-gateway showing CodeSpider REQUEST_CHANGES review for CS-API-002 and CS-FLOW-001
api-gateway#1 · Before Fix Sticky summary and REQUEST_CHANGES review on demo-dev/api-gateway#1 (2 inline comments). Inspect full capture
api-gateway#1 · Before Fix
Gitea PR #1 on demo-dev/api-gateway showing CodeSpider REQUEST_CHANGES review for CS-API-002 and CS-FLOW-001
Open full-size image
Gitea Files Changed view on client.go showing both CS-FLOW-001 and CS-API-002 inline comments
Files Changed · client.go Both CS-FLOW-001 (line 18) and CS-API-002 (lines 10-23) anchored directly on client.go. Inspect full capture
Files Changed · client.go
Gitea Files Changed view on client.go showing both CS-FLOW-001 and CS-API-002 inline comments
Open full-size image
Gitea PR #1 on demo-dev/api-gateway after fix commit showing 0 inline comments and updated sticky summary
api-gateway#1 · After Fix Post-fix re-review cleared both findings (0 inline comments, green codespider/review status). Inspect full capture
api-gateway#1 · After Fix
Gitea PR #1 on demo-dev/api-gateway after fix commit showing 0 inline comments and updated sticky summary
Open full-size image
Offline review before the fix
PR: demo-dev/api-gateway#1 | Model: offline-deterministic | Verdict: REQUEST_CHANGES | Steps: 0 | Tokens: 0

Inline Comments (2):
  - client.go:23: **[CRITICAL]** **[STATICALLY SUPPORTED]** *(Lines 10–23)* Signature changed from `func FetchStatus(context.Context, *http.Client, string) (int, error)` to `func FetchStatus(context.Context, *http.Client, string, string) (int, error)`.
  - client.go:18: **[WARNING]** **[STATICALLY SUPPORTED]** Resource `resp` acquired in `FetchStatus` has no matching `defer resp.Body.Close()` / `Close()` on CFG exit paths.

Summary:
## Deterministic Analysis Brief
Static analyzers flagged:
- [CRITICAL] CS-API-002 (client.go:23): Breaking exported signature / contract change
- [WARNING] CS-FLOW-001 (client.go:18): HTTP response or file handle never closed
Impacted Go tests: client_test.go:TestFetchStatus
Offline review after the fix
PR: demo-dev/api-gateway#1 | Model: offline-deterministic | Verdict: COMMENT | Steps: 0 | Tokens: 0

Summary:
## Deterministic Analysis Brief
Impacted Go tests: client_test.go:TestFetchStatus, client_test.go:TestRecordStatusesConcurrent

Run telemetry

Five runs on two fixture pull requests completed. The 26 successful HTTP responses measure tool-calling transport, not review accuracy.

CodeSpider Operations Console overview showing qwen3.8:27b, 5/0 runs OK/Fail, 5 inline comments, 135157 total tokens, and live SSE activity
Console · Overview & SSE Live Operations Console after all 5 Stage B runs: 5/0 runs (OK/Fail), 5 inline comments, 135,157 tokens. Inspect full capture
Console · Overview & SSE
CodeSpider Operations Console overview showing qwen3.8:27b, 5/0 runs OK/Fail, 5 inline comments, 135157 total tokens, and live SSE activity
Open full-size image
CodeSpider Reviews & Evidence Explorer listing all 5 completed qwen3.8:27b runs with verdicts, findings, and durations
Console · Reviews & Evidence Recorded review history across report-service#1 and api-gateway#1 with per-run durations and evidence states. Inspect full capture
Console · Reviews & Evidence
CodeSpider Reviews & Evidence Explorer listing all 5 completed qwen3.8:27b runs with verdicts, findings, and durations
Open full-size image

Scroll the table horizontally to see all columns.

Stage B runs on two fixture pull requests
Run TargetKindVerdictStepsTokensDuration and output
report-service#1 (before fix)pr_reviewREQUEST_CHANGES621,711445.4s · 1 inline + summary
report-service#1 (@codespider /summary)comment_replyREQUEST_CHANGES624,484754.4s · 1 inline + review
report-service#1 (after fix)pr_reviewAPPROVE531,592722.9s · 1 info note
api-gateway#1 (before fix)pr_reviewREQUEST_CHANGES530,653307.9s · 2 inline + summary
api-gateway#1 (after fix)pr_reviewCOMMENT426,717263.8s · 0 inline (cleared)

Setup and limitations

Stage A and Stage B environment
FieldRecorded value
Capture date2026-11-27
Source commitfed7f5cc90ec22a8e8a15abe45e61f824a4cf1f4
Build noteStage A ran unmodified fed7f5c. Stage B ran fed7f5c with two local deviations: a one-line per-job deadline change (5m -> 15m) and a local proxy that added reasoning_effort: "none" to every chat completion request. Both are now config keys (agent.job_timeout_seconds, llm.reasoning_effort) on main from ee66683.
ForgeGitea 1.23.8
Modelqwen3.8:27b · Q4_K_M (27.3B, qwen35) · Ollama 0.40.18 (OpenAI-compatible /v1; reasoning_effort: none injected by a local request-rewriting proxy)
HardwareLinux workstation (Intel Core i5-10400, 31 GiB RAM, NVIDIA RTX 4060 8 GiB VRAM, 71% CPU / 29% GPU hybrid offload)
Stage AComplete (Gitea + CodeSpider daemon + deterministic CLI + webhook /help + Dashboard/Playground)
Stage BComplete (5/5 live webhook-triggered qwen3.8:27b agentic runs succeeded, 26/26 tool calls HTTP 200)
What the earlier runs establish
ObservationVerified detail
Hybrid CPU/GPU inference speedqwen3.8:27b (Q4_K_M, 19.0 GB runtime footprint) offloaded 5.32 GB to an 8 GiB RTX 4060 (~29% GPU / ~71% CPU), yielding 1.19–2.00 tok/s and 4.4m–12.6m per multi-step PR review.
Hardcoded 5-minute per-job deadlineAt fed7f5c the per-job deadline was fixed at 5 minutes; running a 27B model in hybrid CPU/GPU mode needed a local 5m -> 15m source change plus a proxy that injected reasoning_effort: "none". Both are now configurable (agent.job_timeout_seconds, llm.reasoning_effort).
Unsynchronized map write in worker.goWith sandbox.mode: "disabled" (no opt-in go test -race execution), neither deterministic checks nor qwen3.8:27b flagged the unsynchronized map write in api-gateway/worker.go.
@codespider /summary output targetThe interactive @codespider /summary trigger executed a full 6-step agent run and posted its response as a structured Gitea PR Review rather than a standalone issue comment.
See the reproducible offline benchmark