Skip to content

Commit f93d0f7

Browse files
docs(site): split Protobuf conformance table by message category
1 parent 421d39b commit f93d0f7

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

  • site/app/docs/serialization/protobuf

site/app/docs/serialization/protobuf/page.jsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
import DocsShell from "../../../../components/DocsShell.jsx";
22
import CodeBlock from "../../../../components/CodeBlock.jsx";
33

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.
58
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 },
915
];
1016

1117
export default function ProtobufParserDoc() {
@@ -80,13 +86,13 @@ console.log(acct.status); // "ARCHIVED"`} title="protobuf_types.js" lang="js
8086
Conformance
8187
</h2>
8288
<p className="mt-2 text-zinc-600 leading-relaxed">
83-
Verified against the official protobuf conformance suite (v29.3). The codec is binary&harr;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&harr;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.
8490
</p>
8591
<div className="mt-6 overflow-hidden rounded-xl border border-zinc-200">
8692
<table className="w-full text-left text-sm">
8793
<thead className="bg-zinc-50 text-zinc-600">
8894
<tr>
89-
<th className="px-4 py-3 font-medium">Suite</th>
95+
<th className="px-4 py-3 font-medium">Category</th>
9096
<th className="px-3 py-3 text-right font-medium">Passed</th>
9197
<th className="px-3 py-3 text-right font-medium">Skipped</th>
9298
<th className="px-4 py-3 text-right font-medium">Failed</th>

0 commit comments

Comments
 (0)