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

babelfish-for-postgresql / babelfish_extensions / 21318344890
77%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: sauravay-dev
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 24 Jan 2026 05:15PM UTC
Jobs 1
Files 121
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:49PM UTC coverage: 76.644% (-0.002%) from 76.646%
21318344890

push

github

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

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

Co-authored-by: Kushaal Shroff <51415286+KushaalShroff@users.noreply.github.com>

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

2 existing lines in 1 file now uncovered.

52479 of 68471 relevant lines covered (76.64%)

387706.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.99
0.05% contrib/babelfishpg_tds/src/backend/tds/tdsbulkload.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.16
-0.62% contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
Jobs
ID Job ID Ran Files Coverage
1 21318344890.1 24 Jan 2026 05:15PM UTC 121
76.64
GitHub Action Run
Source Files on build 21318344890
  • Tree
  • List 121
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21318344890
  • 483295f9 on github
  • Prev Build on BABEL_5_5_STABLE (#21311050105)
  • 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