Skip to content

quality: record protobuf-go oracle prefix - #341

Merged
rootulp merged 1 commit into
mainfrom
codex/protobuf-error-nbsp
Nov 9, 2026
Merged

rootulp merged 1 commit into
mainfrom
codex/protobuf-error-nbsp

Conversation

@rootulp

@rootulp rootulp commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

A protobuf-go dynamic-message error can become consensus-visible when governance persists it in failed_reason, but protobuf-go chooses the separator after proto: from a hash of the executable. The authenticated qualification binaries select ASCII, while byte-different workflow builds select U+00A0; the exact v9-upgrade seed 62203 exposed the resulting app-hash split.

This change records the protobuf-go FNV-1 seed, selected separator, and UTF-8 bytes for every binary supplied to exact-source qualification. It also documents the cross-build risk and keeps the Rust state machine aligned with the authenticated ASCII-selecting qualification binaries. The failed long-run build is explicitly excluded from exact-candidate evidence.

Validation:

  • python3 -m unittest scripts.quality.test_qualify (11 passed)
  • python3 -m py_compile scripts/quality/qualify.py scripts/quality/test_qualify.py
  • git diff --check
  • classified the authenticated v10.6.0/v9.0.8 binaries as ASCII and the failed workflow artifacts as U+00A0

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T14:59:04.558535Z 92a5347 PR opened
🔒 Security Review ✅ Completed 2026-11-09T14:59:45.138126Z 92a5347 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 92a53475af

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if std::str::from_utf8(payload).is_err() {
return Err(format!(
"proto: field {msg}.{} contains invalid UTF-8",
"proto:\u{a0}field {msg}.{} contains invalid UTF-8",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve the v9 protobuf error separator

This unconditionally changes dynamic-protobuf errors to the nonbreaking-space form even when the Rust app is executing v9 semantics. The pinned v9 results in crates/fuzz-diff/tests/regressions.jsonl (for example lines 10 and 12) use an ASCII space, while the v10 results use the nonbreaking space. Consequently, a malformed dynamic message executed by a v9 governance proposal will persist a different failed_reason in Rust and Go and split the app hash; select the separator according to the executing app version rather than applying the v10 binary's value globally.

Useful? React with 👍 / 👎.

@rootulp
rootulp enabled auto-merge (squash) November 9, 2026 14:59
@rootulp
rootulp force-pushed the codex/protobuf-error-nbsp branch from 92a5347 to eeafe30 Compare November 9, 2026 15:10
@rootulp
rootulp disabled auto-merge November 9, 2026 15:12
@rootulp
rootulp force-pushed the codex/protobuf-error-nbsp branch from eeafe30 to 01e8ea0 Compare November 9, 2026 15:18
@rootulp rootulp changed the title fix protobuf-go dynamic error parity quality: record protobuf-go oracle prefix Nov 9, 2026
@rootulp
rootulp force-pushed the codex/protobuf-error-nbsp branch from 01e8ea0 to 38fee11 Compare November 9, 2026 15:20
@rootulp
rootulp enabled auto-merge (squash) November 9, 2026 15:21
@rootulp
rootulp merged commit ebc6ada into main Nov 9, 2026
30 checks passed
@rootulp
rootulp deleted the codex/protobuf-error-nbsp branch November 9, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant