Skip to content

Prevent large dictionaries being placed in events.data - #289

Merged
graepaul merged 3 commits into
developmentfrom
bugfix/large_events_from_memory
Sep 18, 2026
Merged

graepaul merged 3 commits into
developmentfrom
bugfix/large_events_from_memory

Conversation

@graepaul

@graepaul graepaul commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • This is to fix the following issue that was reported by users
    • Exception in post_check_top: 1 validation error for Event
      data
      Value error, Data must be below 100KB in size [type=value_error,
      input_value={'mem_free': '<epoch_time...parent': 'memoryplugin'}, input_type=dict]
  • Also some other edits to remove model_dumps so that data is not large.

Test plan

  • pytest test/unit
  • pytest test/functional (if applicable)
  • pre-commit run --all-files

Checklist

  • Added/updated tests (or explained why not)
  • Updated docs/README if behavior changed
  • No secrets or credentials committed

@graepaul graepaul changed the title Remove other possible large events Prevent large dictionaries being placed in events.data Sep 17, 2026
@graepaul
graepaul merged commit 1f1149f into development Sep 18, 2026
7 checks passed
@graepaul
graepaul deleted the bugfix/large_events_from_memory branch September 18, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants