Repository navigation
feat: add process registry and process ref types - #24
Merged
Merged
Conversation
There was a problem hiding this comment.
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
ProcessRefandProcessRegistrywith 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.
tixxdz
force-pushed
the
pr/tixxdz/06-profile-v2
branch
from
June 26, 2026 21:48
9e1b503 to
d40c849
Compare
- Add a deduplicated process entry type keyed by process hash. - Add a process table type for the whole run, keyed by canonical process hash.
tixxdz
force-pushed
the
pr/tixxdz/06-profile-v2
branch
from
July 21, 2026 12:59
d40c849 to
7c17407
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.