Skip to content

fix(dcp): support disposable A2A profiling channels#66

Draft
FujitsuPolycom wants to merge 1 commit into
local-inference-lab:masterfrom
FujitsuPolycom:codex/upstream-dcp-a2a-profile-lifecycle-20260721
Draft

fix(dcp): support disposable A2A profiling channels#66
FujitsuPolycom wants to merge 1 commit into
local-inference-lab:masterfrom
FujitsuPolycom:codex/upstream-dcp-a2a-profile-lifecycle-20260721

Conversation

@FujitsuPolycom

Copy link
Copy Markdown

Summary

Add checkpoint/rollback lifecycle support for disposable PCIeDCPA2A profiling channels.

Temporary CUDA-graph profiling channels can now be discarded without leaking IPC allocations, closing channels that existed before profiling, or retaining temporary stream aliases.

Scope

  • checkpoint the pool's existing channel boundary
  • roll back only channels created after that checkpoint
  • validate that a checkpoint belongs to the same pool
  • reject checkpoint/rollback during active CUDA graph capture
  • preserve pre-existing channel and stream mappings

This is independent of the selected-record transport PRs.

Validation

Focused tests cover successful rollback, preservation of existing channels, foreign checkpoint rejection, capture guards, stream aliases, and idempotent lifecycle behavior.

Design reference

This lifecycle fix supports the broader profiling and graph-validation work documented in GLM-5.2 Sparse CKV under Decode Context Parallelism.

Implementation, tests, and documentation were developed with OpenAI Codex assistance and manually reviewed.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ec9efbef-78ed-413c-a1c7-6e3f758d9e61

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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