Skip to content

feat(config): muted_event_types and muted_metric_types as SecurityConfig fields - #59

Merged
rennf93 merged 1 commit into
masterfrom
feat/mute-list-fields
Oct 8, 2026
Merged

rennf93 merged 1 commit into
masterfrom
feat/mute-list-fields

Conversation

@rennf93

@rennf93 rennf93 commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Closes the E15 fieldization note from the PHP-family feature matrix: the telemetry mute lists were only reachable through the EventFilter constructor seam and are now SecurityConfig fields with the reference default (the empty set, exact identifier strings).

  • SecurityConfig grows mutedEventTypes / mutedMetricTypes (validated string lists, with()-safe).
  • EventBus derives its EventFilter from the config's mute lists when none is injected; an explicitly injected filter still wins (the AgentHandlerComposer wiring keeps precedence).

Tests

  • bin/test_events_parity.php: a non-empty muted_event_types mutes the headers event through the derived filter, an empty list keeps it, the defaults are the empty sets, and the constructor round-trips the lists.

Gates

  • composer validate, composer audit --locked, php -l sweep, every bin suite plus all conformance runners green, coverage gate PASS.

…fig fields

The telemetry mute lists were only reachable through the EventFilter
constructor seam; they are now SecurityConfig fields (reference default the
empty set, exact identifier strings) that seed the event bus's derived
filter, with an explicitly injected filter still winning over them.
@rennf93 rennf93 added the no-issue Chore or dependency PR that does not need an issue label Oct 8, 2026
@github-actions github-actions Bot added area: engine Touches src/Engine/, src/Config/, or src/Routing/ tests Test suite changes ci GitHub Actions workflows labels Oct 8, 2026
@rennf93
rennf93 merged commit 464ec01 into master Oct 8, 2026
27 of 29 checks passed
@rennf93
rennf93 deleted the feat/mute-list-fields branch October 8, 2026 00:54
@rennf93 rennf93 mentioned this pull request Oct 9, 2026
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: engine Touches src/Engine/, src/Config/, or src/Routing/ ci GitHub Actions workflows no-issue Chore or dependency PR that does not need an issue tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant