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

eresearchqut / ddb-repository / 26195143056
98%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 11:08PM UTC
Jobs 1
Files 3
Run time 1min
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

20 May 2026 11:06PM UTC coverage: 95.971% (-0.2%) from 96.176%
26195143056

push

github

ryan-bennett
fix: preserve GSI sort order and projection in getItemsPage

getItemsPage with a GSI index had two bugs compared to getItems:

1. Sort order not preserved: batchGetItems returns items in undefined
   order; the results were not reordered to match the GSI query order.

2. Projection missing key attributes: when projectedAttributes is
   specified, batchGetItems needs hash/range keys in its projection to
   perform the reordering lookup; then the final result must be trimmed
   to only the requested attributes.

Apply the same orderedItems logic that getItems uses (introduced in
PR #38) and handle projection trimming identically.

Add 3 new integration tests:
- Preserves ASC sort order via GSI
- Preserves DESC sort order via GSI
- Applies projection (trims key attributes after reordering)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

197 of 217 branches covered (90.78%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 1 file covered. (100.0%)

327 of 329 relevant lines covered (99.39%)

134.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26195143056.1 20 May 2026 11:08PM UTC 3
95.97
GitHub Action Run
Source Files on build 26195143056
  • Tree
  • List 3
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26195143056
  • 1e45f249 on github
  • Prev Build on main (#26195123063)
  • Next Build on main (#26195384921)
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