Skip to content

Fix lambda-manager subscriptions when LogGroupClass is omitted#193

Merged
natnayr merged 2 commits into
masterfrom
codex/issue-189-loggroupclass-omission
Jun 15, 2026
Merged

Fix lambda-manager subscriptions when LogGroupClass is omitted#193
natnayr merged 2 commits into
masterfrom
codex/issue-189-loggroupclass-omission

Conversation

@natnayr

@natnayr natnayr commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • match CloudFormation CreateLogGroup events when requestParameters.logGroupClass is omitted
  • keep skipping explicit INFREQUENT_ACCESS and DELIVERY log groups
  • add handler and template regression tests for the new event shapes

Testing

  • `PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s src/lambda-manager/tests -p 'test_*.py'
  • aws events test-event-pattern against the updated template pattern: omitted=true, standard=true, infrequent_access=false, delivery=false
  • live regression against terraform-playground fixture /aws/lambda/tags-testing-lambda with destination helper-regression-thqp6z-cloudwatch-forwarder: omitted class created one subscription and cleanup returned to []; INFREQUENT_ACCESS and DELIVERY created zero subscriptions

Closes #189

@daidokoro daidokoro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@natnayr natnayr force-pushed the codex/issue-189-loggroupclass-omission branch from 75a68df to ea5e6dd Compare June 15, 2026 07:22

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ea5e6ddb38

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/lambda-manager/tests/test_template.py Outdated
@natnayr natnayr merged commit 3e6febb into master Jun 15, 2026
11 checks passed
@natnayr natnayr deleted the codex/issue-189-loggroupclass-omission branch June 15, 2026 09:37
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.

CloudFormation-created Log groups are never subscribed

2 participants