Skip to content

Test/get cert coverage - #690

Merged
meilu-git merged 7 commits into
mainfrom
test/get-cert-coverage
Sep 28, 2026
Merged

meilu-git merged 7 commits into
mainfrom
test/get-cert-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

Expands the TBOR GetCertificate integration test suite in ddi/tbor/types to improve behavioral coverage and cross-check correctness against MBOR and session lifecycle interactions.

Changes:

  • Adds DER wire-limit and X.509 parsing validation for certificates returned by TBOR GetCertificate.
  • Introduces additional stability and invariance tests (repeat reads, interleaved reads, session-active behavior, reject-path non-mutation).
  • Broadens negative-coverage for invalid indices/slots and validates boundaries against GetCertChainInfo.

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

@vsonims
Vishal Soni (vsonims) deleted the test/get-cert-coverage branch September 12, 2026 19:26
@vsonims
Vishal Soni (vsonims) restored the test/get-cert-coverage branch September 12, 2026 19:43
Copilot AI review requested due to automatic review settings September 25, 2026 16:23
@meilu-git
meilu-git force-pushed the test/get-cert-coverage branch from a4db92b to 9b08945 Compare September 25, 2026 16:23

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.

Copilot review overview

🟢 Approval recommended

The only noted issue is a non-blocking documentation coverage-matrix nit.

Review effort: Lite
Findings: None

Copilot AI review requested due to automatic review settings September 25, 2026 16:34

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.

Copilot review overview

🟡 Changes recommended

A critical session-type issue causes tests to fail, and required documentation updates are missing.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Low severity

Open (2)

Comment thread ddi/tbor/types/tests/commands/get_cert.rs Outdated
Comment thread ddi/tbor/types/tests/commands/get_cert.rs Outdated
Copilot AI review requested due to automatic review settings September 25, 2026 17:15

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.

Copilot review overview

🟡 Changes recommended

Correct coverage references, test totals, and PlainText session descriptions before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 5 Low severity

Open (5)
Resolved since last review (1)

Comment thread ddi/tbor/types/tests/SPEC_COVERAGE.md Outdated
Comment thread ddi/tbor/types/tests/SPEC_COVERAGE.md Outdated
Comment thread ddi/tbor/types/tests/commands/get_cert.rs
Comment thread ddi/tbor/types/tests/commands/get_cert.rs Outdated
Copilot AI review requested due to automatic review settings September 25, 2026 18:15

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.

Copilot review overview

🟢 Approval recommended

The only finding is a non-blocking documentation-date nit.

Review effort: Lite
Findings: 1 Low severity

Open (1)
Resolved since last review (4)

Comment thread ddi/tbor/types/tests/commands/get_cert.rs Outdated
Comment thread ddi/tbor/types/tests/commands/get_cert.rs
Comment thread ddi/tbor/types/tests/commands/get_cert.rs Outdated
Copilot AI review requested due to automatic review settings September 27, 2026 15:29

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.

Copilot review overview

🟡 Changes recommended

The coverage matrix references a non-existent test path and should be corrected.

Review effort: Lite
Findings: 2 Low severity

Open (2)

Comment thread ddi/tbor/types/tests/SPEC_COVERAGE.md Outdated
Copilot AI review requested due to automatic review settings September 28, 2026 16:27

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.

Copilot review overview

🟢 Approval recommended

Only a minor Markdown formatting nit was identified; no blocking issues remain.

Review effort: Lite
Findings: 1 Low severity

Open (1)
Resolved since last review (1)

@meilu-git
meilu-git added this pull request to the merge queue Sep 28, 2026
Merged via the queue into main with commit fc9fed1 Sep 28, 2026
33 checks passed
@meilu-git
meilu-git deleted the test/get-cert-coverage branch September 28, 2026 21:26
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.

4 participants