Commit ba8fa7c
Pin Python-only divergences and clarify ClusterRequest V0
Post-audit doc pass. A cross-package audit against upstream dqlite C
(dqlite-upstream/src/) and go-dqlite confirmed no wire-level drift and
no unfounded claims about upstream, but flagged two documentation gaps:
- README had no consolidated list of the Python-specific caps and
validations that diverge from C/Go (max_rows/max_message_size caps,
full-8-byte row-marker check, BOOLEAN strict encode, FilesResponse
alignment, UNIXTIME outbound rejection, StmtResponse short-body
rejection, ClusterRequest V0 skip). Add a "Deliberate divergences
from upstream" section listing each item and what it protects
against.
- ClusterRequest.format=0 rejection said "not supported" which reads
like upstream removed it. The V0 format is still a valid upstream
wire format — we just chose not to implement the ServersResponse
decoder for it. Sharpen the docstring and the error messages to
make the self-imposed limitation explicit, and update the two
tests that matched the old wording.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 985152d commit ba8fa7c
3 files changed
Lines changed: 52 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
47 | 84 | | |
48 | 85 | | |
49 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
517 | 523 | | |
518 | 524 | | |
519 | 525 | | |
| |||
524 | 530 | | |
525 | 531 | | |
526 | 532 | | |
527 | | - | |
528 | | - | |
529 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
530 | 536 | | |
531 | 537 | | |
532 | 538 | | |
| |||
537 | 543 | | |
538 | 544 | | |
539 | 545 | | |
540 | | - | |
541 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
542 | 549 | | |
543 | 550 | | |
544 | 551 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
| 445 | + | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| |||
0 commit comments