Skip to content

test(tbor): expand get cert chain info coverage - #674

Open
meilu-git wants to merge 2 commits into
mainfrom
test/get-cert-chain-info-coverage
Open

test(tbor): expand get cert chain info coverage#674
meilu-git wants to merge 2 commits into
mainfrom
test/get-cert-chain-info-coverage

Conversation

@meilu-git

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR expands the integration test coverage for the out-of-session TBOR GetCertChainInfo command, adding additional behavioral assertions around certificate bounds, stability, and interactions with unrelated session activity.

Changes:

  • Add tests that validate num_certs defines the valid GetCertificate index range and that each advertised certificate is readable.
  • Add stability tests ensuring certificate reads, invalid-slot requests, and unrelated session activity do not mutate GetCertChainInfo results.
  • Broaden invalid-slot coverage (including boundary slot IDs) and add additional invariants around repeated certificate reads.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ddi/tbor/types/tests/commands/get_cert_chain_info.rs Outdated
Copilot AI review requested due to automatic review settings August 31, 2026 16:52
@meilu-git
meilu-git force-pushed the test/get-cert-chain-info-coverage branch from 52d47a0 to bf300da Compare August 31, 2026 16:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

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.

3 participants