| index 3b371e4e3..88c18acc8 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-sqlite-integrity-safe.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-sqlite-integrity-safe.tsv |
| @@ -2,13 +2,13 @@ |
| # 2 body, 0 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| # 2 new dispositions: 0 reads re-frozen at their disposition with the claim, 2 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| @legacy c109695ab92e5cc735ade2d02bcd7447f7042dd1ec9bdf3ef3e95eb372776de8 internal/ops/litestream.go RestoreVerify legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-sqlite-integrity-safe;basis=Output and counting only: prints restore result and freshness separately and counts current vs could-not-judge; exit status unchanged. No read added or changed; restore call and its one retry unchanged. file:ReadFile@79 6c892a8d1dbcf5b6c6bc00a322e366133c12a24e11ab713065afa5a938907d24 |
| -@legacy a40a02c2dd0d85ece306d2f194e4c53c840448767e2e8e12c69350cd0adb3231 third_party/ltx/decoder.go Decoder.Close legacy accepted-legacy accepted-legacy;rev3=census-ruling-litestream-pin-1443;basis=vendored byte-for-byte from upstream ltx v0.5.1 (until now compiled into root from the module cache, outside the census); no read added or changed. Only acquireReadLock (BeginTx context) and ltx Compactor.Compact (header error returned) differ from upstream (#1443);rev3=census-ruling-sqlite-integrity-safe;basis=Reads through inputReader; a tail shorter than 8 bytes returns io.ErrUnexpectedEOF instead of panicking on a negative slice bound; lz4 end-frame error keeps its cause. No read added; same LTX object the restore already opened. file:ReadAll@516 96ece0fb16711d0734af662cd07573b843caa34587c9bc83bc07e09cc2da051e |
| -@legacy 669999ee2b7d160232627631c0425a6643574a3f5fcaf320da268241ea8ef68d internal/ops/freshness.go sourceHeader legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New helper replacing the ChangeCounter call in replicaFreshnessCounter: opens the same source path from the generated litestream config and reads the first 28 header bytes (counter plus WAL-mode bytes 18-19) in one read. Same file, same open, no new path. file:Open@82 85e75e33a94f533d2412e25570e5bc4d208451994afb2acc6e7a73fdd9a02fb1 |
| -@legacy e7a953a21f3117bc8d2c9106f897f7123cedce1b00f231a8082d71f3b63ce5cd third_party/ltx/decoder.go inputReader.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New wrapper around the decoder's existing input reader: maps a premature io.EOF to io.ErrUnexpectedEOF unless the decoded zero-page terminator was reached; passes other errors through. Reads only the LTX stream the decoder already reads. file:Read@23,file:Read@64 7bb1baa719abcf75a1cfab2d123b0c0f37a4818c536617e57c2b363afff8298b |
| +@legacy 6151873a3d72e15537deb1cb1ede8feb04894ce8adec13f42f25e569cbd9e0d7 third_party/ltx/decoder.go Decoder.Close legacy accepted-legacy accepted-legacy;rev3=census-ruling-litestream-pin-1443;basis=vendored byte-for-byte from upstream ltx v0.5.1 (until now compiled into root from the module cache, outside the census); no read added or changed. Only acquireReadLock (BeginTx context) and ltx Compactor.Compact (header error returned) differ from upstream (#1443);rev3=census-ruling-sqlite-integrity-safe;basis=Reads through inputReader; a tail shorter than 8 bytes returns io.ErrUnexpectedEOF instead of panicking on a negative slice bound; lz4 end-frame error keeps its cause. Astra R1 P1-1: first returns an error the input already delivered with earlier bytes (held by inputReader) before reading the raw tail. No read added; same LTX object the restore already opened. file:ReadAll@659 7c3ce9c262deefda32975a406437af5a6ecdd8350ad45cf907d3ed3f2757c163 |
| +@legacy c1b9ece5df9992ac59958b8ca72deb3cad1fd3cfb42b17390cb1c297a242f02c internal/ops/freshness.go sourceHeader legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New helper replacing the ChangeCounter call in replicaFreshnessCounter: opens the same source path from the generated litestream config and reads the first 28 header bytes (counter plus journal-mode bytes 18-19, returned as a pair so only (1,1) earns current, Astra R1 P1-2) in one read. Same file, same open, no new path. file:Open@86 50c340a8a178a71e5fc32c3b4c111cbb1e0cdf0ab0b0a2b632fd9acbca8bbfc9 |
| +@legacy 8a5f8cfe82fc07c56f9162223c22a1cb755bc1c1a60430a38e6a62a7ff237c04 third_party/ltx/decoder.go inputReader.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New wrapper around the decoder input reader: maps a premature io.EOF to io.ErrUnexpectedEOF; passes other errors through, and (Astra R1 P1-1) holds a non-EOF error that arrives with bytes and returns it on every later read so io.ReadFull cannot drop it. Reads only the LTX stream the decoder already reads. file:Read@106,file:Read@23 500600c032b15ebb4b35b2acece650771d1c9331dafb74c75567f16366da9c0b |
| internal/ops/litestream.go RestoreVerify legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-sqlite-integrity-safe;basis=Output and counting only: prints restore result and freshness separately and counts current vs could-not-judge; exit status unchanged. No read added or changed; restore call and its one retry unchanged. file:ReadFile@79 6c892a8d1dbcf5b6c6bc00a322e366133c12a24e11ab713065afa5a938907d24 |
| -third_party/ltx/decoder.go Decoder.Close legacy accepted-legacy accepted-legacy;rev3=census-ruling-litestream-pin-1443;basis=vendored byte-for-byte from upstream ltx v0.5.1 (until now compiled into root from the module cache, outside the census); no read added or changed. Only acquireReadLock (BeginTx context) and ltx Compactor.Compact (header error returned) differ from upstream (#1443);rev3=census-ruling-sqlite-integrity-safe;basis=Reads through inputReader; a tail shorter than 8 bytes returns io.ErrUnexpectedEOF instead of panicking on a negative slice bound; lz4 end-frame error keeps its cause. No read added; same LTX object the restore already opened. file:ReadAll@516 96ece0fb16711d0734af662cd07573b843caa34587c9bc83bc07e09cc2da051e |
| -internal/ops/freshness.go sourceHeader legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New helper replacing the ChangeCounter call in replicaFreshnessCounter: opens the same source path from the generated litestream config and reads the first 28 header bytes (counter plus WAL-mode bytes 18-19) in one read. Same file, same open, no new path. file:Open@82 85e75e33a94f533d2412e25570e5bc4d208451994afb2acc6e7a73fdd9a02fb1 |
| -third_party/ltx/decoder.go inputReader.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New wrapper around the decoder's existing input reader: maps a premature io.EOF to io.ErrUnexpectedEOF unless the decoded zero-page terminator was reached; passes other errors through. Reads only the LTX stream the decoder already reads. file:Read@23,file:Read@64 7bb1baa719abcf75a1cfab2d123b0c0f37a4818c536617e57c2b363afff8298b |
| +third_party/ltx/decoder.go Decoder.Close legacy accepted-legacy accepted-legacy;rev3=census-ruling-litestream-pin-1443;basis=vendored byte-for-byte from upstream ltx v0.5.1 (until now compiled into root from the module cache, outside the census); no read added or changed. Only acquireReadLock (BeginTx context) and ltx Compactor.Compact (header error returned) differ from upstream (#1443);rev3=census-ruling-sqlite-integrity-safe;basis=Reads through inputReader; a tail shorter than 8 bytes returns io.ErrUnexpectedEOF instead of panicking on a negative slice bound; lz4 end-frame error keeps its cause. Astra R1 P1-1: first returns an error the input already delivered with earlier bytes (held by inputReader) before reading the raw tail. No read added; same LTX object the restore already opened. file:ReadAll@659 7c3ce9c262deefda32975a406437af5a6ecdd8350ad45cf907d3ed3f2757c163 |
| +internal/ops/freshness.go sourceHeader legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New helper replacing the ChangeCounter call in replicaFreshnessCounter: opens the same source path from the generated litestream config and reads the first 28 header bytes (counter plus journal-mode bytes 18-19, returned as a pair so only (1,1) earns current, Astra R1 P1-2) in one read. Same file, same open, no new path. file:Open@86 50c340a8a178a71e5fc32c3b4c111cbb1e0cdf0ab0b0a2b632fd9acbca8bbfc9 |
| +third_party/ltx/decoder.go inputReader.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-sqlite-integrity-safe;basis=New wrapper around the decoder input reader: maps a premature io.EOF to io.ErrUnexpectedEOF; passes other errors through, and (Astra R1 P1-1) holds a non-EOF error that arrives with bytes and returns it on every later read so io.ReadFull cannot drop it. Reads only the LTX stream the decoder already reads. file:Read@106,file:Read@23 500600c032b15ebb4b35b2acece650771d1c9331dafb74c75567f16366da9c0b |
| @coverage . 66d3445f86ea99dd88e2209717e7f0c357e1507923b07426993c10b6cf8df03e |
| -@coverage internal/ops fec19eaf2786925518f2bc78997b61a6753388049837e7db04cfafba557a2665 |
| -@coverage third_party/ltx c9722f3e80379a8d8fb86b9a8061849e748e5d6dc537d8927ed3daa9ccc8bc2b |
| +@coverage internal/ops 42c990c49025533b34592b73cf4276c914ec8cda4f972b910751d7d7d7aedbc0 |
| +@coverage third_party/ltx 5fafd968d55daccc9eae9caca02579ffb81693125f5305f62c1cedbd7def1659 |