Skip to content

Agentic development improvements - #620

Merged
fank merged 13 commits into
OCAP2:mainfrom
YetheSamartaka:main
Nov 30, 2026
Merged

fank merged 13 commits into
OCAP2:mainfrom
YetheSamartaka:main

Conversation

@YetheSamartaka

Copy link
Copy Markdown
Contributor

Agentic development improvements

@YetheSamartaka
YetheSamartaka requested a review from fank November 29, 2026 22:40
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Coverage Report for ui

Status Category Percentage Covered / Total
🔵 Lines 100%
🟰 ±0 pp
10227 / 10227
🔵 Statements 100%
🟰 ±0 pp
14573 / 14573
🔵 Functions 100%
🟰 ±0 pp
4195 / 4195
🔵 Branches 100%
🟰 ±0 pp
5974 / 5974
File CoverageNo changed files found.
Generated in workflow #363 for commit 6d0e283 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/OCAP2/web/cmd/ocap-testkit 100.00% (+100.00%) 🌟
github.com/OCAP2/web/internal/server 100.00% (ø)
github.com/OCAP2/web/internal/testkit 100.00% (+100.00%) 🌟
Coverage details

Compared to commit 4946647 (run #46294339782)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/OCAP2/web/cmd/ocap-testkit/main.go 100.00% (+100.00%) 3 (+3) 3 (+3) 0 🌟
github.com/OCAP2/web/internal/server/handler_stream.go 100.00% (ø) 541 541 0
github.com/OCAP2/web/internal/server/operation.go 100.00% (ø) 304 304 0
github.com/OCAP2/web/internal/testkit/cases.go 0.00% (ø) 0 0 0
github.com/OCAP2/web/internal/testkit/runner.go 100.00% (+100.00%) 138 (+138) 138 (+138) 0 🌟

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files:

  • github.com/OCAP2/web/cmd/ocap-testkit/main_test.go
  • github.com/OCAP2/web/internal/agentdocs/agentdocs_test.go
  • github.com/OCAP2/web/internal/server/coverage_extra_test.go
  • github.com/OCAP2/web/internal/server/handler_stream_resume_test.go
  • github.com/OCAP2/web/internal/server/handler_stream_test.go
  • github.com/OCAP2/web/internal/server/route_access_test.go
  • github.com/OCAP2/web/internal/testkit/runner_test.go

@fank

fank commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Ratatoskr reviewed this pull request.

Approved on aa002aa0. See the review.

Finished 2026-11-29 22:59 UTC.

@fank fank left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

APPROVE — 0 blocking findings.

Review details

Reviewed aa002aa0c465b5fc2cffbfc38947ac8b517aed17 against base 4946647a2183638e09589c0cd53d69b7a7153fbb, including surrounding route authorization, recording loading, and existing test fixtures. No actionable correctness or safety defect found.

The new internal/server/route_access_test.go:17–80 exercises prefixed routes through the registered mux and checks denied deletion preserves both the row and file. ui/src/pages/recording-playback/__tests__/snapshotReplay.integration.test.ts:66–143 checks lazy sidecar deduplication, reconstructed frame state, and Arsenal outputs through the real loader/engine. All 46 Go selectors and all UI selector paths in the testkit exist.

Local checks (Node 24.21.0; Go toolchain located explicitly on PATH):

  • python3 scripts/check_agent_workflows.py — passed.
  • git diff 4946647a2183638e09589c0cd53d69b7a7153fbb --check — passed.
  • npm ci --prefix ui --ignore-scripts — passed.
  • From ui/: npx tsc --noEmit, npx eslint src/, and npm test — passed; 120 test files passed, 1 skipped; 2,438 tests passed, 13 skipped. The optional corpus comparison was not supplied local recording artifacts.
  • go mod download — passed. go run ./testkit run — attempted; final run passed map-boundary, but 8/9 cases failed at SQLite-dependent checks because this environment has no C compiler and go-sqlite3 was compiled with CGO disabled. This is a local verification limitation, not an identified PR defect. Report: testkit/runs/20261129T225752Z-194446626/report.json (local, ignored).

GitHub Go and UI checks report success. No full local Go suite, SPA build, browser visual check, or live provider/native-tool acceptance is claimed; application behavior is unchanged apart from a migration comment.

Earlier discussions: GraphQL enumeration returned zero review threads (hasNextPage: false), so there were no comments to paginate, recheck, reply to, resolve, or skip. Authenticated reviewer identity: fank.

Tracked working tree remained clean; no commits or pushes.

@fank
fank merged commit 22e34eb into OCAP2:main Nov 30, 2026
3 checks passed
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.

2 participants