Skip to content

Add IGCL power telemetry V2 support - #697

Merged
planetchili merged 1 commit into
mainfrom
igcl-update
Oct 8, 2026
Merged

planetchili merged 1 commit into
mainfrom
igcl-update

Conversation

@markgalvan-intel

Copy link
Copy Markdown
Collaborator

Update the bundled IGCL API files to expose ctlPowerTelemetryGetV2. Prefer the V2 telemetry endpoint when available and fall back to the legacy endpoint when using an older IGCL runtime. Normalize V2 responses into the existing telemetry representation to preserve metric handling.

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.

🔵 Needs a closer look

Runtime compatibility and telemetry ABI behavior require validation against both old and new IGCL DLLs.

0 open findings

What changed in this PR

Adds IGCL V2 power telemetry support while preserving legacy runtime compatibility and existing metric handling.

Changes:

  • Adds V2 telemetry polling with legacy fallback.
  • Normalizes V2 responses into the existing telemetry format.
  • Updates bundled IGCL declarations and wrappers.
File Description
IgclTelemetryProvider.h Adds V2 state and normalization declaration.
IgclTelemetryProvider.cpp Implements V2 polling, normalization, and fallback.
igcl_api.h Adds updated IGCL API types and declarations.
cApiWrapper.cpp Adds dynamic wrappers for updated IGCL endpoints.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@planetchili planetchili left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great stuff!

@planetchili
planetchili merged commit 5a75916 into main Oct 8, 2026
1 check passed
@planetchili
planetchili deleted the igcl-update branch October 8, 2026 21:50
markgalvan-intel added a commit that referenced this pull request Oct 9, 2026
Brings in #692 (CETCOMPAT), #694 (service unavailable crash), #696 (SCM
auto-healing), #697 (IGCL ctlPowerTelemetryGetV2) and #698 (action pipe
hardening). #698 was written against the two-pipe transport that this
branch replaces, so its changes are carried over by intent:

- Service control pipe DACL (SY full, AU connect mask only): kept, with the
  mandatory label raised from LW to ME so processes below medium integrity
  cannot connect. AU in the DACL does not imply an integrity level.
- Exact client connect access mask: kept unchanged.
- Private control pipe DACL and --control-pipe-allow-au-clients: kept.
- Shared service identity verification in the middleware: kept.
  ResolveConnectedServerProcessId reads the single pipe instead of comparing
  two legs; the middleware uses the client's existing SessionConnector_.
  The middleware contexts move to MiddlewareExecutionContext.h with this
  branch's remotePid-only session context.
- Accept loop robustness: this branch already replaces a listener after
  every accept. Ported the retry: a listener that cannot be created, or that
  fails to accept for a reason other than a vanished client, is replaced
  after 200 ms instead of shrinking the pool or spinning the io thread.
- Removed the SecurityMode::Service and SecurityMode::Child strings, which
  no longer have users.
- Fixed helpers that auto-merged into SymmetricActionClient.h referring to
  members of the old client.
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