Skip to content

perf(state-machine): optimize provisioning reads and reuse verified TLS identity - #3005

Closed
Rashika-Rajaraman wants to merge 15 commits into
analysis/baseline-v2.40.2from
analysis/provisioning-state-machine
Closed

Rashika-Rajaraman wants to merge 15 commits into
analysis/baseline-v2.40.2from
analysis/provisioning-state-machine

Conversation

@Rashika-Rajaraman

@Rashika-Rajaraman Rashika-Rajaraman commented Nov 3, 2026 •

Copy link
Copy Markdown
  • Address unnecessary provisioning reads and repeated TLS enrollment identified in Optimize the RPS Provisioning State Machine #2935, using September release v2.40.2 as the baseline.
  • Skip two unused TLS-settings reads during TLS-enforced cleanup and reuse a complete, fresh credential inventory within the same provisioning attempt and connection session.
  • Retain the existing TLS certificate during eligible reconfiguration after checking the requested settings, live/Vault certificate match, hostname, signature, and validity; recheck after configuration and fall back to normal enrollment when reuse cannot be approved.
  • Skip the configured 15-second rollover wait only for a verified unchanged certificate, then establish a fresh TLS tunnel. Preserve required waits for first-time activation, certificate replacement, upgrades, and recovery.
  • Preserve AMT clock synchronization and report structured TLS success with Already configured when the certificate is reused; fail if clock synchronization fails.
  • Add regression coverage for credential reuse, certificate eligibility, verification fallback, tunnel trust, wait handling, and clock synchronization.

@Rashika-Rajaraman
Rashika-Rajaraman changed the base branch from main to analysis/baseline-v2.40.2 November 3, 2026 09:42
@Rashika-Rajaraman Rashika-Rajaraman changed the title Optimize provisioning reads and reuse verified TLS identity perf(state-machine): optimize provisioning reads and reuse verified TLS identity Nov 3, 2026
@Rashika-Rajaraman

Rashika-Rajaraman commented Nov 5, 2026 •

Copy link
Copy Markdown
Author

These changes are incorporated in PR: #3008
Hence, closing this PR.

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