• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

goto / guardian / 18875764968 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2025 01:09PM UTC
Files 112
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2025 01:06PM UTC coverage: 67.964% (-1.0%) from 68.985%
18875764968.1

push

github

web-flow
feat: implement summary and advanced filtering for grant and approval APIs (#231)

* feat: implement poc summaries for guardian

* Update grant_repository.go

* Update grant_repository.go

* Update grant_repository.go

* dev

* dev

* dev

* dev

* dev

* dev

* Add unique summary support to grant listing

Introduces support for unique field summaries in grant listing APIs. Updates protobuf definitions, handlers, domain models, and repositories to handle 'summary_uniques' and return unique counts and values in summary results.

* Quote column names in generateUniqueSummaries query

Updated the query in generateUniqueSummaries to quote table and column names, ensuring correct SQL syntax and preventing issues with reserved words or special characters.

* Initialize Uniques slice in ToSummaryProto

Added initialization of the Uniques slice in the ToSummaryProto method to ensure the SummaryResult proto includes the correct number of unique entries.

* Refactor Distinct query in generateUniqueSummaries

Simplifies the GORM query by removing the redundant Table call and using Distinct directly on the column. This streamlines the code and maintains the same functionality.

* Add baseTableName param to generateUniqueSummaries

Refactored generateUniqueSummaries to accept a baseTableName parameter and updated its usage in GrantRepository. This change improves flexibility and correctness when querying distinct values from specific tables.

* Improve summary error handling and input validation

Refactored summary generation for grants and approvals to provide more granular error messages for invalid input formats, empty table/column names, and unsupported tables. Enhanced input validation and standardized slice handling for summary fields. Updated repository methods to use generator functions for DB queries, and improved join logic for summary queries.

* Fix function name for approval summary joins

Renamed applyApprovalsSummariesJoins to applyApprovalsSummaryJ... (continued)

11490 of 16906 relevant lines covered (67.96%)

4.57 hits per line

Source Files on job 18875764968.1
  • Tree
  • List 112
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18875764968
  • 873e3127 on github
  • Prev Job for on main (#18865719867.1)
  • Next Job for on main (#18910799942.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc