Skip to content

feat: add process registry and process ref types - #24

Merged
tixxdz merged 4 commits into
mainfrom
pr/tixxdz/06-profile-v2
Jul 21, 2026
Merged

tixxdz merged 4 commits into
mainfrom
pr/tixxdz/06-profile-v2

Conversation

@tixxdz

@tixxdz tixxdz commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@tixxdz tixxdz self-assigned this Jun 26, 2026
@tixxdz tixxdz added the enhancement New feature or request label Jun 26, 2026
Copilot AI review requested due to automatic review settings June 26, 2026 19:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds new “profile v2” building blocks in pkg/ongoing for representing canonical/deduplicated process references and generating stable registry keys, along with unit tests covering cloning, zero-ness, and JSON marshaling behavior.

Changes:

  • Introduces ProcessRef and ProcessRegistry with deep-clone helpers and custom JSON marshaling semantics.
  • Adds key helpers (hashKey, targetEventKey) and target-kind constants for canonical registry key generation.
  • Adds unit tests for the new process summary and key utilities.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pkg/ongoing/summary.go Adds ProcessRef / ProcessRegistry types with clone/zero checks and custom JSON marshaling.
pkg/ongoing/summary_test.go Adds tests for ProcessRef / ProcessRegistry behavior (IsZero, deep clone, JSON).
pkg/ongoing/keys.go Adds canonical key helpers for hashing and event key composition.
pkg/ongoing/keys_test.go Adds tests validating key formatting and event key composition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/ongoing/summary.go Resolved
@tixxdz
tixxdz force-pushed the pr/tixxdz/06-profile-v2 branch from 9e1b503 to d40c849 Compare June 26, 2026 21:48
@tixxdz
tixxdz force-pushed the pr/tixxdz/06-profile-v2 branch from d40c849 to 7c17407 Compare July 21, 2026 12:59
Copilot AI review requested due to automatic review settings July 21, 2026 12:59
@tixxdz tixxdz changed the title WIP: profile v2 feat: add process registry and process ref types Jul 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown

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 4 out of 4 changed files in this pull request and generated 2 comments.

Comment thread pkg/ongoing/summary_test.go Resolved
Comment thread pkg/ongoing/summary_test.go Resolved
@tixxdz
tixxdz merged commit 08ea07a into main Jul 21, 2026
2 checks passed
@tixxdz
tixxdz deleted the pr/tixxdz/06-profile-v2 branch July 21, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants