|
1 | 1 | import DocsShell from "../../../../components/DocsShell.jsx"; |
2 | 2 | import CodeBlock from "../../../../components/CodeBlock.jsx"; |
3 | 3 |
|
4 | | -// Official protobuf conformance suite (v29.3) against our reflective codec. |
| 4 | +// Official protobuf conformance suite (v29.3, --maximum_edition 2023) against |
| 5 | +// our reflective codec. Since the suite reports 0 failures, every test is either |
| 6 | +// passed or skipped — skips are the JSON / JSPB / text-format / proto2 cases the |
| 7 | +// binary-only codec doesn't claim. |
5 | 8 | const CONFORMANCE = [ |
6 | | - { suite: "Binary / JSON", pass: 684, skip: 1991, fail: 0 }, |
7 | | - { suite: "Text format", pass: 0, skip: 414, fail: 0 }, |
8 | | - { suite: "Total", pass: 684, skip: 2405, fail: 0, total: true }, |
| 9 | + { suite: "proto3", pass: 684, skip: 1125, fail: 0 }, |
| 10 | + { suite: "proto2", pass: 0, skip: 1280, fail: 0 }, |
| 11 | + { suite: "editions 2023", pass: 8, skip: 21, fail: 0 }, |
| 12 | + { suite: "editions (proto3)", pass: 684, skip: 1125, fail: 0 }, |
| 13 | + { suite: "editions (proto2)", pass: 684, skip: 596, fail: 0 }, |
| 14 | + { suite: "Total", pass: 2060, skip: 4147, fail: 0, total: true }, |
9 | 15 | ]; |
10 | 16 |
|
11 | 17 | export default function ProtobufParserDoc() { |
@@ -80,13 +86,13 @@ console.log(acct.status); // "ARCHIVED"`} title="protobuf_types.js" lang="js |
80 | 86 | Conformance |
81 | 87 | </h2> |
82 | 88 | <p className="mt-2 text-zinc-600 leading-relaxed"> |
83 | | - Verified against the official protobuf conformance suite (v29.3). The codec is binary↔binary — JSON, JSPB, text-format, and proto2 cases are reported as <code className="rounded bg-zinc-100 px-1.5 py-0.5 text-[13px]">skipped</code>. |
| 89 | + Verified against the official protobuf conformance suite (v29.3), split by message category. The codec is binary↔binary, so JSON, JSPB, text-format, and proto2 cases are reported as <code className="rounded bg-zinc-100 px-1.5 py-0.5 text-[13px]">skipped</code> — never failed. |
84 | 90 | </p> |
85 | 91 | <div className="mt-6 overflow-hidden rounded-xl border border-zinc-200"> |
86 | 92 | <table className="w-full text-left text-sm"> |
87 | 93 | <thead className="bg-zinc-50 text-zinc-600"> |
88 | 94 | <tr> |
89 | | - <th className="px-4 py-3 font-medium">Suite</th> |
| 95 | + <th className="px-4 py-3 font-medium">Category</th> |
90 | 96 | <th className="px-3 py-3 text-right font-medium">Passed</th> |
91 | 97 | <th className="px-3 py-3 text-right font-medium">Skipped</th> |
92 | 98 | <th className="px-4 py-3 text-right font-medium">Failed</th> |
|
0 commit comments