Skip to content

Commit 545459d

Browse files
rgfaberclaude
andcommitted
deps: bump macula-go to v0.7.1 for the client_stream/bidi reply-loss fix
v0.6.2 -> v0.7.1. Verified against macula-go's own commits before taking it. The one that matters here is dcaddff: RecvFrame's read loop appended Stream.Read's returned bytes to its buffer, then returned any accompanying error without re-checking whether those bytes now completed a frame. io.Reader's contract permits a Read call to return its final chunk together with io.EOF in the same call (quic-go's Stream.Read does this in practice), so a cleanly-completed reply with FIN on the last STREAM frame got its fully-delivered bytes thrown away instead of decoded, surfacing as a bogus "read stream: EOF" instead of the reply. Live-verified upstream against production: 6/20 -> 30/30, then a clean 20/20. Bundled in the same commit: Handle.CloseSend now also closes the underlying QUIC stream's send side (previously only sent the app-level STREAM_END frame), and FrameStream.stream is now a narrow interface instead of the concrete *quic.Stream, enabling a real regression test. v0.7.0 (folded into this bump) added opt-in station discovery via hecate_stations and a doc fix; neither touches this SDK. macula-php was checked for whether this is actually reachable: cabi/ stream.go exposes stream.Open (frame.Bidi included) and Handle.SendData/ Recv/CloseSend directly across the C ABI to PHP callers, exactly the client_stream/bidi path dcaddff fixes. Every PHP-side stream call was exposed to the intermittent reply-loss bug. No transitive dependency changes -- the fix is internal to macula-go (connection/frame_stream.go, stream/stream.go). go vet clean, the native libmacula.so rebuilds clean with -buildmode=c-shared, composer validate clean, 24/24 offline PHPUnit tests green, and the live suite (composer test:live, against station-de-frankfurt) passes clean too -- no flakiness hit this time, so nothing to bisect. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QmtYoyo1AgfjvV4EnEfuFB
1 parent 05a7f67 commit 545459d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cabi/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/macula-io/macula-php/cabi
22

33
go 1.27.0
44

5-
require github.com/macula-io/macula-go v0.6.2
5+
require github.com/macula-io/macula-go v0.7.1
66

77
require (
88
github.com/google/uuid v1.6.0 // indirect

cabi/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
22
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
33
github.com/klauspost/cpuid/v2 v2.4.0 h1:S6Hrbc7+ywsr0r+RLapfGBHfyefhCTwEh3A0tV913Dw=
44
github.com/klauspost/cpuid/v2 v2.4.0/go.mod h1:19jmZ9mjzoF//ddRSUsv0zfBTJWh3QJh9FNxZTMrGxU=
5-
github.com/macula-io/macula-go v0.6.2 h1:svUhlYJ7xwtYl1fwLCVeTEfsnu//MFwzFJFhS2egblQ=
6-
github.com/macula-io/macula-go v0.6.2/go.mod h1:qJxJcqiLkLZ4K1jbrCy0H5/OO4WVUQEo9hFUJU5Es6I=
5+
github.com/macula-io/macula-go v0.7.1 h1:/1/otzEGzuBvMAGCTBT8QQLln9hgzPkhTG25jpgPqts=
6+
github.com/macula-io/macula-go v0.7.1/go.mod h1:qJxJcqiLkLZ4K1jbrCy0H5/OO4WVUQEo9hFUJU5Es6I=
77
github.com/quic-go/go-ossfuzz-seeds v0.1.0 h1:APacT+iIaNF6fd8AGEiN3bT/Jtkd2jz4v4TzM7MFjy0=
88
github.com/quic-go/go-ossfuzz-seeds v0.1.0/go.mod h1:3IOHRbJIc+L6YKMwfDtJAM9Vj9k0YY4muhuyUYk5tbk=
99
github.com/quic-go/quic-go v0.62.0 h1:ZHDjCk5OacATwGvs8PWE97CTvX7AqZiVoW7++ZOXTf8=

0 commit comments

Comments
 (0)