Skip to content

test(search): cover record summaries on PostgreSQL and document Go SDK - #2380

Merged
lgecse merged 1 commit into
agntcy:mainfrom
Kush-Meta:codex/summary-postgres-followup
Oct 20, 2026
Merged

lgecse merged 1 commit into
agntcy:mainfrom
Kush-Meta:codex/summary-postgres-followup

Conversation

@Kush-Meta

Copy link
Copy Markdown
Contributor

ListRecordSummaries is now part of Directory, but the existing server integration suite did not exercise the RPC against PostgreSQL through gRPC. This adds a read-only integration test with records present only in the database: it verifies that summaries do not need an OCI pull, joined skill filters do not duplicate rows, and pagination, total count, metadata, and popularity order work together.

The integration cleanup now treats a missing OCI repository as already clean only when the test never called the Tags callback, so read-only tests can run without creating a repository. The Go SDK and API reference pages document the merged RPC's default 50-row page and 100-row maximum; an obsolete SearchRecordsRequest example is also corrected.

Validation: full server integration suite against PostgreSQL, Zot, and OASF; MkDocs build; codespell and pymarkdown on changed pages; pinned lint for the tests module (zero issues).

This follows the summary API merged in #2328 and adds coverage and usage documentation without changing its behavior.

@Kush-Meta
Kush-Meta requested a review from a team as a code owner October 18, 2026 04:04
@github-actions github-actions Bot added the size/S Denotes a PR that changes 50-199 lines label Oct 18, 2026
@codecov

codecov Bot commented Oct 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lgecse
lgecse force-pushed the codex/summary-postgres-followup branch from 13d5081 to 67dbaee Compare October 20, 2026 12:01
@lgecse
lgecse added this pull request to the merge queue Oct 20, 2026
Merged via the queue into agntcy:main with commit 6540c11 Oct 20, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants