Skip to content

feat(publishOnEventBridge): add persistent keys in logs#5030

Open
edersonbrilhante wants to merge 1 commit intogithub-aws-runners:mainfrom
edersonbrilhante:feat-log-persistent-keys
Open

feat(publishOnEventBridge): add persistent keys in logs#5030
edersonbrilhante wants to merge 1 commit intogithub-aws-runners:mainfrom
edersonbrilhante:feat-log-persistent-keys

Conversation

@edersonbrilhante
Copy link
Contributor

Summary

Update publishOnEventBridge to use the existing readEvent helper instead of directly reading the x-github-event header and calling checkEventIsSupported.

Only eventType is destructured from readEvent, since the parsed event object isn’t needed.

Why

This makes the EventBridge path consistent with publishForRunners, ensuring persistent logging fields (repository, action, workflow job name, status, etc.) are added to the logger in both code paths.

Impact

  • No functional changes
  • Consistent logging behavior
  • Removes duplicate event parsing logic

@edersonbrilhante edersonbrilhante changed the title feat: add persistent keys in logs feat(publishOnEventBridge): add persistent keys in logs Feb 13, 2026
@edersonbrilhante edersonbrilhante marked this pull request as ready for review February 13, 2026 10:54
@edersonbrilhante edersonbrilhante requested a review from a team as a code owner February 13, 2026 10:54
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