Skip to content

Backport #7696: Add missing QuoteVerificationResult cases to release/6.x#7697

Merged
cjen1-msft merged 3 commits intorelease/6.xfrom
copilot/backport-7696-to-release-6-x
Mar 4, 2026
Merged

Backport #7696: Add missing QuoteVerificationResult cases to release/6.x#7697
cjen1-msft merged 3 commits intorelease/6.xfrom
copilot/backport-7696-to-release-6-x

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 3, 2026

Backports #7696 to release/6.x. The quote_verification_error switch in node_frontend.h was missing cases for FailedInvalidCPUID and FailedInvalidTcbVersion, causing these to fall through to the generic "Unknown quote verification error" with a 500 status instead of returning proper 401 responses.

  • src/node/rpc/node_frontend.h: Add missing FailedInvalidCPUID and FailedInvalidTcbVersion cases; fix inconsistent ccf:: qualification on FailedUVMEndorsementsNotFound
  • CHANGELOG.md: Add entry to existing [6.0.24] section

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…og entry

Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Copilot AI changed the title [WIP] Backport changes from #7696 to release/6.x branch Backport #7696: Add missing QuoteVerificationResult cases to release/6.x Mar 3, 2026
@achamayou achamayou marked this pull request as ready for review March 3, 2026 20:35
@achamayou achamayou requested a review from a team as a code owner March 3, 2026 20:35
@achamayou achamayou added the 6.x-backport Highlight PRs targeting the 6.x branch label Mar 3, 2026
@cjen1-msft
Copy link
Copy Markdown
Contributor

@copilot run the format checks (scripts/ci-checks.sh -f)

Co-authored-by: cjen1-msft <190360281+cjen1-msft@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 4, 2026

@copilot run the format checks (scripts/ci-checks.sh -f)

Ran extract-release-notes.py and prettier --check CHANGELOG.md — both pass. The C++ change follows the exact same formatting pattern as existing switch cases. Also moved the changelog entry from 6.0.25 into the existing 6.0.24 section per the new requirement in 8bd7cee.

@cjen1-msft cjen1-msft enabled auto-merge (squash) March 4, 2026 11:43
@cjen1-msft cjen1-msft merged commit 040bb1a into release/6.x Mar 4, 2026
16 checks passed
@cjen1-msft cjen1-msft deleted the copilot/backport-7696-to-release-6-x branch March 4, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.x-backport Highlight PRs targeting the 6.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants