Skip to content

Implement PipelineActionStore #1903

@philbrookes

Description

@philbrookes

Description

Implement a new store for pipeline actions in internal/extension/registry.go. Actions are ordered per-policy, keyed by {PolicyResourceID, Phase, Index}. Index allocation is atomic per (Policy, Phase) pair using a mutex-protected counter. Cleaned up via ClearPolicyData.

Acceptance Criteria

  • PipelineActionStore implemented with append and query operations
  • Atomic index allocation per (Policy, Phase) — concurrent calls cannot produce duplicate indices
  • ClearPolicyData clears all pipeline actions for a policy
  • Unit tests

References

Metadata

Metadata

Assignees

Labels

feat/extensionsLabel created for organizing the work related to extensions. Felt pretty, might delete later.kind/enhancementNew feature or request

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions