Skip to content

feat: add client aggregate APIs#98

Merged
zhangyangyu merged 1 commit into
mainfrom
codex/client-aggregate-apis-20260615
Jun 14, 2026
Merged

feat: add client aggregate APIs#98
zhangyangyu merged 1 commit into
mainfrom
codex/client-aggregate-apis-20260615

Conversation

@zhangyangyu

Copy link
Copy Markdown
Collaborator

Description

Add reusable aggregate endpoints for viewer bootstrap, repo summaries, org management summaries, issue threads, wiki catalogs/batch pages, and notification summaries.

Changes:

  • extend issue listing with server-side title prefix filtering and lightweight field selection
  • document the aggregate API design
  • add an explicit E2E benchmark script under e2e/benchmark/ so default make test-e2e does not run it

Tracking

N/A

Tests

  • go test ./internal/rest -run 'Test.*Aggregate|Test.*Summary|Test.*IssueThread|Test.*Wiki'
  • go test ./internal/service
  • bash -n e2e/benchmark/client-aggregate-performance.sh
  • SCRIPT=benchmark/client-aggregate-performance bash e2e/run.sh skips without token as expected
  • go test ./... -run '^$'
  • python3 scripts/doc_lint.py
  • git diff --check

Notes

  • make test-e2e keeps its existing top-level script discovery behavior. Benchmark scripts live under e2e/benchmark/ and must be run explicitly with SCRIPT=benchmark/client-aggregate-performance.
  • Focused full runtime tests can require a running TiDB test database; this PR was compile-checked across all packages with go test ./... -run '^$'.

SSOT Drift Prevention Checklist

  • Checked that this PR does not violate boundaries in docs/architecture.md or docs/module-contracts.md
  • If this PR changes package structure or dependencies, updated the relevant SSOT doc
  • If this PR changes test conventions or coverage expectations, updated docs/test-strategy.md
  • If this PR changes CI, smoke, regression, or workflow expectations, updated docs/ci.md

@zhangyangyu zhangyangyu merged commit c23d7a0 into main Jun 14, 2026
15 of 16 checks passed
@zhangyangyu zhangyangyu deleted the codex/client-aggregate-apis-20260615 branch June 14, 2026 18:02
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