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

babelfish-for-postgresql / babelfish_extensions / 21318349772
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL_4_9_STABLE
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 24 Jan 2026 05:20PM UTC
Jobs 1
Files 115
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

24 Jan 2026 04:50PM UTC coverage: 74.177% (+0.004%) from 74.173%
21318349772

push

github

web-flow
BCP fix done token spanning packet boundaries (#4492)

* BCP fix done token spanning packet boundaries (#4478)

Problem: When DONE token (13 bytes) was split across TDS packet boundaries, only the first byte (0xFD) would be checked, causing the remaining bytes in the next packet to be misinterpreted.
Actually we have always seen that done token gets truncated to fit in available space, I can see in some cases the done token is only 8 bytes at the end of the message - packet marked with EOM. If we're at EOM with incomplete DONE token, that's actually acceptable.

Solution:

Check if DONE token is present
Only fetch additional bytes if NOT at EOM and buffer has < 13 bytes
Accept incomplete DONE tokens at EOM (handles truncated tokens from optimizing clients)

JIRA: BABEL-6317

Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>
Co-authored-by: Kushaal Shroff <51415286+KushaalShroff@users.noreply.github.com>

4 of 5 new or added lines in 1 file covered. (80.0%)

43961 of 59265 relevant lines covered (74.18%)

276886.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.99
0.05% contrib/babelfishpg_tds/src/backend/tds/tdsbulkload.c
Jobs
ID Job ID Ran Files Coverage
1 21318349772.1 24 Jan 2026 05:20PM UTC 115
74.18
GitHub Action Run
Source Files on build 21318349772
  • Tree
  • List 115
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21318349772
  • a2e6ed68 on github
  • Prev Build on BABEL_3_X_DEV (#21282540106)
  • Delete
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