From 14fd8ddb075dc646489ed16a533bbf9aa41763d7 Mon Sep 17 00:00:00 2001 From: Heimdall Date: Wed, 11 Nov 2026 17:33:54 +0000 Subject: [PATCH] Vendor Huginn desk-feed golden fixtures (9dde93e) with a sha256 pin test Co-Authored-By: Claude Sonnet 5.5 --- .../Bifrost.Web.Tests.csproj | 1 + .../DeskFeedFixturePinTests.cs | 91 ++++++++++++++++++ .../Fixtures/desk-feed/.gitattributes | 3 + .../Fixtures/desk-feed/README.md | 41 ++++++++ .../desk-feed/error.response.frame.bin | Bin 0 -> 119 bytes .../desk-feed/error.response.frame.hex | 1 + .../desk-feed/failure.response.frame.bin | Bin 0 -> 372 bytes .../desk-feed/failure.response.frame.hex | 1 + .../desk-feed/failure.response.payload.hex | 1 + .../failure.response.payload.msgpack | 1 + .../desk-feed/list-counts.request.frame.bin | Bin 0 -> 278 bytes .../desk-feed/list-counts.request.frame.hex | 1 + .../desk-feed/list-counts.request.payload.hex | 1 + .../list-counts.request.payload.msgpack | Bin 0 -> 72 bytes .../desk-feed/list-counts.response.frame.bin | Bin 0 -> 406 bytes .../desk-feed/list-counts.response.frame.hex | 1 + .../list-counts.response.payload.hex | 1 + .../list-counts.response.payload.msgpack | 1 + .../desk-feed/list-empty.response.frame.bin | Bin 0 -> 406 bytes .../desk-feed/list-empty.response.frame.hex | 1 + .../desk-feed/list-empty.response.payload.hex | 1 + .../list-empty.response.payload.msgpack | Bin 0 -> 132 bytes .../list-open-cursor.request.frame.bin | Bin 0 -> 282 bytes .../list-open-cursor.request.frame.hex | 1 + .../list-open-cursor.request.payload.hex | 1 + .../list-open-cursor.request.payload.msgpack | 1 + .../desk-feed/list-open.request.frame.bin | Bin 0 -> 278 bytes .../desk-feed/list-open.request.frame.hex | 1 + .../desk-feed/list-open.request.payload.hex | 1 + .../list-open.request.payload.msgpack | 1 + ...list-response-too-large.response.frame.bin | Bin 0 -> 298 bytes ...list-response-too-large.response.frame.hex | 1 + ...st-response-too-large.response.payload.hex | 1 + ...esponse-too-large.response.payload.msgpack | Bin 0 -> 50 bytes .../list-too-large.response.frame.bin | Bin 0 -> 527 bytes .../list-too-large.response.frame.hex | 1 + .../list-too-large.response.payload.hex | 1 + .../list-too-large.response.payload.msgpack | 1 + .../read-too-large.response.frame.bin | Bin 0 -> 477 bytes .../read-too-large.response.frame.hex | 1 + .../read-too-large.response.payload.hex | 1 + .../read-too-large.response.payload.msgpack | 1 + .../desk-feed/read-unknown.response.frame.bin | Bin 0 -> 365 bytes .../desk-feed/read-unknown.response.frame.hex | 1 + .../read-unknown.response.payload.hex | 1 + .../read-unknown.response.payload.msgpack | 1 + .../Fixtures/desk-feed/read.request.frame.bin | Bin 0 -> 317 bytes .../Fixtures/desk-feed/read.request.frame.hex | 1 + .../desk-feed/read.request.payload.hex | 1 + .../desk-feed/read.request.payload.msgpack | 1 + .../desk-feed/record-whole.payload.hex | 1 + .../desk-feed/record-whole.payload.msgpack | Bin 0 -> 1071 bytes .../desk-feed/refused-unit.response.frame.bin | Bin 0 -> 266 bytes .../desk-feed/refused-unit.response.frame.hex | 1 + .../refused-unit.response.payload.hex | 1 + .../refused-unit.response.payload.msgpack | 1 + .../desk-feed/unavailable.response.frame.bin | Bin 0 -> 314 bytes .../desk-feed/unavailable.response.frame.hex | 1 + .../unavailable.response.payload.hex | 1 + .../unavailable.response.payload.msgpack | 1 + 60 files changed, 174 insertions(+) create mode 100644 tests/Bifrost.Web.Tests/DeskFeedFixturePinTests.cs create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/.gitattributes create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/README.md create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/failure.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/failure.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/failure.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/failure.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open-cursor.request.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open-cursor.request.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open-cursor.request.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open-cursor.request.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open.request.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open.request.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open.request.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-open.request.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.msgpack create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.bin create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.hex create mode 100644 tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.msgpack diff --git a/tests/Bifrost.Web.Tests/Bifrost.Web.Tests.csproj b/tests/Bifrost.Web.Tests/Bifrost.Web.Tests.csproj index 1e94198..c9c0497 100644 --- a/tests/Bifrost.Web.Tests/Bifrost.Web.Tests.csproj +++ b/tests/Bifrost.Web.Tests/Bifrost.Web.Tests.csproj @@ -23,6 +23,7 @@ + diff --git a/tests/Bifrost.Web.Tests/DeskFeedFixturePinTests.cs b/tests/Bifrost.Web.Tests/DeskFeedFixturePinTests.cs new file mode 100644 index 0000000..fadd596 --- /dev/null +++ b/tests/Bifrost.Web.Tests/DeskFeedFixturePinTests.cs @@ -0,0 +1,91 @@ +using System.Security.Cryptography; + +namespace Bifrost.Web.Tests; + +// Huginn's desk-feed golden bytes, vendored byte for byte from +// crates/huginn-mind/tests/fixtures/desk-feed/ at Huginn commit 9dde93e (docs/desk-feed-door.md is the contract). +// A silent re-vendor fails here: move the pin on purpose, with the contract and the door's tests. +public sealed class DeskFeedFixturePinTests +{ + public const string HuginnCommit = "9dde93e"; + + public static readonly string Directory = Path.Combine(AppContext.BaseDirectory, "Fixtures", "desk-feed"); + + private static readonly Dictionary Sha256 = new(StringComparer.Ordinal) + { + [".gitattributes"] = "171872d6445cb1ffef0263b613d1ac318a60398449831d4cc4f772f78a7ebcff", + ["README.md"] = "e2529f2bfedaf986a3f0df100c60ca2a4c46a74c83845d4d9c02d5c9a35dcb88", + ["error.response.frame.bin"] = "fa03f44b82d7c4796f45dd36086a54342dc1de7e660a58cf3ddff4ff59d85a4c", + ["error.response.frame.hex"] = "21c75b6e1d000ddc1a5455a9cc4d6c5b37bd1640c22e1055e96ff85bdff461bb", + ["failure.response.frame.bin"] = "edc2277943334744d3057902800c25bbc913ff8ed336b4612f1a19772ec46dc9", + ["failure.response.frame.hex"] = "b3c262ac506b51529e8063b2d38cc8c0047b431b75fe6ede1a91adebefd014d3", + ["failure.response.payload.hex"] = "13ca85b5868451892746d2531833d394b66d25b5069cd0208169c5fcc94bf350", + ["failure.response.payload.msgpack"] = "4bf7c80eb2d75b9559ab430757a98ebfd424745ed3fc1888d21bc6e41ed99403", + ["list-counts.request.frame.bin"] = "1c04651e0b5b00c1ea955c19a07694c887010a5dbed3c56c745eb08b2e86a525", + ["list-counts.request.frame.hex"] = "38f70d81ad9d6622e259147f8d092e1d1a506dbff41509736a78b514fd87c33b", + ["list-counts.request.payload.hex"] = "b4ed23985d7b2ff45710fce0f0969cc9a8e421d1f7f01c5d8bc0e1a4f9c014bf", + ["list-counts.request.payload.msgpack"] = "738646e54e0ec239d309b3bc3d8513e73db9dd2e7ea9df0a6a29ad999d3e2fa8", + ["list-counts.response.frame.bin"] = "bf51c933fbbaa61934907cb66f5e07ac813de48e849ac80bdf3ba4f75d3952a3", + ["list-counts.response.frame.hex"] = "3f395ae2302d0882fb2456fe94512bba045a1c967f98b4ebf6b306dd5e3d74a3", + ["list-counts.response.payload.hex"] = "9a6f6b0be985d6ff8d313fa9e12ffe6662a59ff7305e574f4bfe8bf9a3ce2291", + ["list-counts.response.payload.msgpack"] = "1f83a7c9ab1ce1af7c245a8f11f54ea67ef273fc2533554db3a1711e3f650c13", + ["list-empty.response.frame.bin"] = "faf3c5008bd50c7f76121a3f27c5c4f944d1c7ad32d8bbd4e67d025c45b3f4f1", + ["list-empty.response.frame.hex"] = "9b0f15bf8948e44f9e43718914f6621402c98c06e0d21bf90640c521ab7f1a45", + ["list-empty.response.payload.hex"] = "d93cd65c1d9f4fc052b9c7f17d16ea6e468a7af296cafd6a31d671ae855d2860", + ["list-empty.response.payload.msgpack"] = "7b1a26f303d3bdd0317d24a0eb4a2d9144ada0a878c927905a1a345efabf3a9f", + ["list-open-cursor.request.frame.bin"] = "c73283d1e1e774abf66a6e4011ccc5c3f723a81cc2a4d3eb39575411479e7051", + ["list-open-cursor.request.frame.hex"] = "b8a1716d9a1d6c1ece46dc8cdafa8a9efaa5474596ae41facd95fe8efcbad6f5", + ["list-open-cursor.request.payload.hex"] = "0901e276fa578bb30792d925a0a2d0b65a09629d7b2493d4e666c714127df531", + ["list-open-cursor.request.payload.msgpack"] = "5fd85c8418ea8f15313178c3410f9d21a8f0cc0bdbadbf5c56f3fa825a9869b9", + ["list-open.request.frame.bin"] = "30ca39b84d3fa4c0562ad4707db765f35d2e0f2bcd42695e2595b6f8fafb3866", + ["list-open.request.frame.hex"] = "ca4b065102699f7998040b5d0a396a088b2f7254ff1a6801fa1d648746453d3f", + ["list-open.request.payload.hex"] = "960f570d6f76691ba75e4adb81b80e836612282ee0f88993be4754f60b00d461", + ["list-open.request.payload.msgpack"] = "4f6ca021ff72d59869359ffb296bd93706ef13d86e8aea4efe5bcf11f4b59bd6", + ["list-response-too-large.response.frame.bin"] = "b95218e48c1f8e4162f515b97a85c324b9ccfe2b3216780ed0eca1d2e2066f19", + ["list-response-too-large.response.frame.hex"] = "b4bedb2c59b1362e5059caf6dbea63952b8fe9c47b681da3825422bc677f8632", + ["list-response-too-large.response.payload.hex"] = "4f5f18915e0e536c387e659eb2021570a5b0bc5e0f530521ca226dc687d6780d", + ["list-response-too-large.response.payload.msgpack"] = "9749f0dc7a3ec69aba7f45ba62ef61332461747cf42b188b84998da7bbd4d5d9", + ["list-too-large.response.frame.bin"] = "1210fb82189a23d7ee4eb3851d4b83013f4f2a2298533734df348156097b5c60", + ["list-too-large.response.frame.hex"] = "aad762b1e1deea39330223eb9ea7ebd2bb0fdd3326e259383b90846c1310456f", + ["list-too-large.response.payload.hex"] = "880ae2c51454a3d6b06d2e827e44b6990365d8cfa304b55e25eb898641117762", + ["list-too-large.response.payload.msgpack"] = "710d145c1ded7e7d02343342becd61e4520da979580f13dbebe6f0eda5aabec6", + ["read-too-large.response.frame.bin"] = "5995c03914851ea95aaff4b75fa3ebaee4f19a2c7ce101eab85b7475515690bd", + ["read-too-large.response.frame.hex"] = "b150aa192bf3fa415b5175f8b9f43731c5b73c2a2153c87da2dc3a4b6d986ee2", + ["read-too-large.response.payload.hex"] = "18b7ad6c617ee1d9a3aa726a012e9a3af8ca9c14b8af774d082cf17879c85b90", + ["read-too-large.response.payload.msgpack"] = "4a9135ede7d6588ba65e49b372b99d5da956fab9c693f1aa018e0ebe1406246a", + ["read-unknown.response.frame.bin"] = "a62293ff79c0bbe626d020140f4c8cbe3f62a87ac0f730f3ba3c2a7acd3d49a5", + ["read-unknown.response.frame.hex"] = "97ab11a04a2d62917186b23666ed26ef09df220ffb1c3e188d919985085733e2", + ["read-unknown.response.payload.hex"] = "ca8d4d1fa4d40915b6e062767967e62343b360ce669801da96d99509e24787fb", + ["read-unknown.response.payload.msgpack"] = "0d4fe47159db88b5048bc1f42a0e72857b568eac48572777a0c896ee94f7c208", + ["read.request.frame.bin"] = "702d5a0a80bf05b75b24eff5a3f889ab0c96e819b8ca172e77bae05d74895662", + ["read.request.frame.hex"] = "79c951722dd939212cb33635270dec11f47debd979960e8d4f74f2ecfd83708a", + ["read.request.payload.hex"] = "3202f08616589a3d56bc36299b9915d1f8de8d2cd5573d21bca9115d30d9d968", + ["read.request.payload.msgpack"] = "c10a27f67a4a2512d06c01528e1ee59754f9cc2e5a1b244b9982268bc8b4d2e0", + ["record-whole.payload.hex"] = "f1fcee6923dbed3b49153e552e045af0e5be415fd857583e52ea519553784c46", + ["record-whole.payload.msgpack"] = "1687ef965066e1a7e264ccd10760449ce14f28b2042c67f7d7944b0db2275581", + ["refused-unit.response.frame.bin"] = "4f86943a6947dd3c6041ee7d1b52d3f73697604dd224ca5dcf5b66064b0de1f1", + ["refused-unit.response.frame.hex"] = "f25f35911d242d6fdb7ac4e1ecb3fe01901aa4b816d957104bde6f21b29a1bed", + ["refused-unit.response.payload.hex"] = "858d49c8c66ce1b9c32160e2aecb320a8c00166728c80f5a02d62ec90b4f410d", + ["refused-unit.response.payload.msgpack"] = "f2eedbece230b164adf1897c3a047317a4e3074b2d5fd4c5abef3fbb98336c32", + ["unavailable.response.frame.bin"] = "0cb241568bb20d0ccf62f337f4daa01ca3dd82cedd476fb4c1f9e7dc3272cabe", + ["unavailable.response.frame.hex"] = "86f0e5bb2d3e0ea39ae2f0dbc2c1b62e5a77a35bffc6f4adfa87d280d718bf44", + ["unavailable.response.payload.hex"] = "5a8e7d6e3cd7abf3649941d6b55a511d025c2baf2d8dde08e505e57e9cb4fd22", + ["unavailable.response.payload.msgpack"] = "dfa613abaf5f23e6aff5bcb0a59b3a1784f2fbf6d12cbdfa82f10e80963f0a4e", + }; + + [Fact] + public void Fixtures_are_huginn_9dde93e_byte_for_byte() + { + var present = new DirectoryInfo(Directory).GetFiles().Select(f => f.Name).Order(StringComparer.Ordinal).ToArray(); + Assert.Equal(Sha256.Keys.Order(StringComparer.Ordinal).ToArray(), present); + + foreach (var (name, expected) in Sha256) + { + var actual = Convert.ToHexString(SHA256.HashData(File.ReadAllBytes(Path.Combine(Directory, name)))).ToLowerInvariant(); + Assert.True( + expected == actual, + $"{name} is not Huginn {HuginnCommit}:crates/huginn-mind/tests/fixtures/desk-feed/{name} (sha256 {actual}). " + + "Re-vendor from that commit or move the pin on purpose."); + } + } +} diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/.gitattributes b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/.gitattributes new file mode 100644 index 0000000..0f9afd5 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/.gitattributes @@ -0,0 +1,3 @@ +*.bin binary +*.msgpack binary +*.hex text eol=lf diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/README.md b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/README.md new file mode 100644 index 0000000..b018191 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/README.md @@ -0,0 +1,41 @@ +# Desk feed golden fixtures + +The bytes on a Mind's desk socket for a list or a read. The contract is `docs/desk-feed-door.md`. +`crates/huginn-mind/tests/desk_feed_fixtures.rs` writes these files with Huginn's own encoders and +checks them on every `cargo test -p huginn-mind --test desk_feed_fixtures`. Set +`HUGINN_WRITE_DESK_FIXTURES=1` to rewrite them. Do not edit them by hand. + +Each case has up to four files: + +- `.frame.bin` and `.frame.hex`: the whole frame on the socket (u32 big-endian length, + then the CultNet message). +- `.payload.msgpack` and `.payload.hex`: the base64-decoded `payload` of an operation + message (named MessagePack). The `record-*` cases are bare payload fragments with no frame. + +Hex is lowercase with one trailing newline. The fork id is a question Eureka's mind holds. The +record's answers, notes and hash are synthetic. + +**The listing gate is not live.** On `main` every showable question goes to every reader. Do not +put a Mind that holds private questions behind a live receiver before `cut-desk-feed-listing` +lands (see `docs/desk-feed-door.md`). + +| case | direction | content | +|---|---|---| +| `list-open.request` | Bifrost to Huginn | `Forks`, status open, no cursor, limit 50 | +| `list-open-cursor.request` | Bifrost to Huginn | `Forks`, status open, cursor `c42`, limit 50 | +| `list-counts.request` | Bifrost to Huginn | `Forks`, status open, limit 0 (counts and stamp only) | +| `read.request` | Bifrost to Huginn | `Fork` for one fork id | +| `list-empty.response` | Huginn to Bifrost | an empty Mind, or nothing listed to this reader: counts 0, `forks: []` | +| `list-counts.response` | Huginn to Bifrost | the limit-0 answer: open 3, recorded 5, `forks: []` | +| `read-unknown.response` | Huginn to Bifrost | `NotStored` `fork_unknown` (Bifrost: 404) | +| `list-too-large.response` | Huginn to Bifrost | `NotStored` `fork_too_large` naming the cursor to continue (Bifrost: 422) | +| `read-too-large.response` | Huginn to Bifrost | `NotStored` `fork_too_large`, read form: names the fork, no order or cursor (Bifrost: 422) | +| `list-response-too-large.response` | Huginn to Bifrost | `Refused` `ResponseTooLarge` (Bifrost: 503) | +| `refused-unit.response` | Huginn to Bifrost | `Refused` with a unit variant: a bare string `"MissingIdentity"` (shape only; Bifrost: 503) | +| `unavailable.response` | Huginn to Bifrost | `Refused` `Unavailable` (Bifrost: 503 for this Mind) | +| `failure.response` | Huginn to Bifrost | operation failure, `payloadSchema` `gamecult.cultnet.operation_failure.v1` (Bifrost: 503) | +| `error.response` | Huginn to Bifrost | CultNet `Error` message, no payload (Bifrost: 503) | +| `record-whole` | fragment | `gamecult.fork.record.v0` with a counted answer and a revision, answerer ids and notes raw, as the door sends them (Bifrost masks for a reader who is not a decider) | + +No case carries a card (`gamecult.fork.card.v0`). The card's bytes wait on CultLib's re-pinned card +vectors for `raised_at`, so no entry-bearing list page or read is pinned yet. diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..e3f3cb2d117e33000059756e20c01ffc1c540fa3 GIT binary patch literal 119 zcmW;8!3hE}5CzaJWh#gwXbo22RbukZ4(?81X0l)bcA|I?!4lGj-3Y$Z8-~GdZ%ZTQ zcz_yL`J^_vzynmPhGqTu=ertPVUdtw7gC&?!6?!UvsiHCOm%_MX1k-))nPBK%~{Hx P#rr+gjQ-5<$dmOS=glw< literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.hex new file mode 100644 index 0000000..fffbf7c --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/error.response.frame.hex @@ -0,0 +1 @@ +0000007385ad736368656d6156657273696f6eb063756c746e65742e6572726f722e7630a56572726f72d92f687567696e6e2e6465736b20726566757365732061206d6573736167655f6964206f76657220323536206279746573ab726f7574696e6748696e74c0a4636f6465c0a764657461696c73c0 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/failure.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/failure.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..3937de00bbc4ece45f4e7c915dba35f8cb34f797 GIT binary patch literal 372 zcmZXQ%}T>S6ou=uMHXQL0Y5qj*4EO==NO*5X`HGQC*OVo_94 zQYLYo4+lxb6|G0AF4MT^UdnzYrrsOPyzk5<(aq_uO&Mrzgw)x4+o@zc4^oD3eAKka zHD7>Y`@@VW;I5$X`)Hu>ulU`Z$--F(t6qaY^aL#Wk3RpS7O*rLJ=@(N*h+H0!*<~^ ksdXp-^Bo#zIgFhqsl3+wY619woV_41a`F!f)75qk?zJK z!TNkY&N<&?a&h@QC~^)ex?wMB8Vsf;3oSSLbz`h>Z#C?t0d{<>AdAW%wzvRM-pj67 z6_Vw#gn6Vf$T+BM$5vs`M5$cQr6}_FNi<<#cHzF($!wjcJ}%Q9qpYh{;-gM_bl0+s zWDEK2)yKFLYBY@N>T~>61Bz)0j+TqVh}_|p6nt&FifipLa^k^K(~)bv-aokCG$ZRy a7T?&(R#WT!d7aVO;K=qIPwMagx_$uhiEPRM literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.frame.hex new file mode 100644 index 0000000..d0554ad --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.frame.hex @@ -0,0 +1 @@ +0000011287a96d6573736167654964a36d2d33a96f7065726174696f6ea5666f726b73a77061796c6f6164d9606761564762334a726334616b62576c755a4b5a6c64584a6c6132476e63335669616d566a644b45337147526c59326c6b5a584a7a6b7145336f6a4579706e4e30595852316336527663475675706d4e31636e4e766373436c62476c7461585141af7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b6687567696e6e2e6465736b5f726571756573742e7631ad736368656d6156657273696f6ebc63756c746e65742e6f7065726174696f6e5f726571756573742e7630a9736572766963654964ab687567696e6e2e6465736b diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.hex new file mode 100644 index 0000000..60cb15a --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.hex @@ -0,0 +1 @@ +81a5466f726b7386a46d696e64a6657572656b61a77375626a656374a137a8646563696465727392a137a23132a6737461747573a46f70656ea6637572736f72c0a56c696d697400 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.request.payload.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..931ad8d5551e6dfba06304c62e3f992180624569 GIT binary patch literal 72 zcmZo%>Xu)WUEH=LH#09~S!!ufYIfrC;?kt7)Z~(d<||TClQUCNi;5>LG+$(Bw5+%! cv81$kNq#|U-m>J9b150x2U_l<_1+ewf8f+#Fg}PO7$=VW5dX%C z#4tO_+S%D>RVpVB_Ztbu;5l^JqpaGSBn6GLI8jftM04|!;+12i_ysc=$Vm1Fb{F!3Ps{|W3ZEg>d35`JF&nTbAO4S$`ext#p zi84@IHnwJu5ol9t`J%bV6lAr3QAgSO#(-YNw3PXF)V4E8t|^RjmBq4T+do!?Tm#3? PCc{~7UNNPRX25;`>583n literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.frame.hex new file mode 100644 index 0000000..26d91d8 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.frame.hex @@ -0,0 +1 @@ +0000019289a96d6573736167654964a36d2d33a96f7065726174696f6ea5666f726b73a77061796c6f6164d9b06761564762334a7263344b6b62476c7a6449657463324e6f5a573168566d567963326c766272566e5957316c593356736443356d62334a724c6d787063335175646a436b62576c755a4b5a6c64584a6c6132476c633352686258436d637a45774d546b77716d39775a57356659323931626e5144726e4a6c593239795a47566b58324e76645735304261566d62334a7263354372626d56346446396a64584a7a62334c417057467a5832396d7a53664faf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a86163636570746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.hex new file mode 100644 index 0000000..47af395 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.hex @@ -0,0 +1 @@ +81a5466f726b7382a46c69737487ad736368656d6156657273696f6eb567616d6563756c742e666f726b2e6c6973742e7630a46d696e64a6657572656b61a57374616d70a6733130313930aa6f70656e5f636f756e7403ae7265636f726465645f636f756e7405a5666f726b7390ab6e6578745f637572736f72c0a561735f6f66cd27ce diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.msgpack new file mode 100644 index 0000000..a040d33 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-counts.response.payload.msgpack @@ -0,0 +1 @@ +�¥Forks‚¤list‡­schemaVersionµgamecult.fork.list.v0¤mind¦eureka¥stamp¦s10190ªopen_count®recorded_count¥forks�«next_cursorÀ¥as_ofÍ'Î \ No newline at end of file diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..5184d4255b4ec855e752251b1ac5c6162f698341 GIT binary patch literal 406 zcmYk2%TB^T6o&PIAhe|>U6KYGE@A*PE!~*89BApxw9d3e`UY-&1>=Pnf^p-@2k~vJ zNDRA^e1HD@=Q}$)f4JWY&>AnH&mKj?*rpjMoX4qrTBIt`FB#tO6tnO5B}N{x28yqbaJCW zXQ|ZCERCH$U<69nTE1w(a|wC#U(`vqwbh`?nAS4iPTKZ5Efj@mA@f+&Z1=|+P$)?7 Pv(9l|=vPcBWI3=O&wrg* literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.hex new file mode 100644 index 0000000..df49d00 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.frame.hex @@ -0,0 +1 @@ +0000019289a96d6573736167654964a36d2d31a96f7065726174696f6ea5666f726b73a77061796c6f6164d9b06761564762334a7263344b6b62476c7a6449657463324e6f5a573168566d567963326c766272566e5957316c593356736443356d62334a724c6d787063335175646a436b62576c755a4b5a6c64584a6c6132476c633352686258436d637a45774d546b77716d39775a57356659323931626e5141726e4a6c593239795a47566b58324e7664573530414b566d62334a7263354372626d56346446396a64584a7a62334c417057467a5832396d7a53664faf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a86163636570746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.hex new file mode 100644 index 0000000..3a4ef1e --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.hex @@ -0,0 +1 @@ +81a5466f726b7382a46c69737487ad736368656d6156657273696f6eb567616d6563756c742e666f726b2e6c6973742e7630a46d696e64a6657572656b61a57374616d70a6733130313930aa6f70656e5f636f756e7400ae7265636f726465645f636f756e7400a5666f726b7390ab6e6578745f637572736f72c0a561735f6f66cd27ce diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-empty.response.payload.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..d6dd07be262108c9fdaa52ba0f1fa2e152d7b6c4 GIT binary patch literal 132 zcmZo%>Xu)WUEH)JC$qSueQj}aMrv+iSZYymW`5q*^u*lMX2J&+2$GJ_?# znRzM8QcH_cvlEvVmn7yEEGsrNFtjvSm0ysW7oVJ8npeWGt|&D*zbGX&1b%s7lKAA(qT>9b14|Q&1}oi zsjkn*IpHndIRqDn^Wk~+DH zWf{sI@|)>>Sql_u##QyPd}{&4x&%wR?QubF@jwlH9)^l5=tu!jfqW(h5|1;F~aLSR!{zDe^3O6ipbILpanrUhJ~O$92*pOS@XdKI*tfcO?rZ zTgbM<`?M5lG`!N~$MmZP6!QWctyjkhxxqat_}q78rM1V&i91V8N3QjH|LA_xl&m{h Zd|@YBO|AFm^^Yz_N4Br3Jb*b*gGK`ace0EvYmk&-G4a_kSsB(aS@J1xBd=Ro{KD5}KLiGy$( zB8X7u=h6E!n;jiL^(`P$0oVMw4dPxKu+&MdUhcH5@y*c3MpOQMAt+CayolL6t3|m? zi`C7#oS$rqEa}QyASAh3n|x!+yot7gED0g!yD9BbG0mkCpHsJ? ztPVKC1n+~bYFQPl?pjveQN=YRtRAi5BQ5SusBZrV!m+-T=+l!z>RtY+etPa j{5VM4q4t(R;+2!_$c8@_fVWW7S9H{Qe7A59%mM!az7cmj literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.frame.hex new file mode 100644 index 0000000..2f7bf26 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.frame.hex @@ -0,0 +1 @@ +0000012689a96d6573736167654964a36d2d31a96f7065726174696f6ea5666f726b73a77061796c6f6164d944676164535a575a316332566b676242535a584e776232357a5a56527662307868636d646c677156696558526c63383441415246777057787062576c307a6741424141413daf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a872656a6563746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.hex new file mode 100644 index 0000000..a69cabb --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.hex @@ -0,0 +1 @@ +81a75265667573656481b0526573706f6e7365546f6f4c6172676582a56279746573ce00011170a56c696d6974ce00010000 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-response-too-large.response.payload.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..26ac65e1da3564ea44689df43ad5d041dd39c28d GIT binary patch literal 50 zcmZo%9+a9^TAZ5FxFIODxFA2TI5i|c-zTvsJ+*0RQe{bM@i_)Y!GfhZnYo!IKqdnN E03+EG#Q*>R literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..e3ca7d59ae2928dab7b6da815f21c0ace603a889 GIT binary patch literal 527 zcmYk3&5qMB6om)2ya=0CandQuVip9blc>#T5+*<1Ajfu-w2l+mPG-_K;5iU56{<#J z!-^N-X|R|I&F)C&yZ2n(b8+$V)#qc&l)@DY=$Cc|j$O|r)=ekAZacYG-+Mgq4%0s` zURRi3mrneVLU%%0@?PfA4#QLzDdI##eQ7Tj$X;obMWFO=2GqI}o-PfG0I^qUEsDDy zMk9jRlLuU@wB2n9R}-=`j`DCSoi*BJXe6!Pnw&AW?`zUhe%*L&>4Y+XDIjesiv%2K z79OY{))d|@NuF}z#O8*@62bIud!mtj$htvBazCJJ0Btljg0pNxYs+ z-d$nXz>hnW7@bibzz`rvxnUbK(^Eg8a+ literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.hex new file mode 100644 index 0000000..d2fc906 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.frame.hex @@ -0,0 +1 @@ +0000020b89a96d6573736167654964a36d2d31a96f7065726174696f6ea5666f726b73a77061796c6f6164da012867616c4f62335254644739795a57534472584e6a6147567459565a6c636e4e70623236345a3246745a574e31624851755a6d3979617935795a575a31633246734c6e597770474e765a4757755a6d39796131393062323966624746795a32576c5a584a7962334c5a6a575a76636d74666447397658327868636d646c4f69426d62334a7249475631636d56725953317a64574a7a64484a68644755366358566c63335270623234365a47567a6179317361584e306157356e4c57463164476876636d6c306553426864434276636d526c636941304d5342706379427759584e304948526f5a5342775957646c49474a315a47646c644342696553427064484e6c6247593749474e76626e5270626e566c4948647064476767593356796332397949474d304d513d3daf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a872656a6563746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.hex new file mode 100644 index 0000000..3a34206 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.hex @@ -0,0 +1 @@ +81a94e6f7453746f72656483ad736368656d6156657273696f6eb867616d6563756c742e666f726b2e7265667573616c2e7630a4636f6465ae666f726b5f746f6f5f6c61726765a56572726f72d98d666f726b5f746f6f5f6c617267653a20666f726b20657572656b612d7375627374726174653a7175657374696f6e3a6465736b2d6c697374696e672d617574686f72697479206174206f7264657220343120697320706173742074686520706167652062756467657420627920697473656c663b20636f6e74696e7565207769746820637572736f7220633431 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.msgpack new file mode 100644 index 0000000..7964e1f --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/list-too-large.response.payload.msgpack @@ -0,0 +1 @@ +�©NotStoredƒ­schemaVersion¸gamecult.fork.refusal.v0¤code®fork_too_large¥errorÙ�fork_too_large: fork eureka-substrate:question:desk-listing-authority at order 41 is past the page budget by itself; continue with cursor c41 \ No newline at end of file diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..cdb47aab0ca9cedac2f62bf74706bdcf37ac4b6b GIT binary patch literal 477 zcmYk3OK#gR5QftO*{~$rfEV4Ut!W#Ef?BN}+!TC_EyW}ykd$2d20cfEwnkwD=%%Y4 zBsa-2Okxz-4e%r85T?>Ee)q*9L_DylYlNhc393FaTA}#0So75t;$1-k{+Y{ zg$1(_4QE@5<_?Fsz{SeZXpM=)J(G6p_w+^hwPKQs>pGS+TInUq0wyzErooZtt0P~m zDvmx+S&<1AZTt=6DMs0mxWJGi8IgRV*7-c(sPdg+1Zmtd7avN`mWxe;)7ar6InZ!& z^m9$4ti$i(`YFd3iJ+)_dv`JLL9vF{YWL@&t0indpv1s*e7;0dR)Hjct8P~-HRNFS zUo@DuQ3i&6a5m3418uzBf2;8PI*r{7-(rYP&N{rx|QIWozl#`GpOj T)37H$j3u@+zckzcv%nt#$``eN literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.hex new file mode 100644 index 0000000..57ca2f8 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.frame.hex @@ -0,0 +1 @@ +000001d989a96d6573736167654964a36d2d34a96f7065726174696f6ea4666f726ba77061796c6f6164d9f867616c4f62335254644739795a57534472584e6a6147567459565a6c636e4e70623236345a3246745a574e31624851755a6d3979617935795a575a31633246734c6e597770474e765a4757755a6d39796131393062323966624746795a32576c5a584a7962334c5a616d5a76636d74666447397658327868636d646c4f69426d62334a7249475631636d56725953317a64574a7a64484a68644755366358566c63335270623234365a47567a6179317361584e306157356e4c57463164476876636d6c30655342706379427759584e304948526f5a5342795a584e776232357a5a534269623356755a4342696553427064484e6c6247593daf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a872656a6563746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.hex new file mode 100644 index 0000000..660a3fb --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.hex @@ -0,0 +1 @@ +81a94e6f7453746f72656483ad736368656d6156657273696f6eb867616d6563756c742e666f726b2e7265667573616c2e7630a4636f6465ae666f726b5f746f6f5f6c61726765a56572726f72d96a666f726b5f746f6f5f6c617267653a20666f726b20657572656b612d7375627374726174653a7175657374696f6e3a6465736b2d6c697374696e672d617574686f7269747920697320706173742074686520726573706f6e736520626f756e6420627920697473656c66 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.msgpack new file mode 100644 index 0000000..a31a344 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-too-large.response.payload.msgpack @@ -0,0 +1 @@ +�©NotStoredƒ­schemaVersion¸gamecult.fork.refusal.v0¤code®fork_too_large¥errorÙjfork_too_large: fork eureka-substrate:question:desk-listing-authority is past the response bound by itself \ No newline at end of file diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..40186373edea6957be586ae23ccf0b9eb0da45b5 GIT binary patch literal 365 zcmYk2TS~(~7=`PCT1?Xx^XjEhk%+A%c3xyIf74uMCd@w*$qsZKidrNTeDTSJxEn() z(&z8vaL(!V4zj1U1Voy`g?N_z(OOqvsLix`S!z?fRkSHJ6+e$DEw7nByA@&3kYs*p z?xLKAv0cQZ) literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.hex new file mode 100644 index 0000000..4299eb0 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.frame.hex @@ -0,0 +1 @@ +0000016989a96d6573736167654964a36d2d34a96f7065726174696f6ea4666f726ba77061796c6f6164d98867616c4f62335254644739795a57534472584e6a6147567459565a6c636e4e70623236345a3246745a574e31624851755a6d3979617935795a575a31633246734c6e597770474e765a4757735a6d397961313931626d74756233647570575679636d3979756d5a76636d746664573572626d3933626a6f67626d38676333566a6143426d62334a72af7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a872656a6563746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.hex new file mode 100644 index 0000000..2634d13 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.hex @@ -0,0 +1 @@ +81a94e6f7453746f72656483ad736368656d6156657273696f6eb867616d6563756c742e666f726b2e7265667573616c2e7630a4636f6465ac666f726b5f756e6b6e6f776ea56572726f72ba666f726b5f756e6b6e6f776e3a206e6f207375636820666f726b diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.msgpack new file mode 100644 index 0000000..fbd6335 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read-unknown.response.payload.msgpack @@ -0,0 +1 @@ +�©NotStoredƒ­schemaVersion¸gamecult.fork.refusal.v0¤code¬fork_unknown¥errorºfork_unknown: no such fork \ No newline at end of file diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..9b114db76c59855abedb6ebb62de897f6d8a8adb GIT binary patch literal 317 zcmYk2T}s119K`E^8WP$HIe-S+8X*n4>AuK6yK9ne_M^L-+V%o^4+SYw1Rs3zBHqRz zMSUD*_%Sns!CCxpklZ<__!WDS!|_2IZoxNNJ>O|7UJUG74eaZ&f-EUVQ(Mn64|pPs zL=lz9E`jYCo~{W_L!EO?60`!GwN%|Kdfi;-Geu;)gD5s675Ah-JA!>ZFVbkK(vZr_ zkmP2|Fxs=E-IOaMNRiq(-Woc}Oev{f7ASU DHM@I$ literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.hex new file mode 100644 index 0000000..64c88a6 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.frame.hex @@ -0,0 +1 @@ +0000013987a96d6573736167654964a36d2d34a96f7065726174696f6ea4666f726ba77061796c6f6164d9886761524762334a72684b52746157356b706d5631636d56725961647a64574a715a574e306f54656f5a47566a6157526c636e4f536f5465694d544b6e5a6d3979613139705a4e6b775a5856795a5774684c584e31596e4e30636d46305a5470786457567a64476c76626a706b5a584e724c57787063335270626d6374595856306147397961585235af7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b6687567696e6e2e6465736b5f726571756573742e7631ad736368656d6156657273696f6ebc63756c746e65742e6f7065726174696f6e5f726571756573742e7630a9736572766963654964ab687567696e6e2e6465736b diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.hex new file mode 100644 index 0000000..68e7538 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.hex @@ -0,0 +1 @@ +81a4466f726b84a46d696e64a6657572656b61a77375626a656374a137a8646563696465727392a137a23132a7666f726b5f6964d930657572656b612d7375627374726174653a7175657374696f6e3a6465736b2d6c697374696e672d617574686f72697479 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.msgpack new file mode 100644 index 0000000..bda8f77 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/read.request.payload.msgpack @@ -0,0 +1 @@ +�¤Fork„¤mind¦eureka§subject¡7¨deciders’¡7¢12§fork_idÙ0eureka-substrate:question:desk-listing-authority \ No newline at end of file diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.hex new file mode 100644 index 0000000..ecf6f3f --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.hex @@ -0,0 +1 @@ +85ad736368656d6156657273696f6eb767616d6563756c742e666f726b2e7265636f72642e7630a7666f726b5f6964d930657572656b612d7375627374726174653a7175657374696f6e3a6465736b2d6c697374696e672d617574686f72697479ac6f7074696f6e735f68617368d94037643935666338376435333234323036313166653431356331646566323761333434373631376262363832333566343665336166313330616561333631633438b1636f756e7465645f616e737765725f6964a26e31a7616e737765727392de0010ad736368656d6156657273696f6eb767616d6563756c742e6465736b5f616e737765722e7630a9616e737765725f6964a26e31a7666f726b5f6964d930657572656b612d7375627374726174653a7175657374696f6e3a6465736b2d6c697374696e672d617574686f72697479a76f7574636f6d65a7436f756e746564a26f66c0a87265747261637473c0a4636f6465c0ac6f7074696f6e735f68617368d94037643935666338376435333234323036313166653431356331646566323761333434373631376262363832333566343665336166313330616561333631633438a663686f696365ab61736b696e672d6d696e64a46e6f7465be5468652061736b6572206c6973747320686572206f776e20666f726b732eab616e7377657265645f6174b4323032362d31312d31315431373a30303a30305aab72656365697665645f6174b4323032362d31312d31315431373a30303a30305aaf636c61696d5f696e5f667574757265c2a8616e737765726572a137a9617574686f72697479a64d656d626572aa726571756573745f6964d92430303030303030302d303030302d343030302d383030302d303030303030303030303031de0010ad736368656d6156657273696f6eb767616d6563756c742e6465736b5f616e737765722e7630a9616e737765725f6964a26e32a7666f726b5f6964d930657572656b612d7375627374726174653a7175657374696f6e3a6465736b2d6c697374696e672d617574686f72697479a76f7574636f6d65a85265766973696f6ea26f66a26e31a87265747261637473c0a4636f6465c0ac6f7074696f6e735f68617368d94037643935666338376435333234323036313166653431356331646566323761333434373631376262363832333566343665336166313330616561333631633438a663686f696365ab61736b696e672d6d696e64a46e6f7465a74167726565642eab616e7377657265645f6174b4323032362d31312d31315431373a30353a30305aab72656365697665645f6174b4323032362d31312d31315431373a30353a30305aaf636c61696d5f696e5f667574757265c2a8616e737765726572a23132a9617574686f72697479a64d656d626572aa726571756573745f6964d92430303030303030302d303030302d343030302d383030302d303030303030303030303032 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/record-whole.payload.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..2405433338a707aaea3318ac8d0f73ff49ce584c GIT binary patch literal 1071 zcmc(dPf7zZ6vjP*N9e-slu71a?MiX&Mv4nJLz=wlgmw~5GA$m!3wQ%d>9kf6L2xI< zTXf@DOxh~As6rJCA(NNn4exuu@9JLD913y@N^>cmJEQl zY~e$xpi4YmwzW~jK=YymZER|jf$n-eZUfQrNNIAZxVgNO=k8XgInnvzAYuDaMjHu> z0vuvLMks?2MHDf}a6*DGOk$L@+i?R2Q5MD!kPHPr0TRTBhK)xmOJRVeMCbu1ThdUV zY8B|~x1HThdR%quB&%ooC4Fmgl`IXF1yo0?s)jO~PZZe3P^0G~DjCfGxB+9DOHN@% zbl3H{;DU{WH1N{Op=J+3)f@v|%k54MM9qoQ_1Q|WYn*w)K8`(v>};W=>HBt`%`9u+ z{ml;^XpitBcnS^rYqB-2ma<6|h=pl%f`ec>##=dXw7zFz2-hFe^?9%w6a qczauZkei%9pF8JUbk<4#1g|>mC;;{?rRXP0%Lkh&4H5n|Cj1TqhKYgz literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..92b9314f2dfc77329f5c43f334e233569eec9266 GIT binary patch literal 266 zcmYk1%}T>S6h_;PPvSNqvBh1NQgk8MLWFGO_RcjOC-cL-GX)>P=MaB_gn}DaK8SB) zutB;$hmZ43CexFr&XNc;bg7L^m4tyM~?ZqcXS|t~?9aw*086_qIuM#09d1rbc HjHG@6kJ@W? literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.hex new file mode 100644 index 0000000..3fdedc6 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.frame.hex @@ -0,0 +1 @@ +0000010689a96d6573736167654964a36d2d31a96f7065726174696f6ea5666f726b73a77061796c6f6164d924676164535a575a316332566b7230317063334e70626d644a5a47567564476c3065513d3daf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a872656a6563746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.hex new file mode 100644 index 0000000..bdb0ed9 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.hex @@ -0,0 +1 @@ +81a752656675736564af4d697373696e674964656e74697479 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.msgpack new file mode 100644 index 0000000..7a83e60 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/refused-unit.response.payload.msgpack @@ -0,0 +1 @@ +�§Refused¯MissingIdentity \ No newline at end of file diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.bin b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.bin new file mode 100644 index 0000000000000000000000000000000000000000..bbb82db82832887cbfab45966737a99a39f386b6 GIT binary patch literal 314 zcmYk1O-{ow6okux5+#Lp*G&-(=>mxcC5ku5u^(x0Y)5`}q;dn!f%u6~REZ5M4#I5+ zB|=?}zM0X?WO6cp>?9!45@P-&y|B{_7-}o6p6|2~_}b82tttP$DJf4#MnX1CMM-U1 z$kjB@YRt1Wl01?mN`qhBs*NVe($Z`u;>)X`I9=CqR6oSgtmWs+9m!VWkhxwg_G9~n zVwzW~{1~@1lnJk(2=lXkv?Oc`l74PoSt;dnKyhmT8?6xhHtg|$Q!qG8|6;DT3atNs s=Exg#2&S#raQOYGZI9X+1{+sFMJunOW2XCKzk^lez literal 0 HcmV?d00001 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.hex new file mode 100644 index 0000000..c2e1375 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.frame.hex @@ -0,0 +1 @@ +0000013689a96d6573736167654964a36d2d31a96f7065726174696f6ea5666f726b73a77061796c6f6164d954676164535a575a316332566b67617456626d463259576c7359574a735a59476d5a47563059576c73766e526f5a5342746157356b49484e3062334a6c49476c7a49473576644342795a57466b59574a735a513d3daf7061796c6f6164456e636f64696e67b26d6573736167657061636b2d626173653634ad7061796c6f6164536368656d61b7687567696e6e2e6465736b5f726573706f6e73652e7631ad736368656d6156657273696f6ebd63756c746e65742e6f7065726174696f6e5f726573706f6e73652e7630a9736572766963654964ab687567696e6e2e6465736baf736f7572636552756e74696d654964ad687567696e6e2d657572656b61a6737461747573a872656a6563746564 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.hex b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.hex new file mode 100644 index 0000000..a1e1be5 --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.hex @@ -0,0 +1 @@ +81a75265667573656481ab556e617661696c61626c6581a664657461696cbe746865206d696e642073746f7265206973206e6f74207265616461626c65 diff --git a/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.msgpack b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.msgpack new file mode 100644 index 0000000..cbfe1bc --- /dev/null +++ b/tests/Bifrost.Web.Tests/Fixtures/desk-feed/unavailable.response.payload.msgpack @@ -0,0 +1 @@ +�§Refused�«Unavailable�¦detail¾the mind store is not readable \ No newline at end of file