Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

optimize config analytics event before sending#13744

Merged
thrau merged 1 commit into
mainfrom
optimize-config-payload
Feb 16, 2026
Merged

optimize config analytics event before sending#13744
thrau merged 1 commit into
mainfrom
optimize-config-payload

Conversation

@thrau

@thrau thrau commented Feb 11, 2026

Copy link
Copy Markdown
Member

Motivation

In the config analytics event, we are sending config variables as dictionaries with all listed variables, even if their values are None. In our data backend, we actually discard all of those None values anyway, so there's no point in sending them.

A quick analysis shows that we can reduce the overall size of this event category by an order of magnitude this way.

Changes

  • config analytics payload now only sends config vars whose value are not None

Tests

We tested this manually in a session with @valentinarmo and @ackdav

Related

@thrau thrau requested review from ackdav and valentinarmo February 11, 2026 13:53
@thrau thrau added semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Feb 11, 2026
@github-actions

Copy link
Copy Markdown

S3 Image Test Results (AMD64 / ARM64)

    2 files      2 suites   8m 53s ⏱️
  559 tests   507 ✅  52 💤 0 ❌
1 118 runs  1 014 ✅ 104 💤 0 ❌

Results for commit 6004422.

@github-actions

Copy link
Copy Markdown

Test Results - Preflight, Unit

23 140 tests  ±0   21 276 ✅ ±0   6m 13s ⏱️ -9s
     1 suites ±0    1 864 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 6004422. ± Comparison against base commit 17e97cc.

@github-actions

Copy link
Copy Markdown

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 0s ⏱️ -1s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 6004422. ± Comparison against base commit 17e97cc.

@github-actions

github-actions Bot commented Feb 11, 2026

Copy link
Copy Markdown

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 41m 19s ⏱️
5 624 tests 5 102 ✅ 522 💤 0 ❌
5 630 runs  5 102 ✅ 528 💤 0 ❌

Results for commit 6004422.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   2h 5m 9s ⏱️ + 2m 51s
5 203 tests ±0  4 851 ✅ ±0  352 💤 ±0  0 ❌ ±0 
5 205 runs  ±0  4 851 ✅ ±0  354 💤 ±0  0 ❌ ±0 

Results for commit 6004422. ± Comparison against base commit 17e97cc.

@ackdav ackdav left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice optimization 🚀 Thanks 🙌

@thrau thrau added this to the 4.14 milestone Feb 16, 2026
@thrau thrau merged commit f7da4e7 into main Feb 16, 2026
80 of 84 checks passed
@thrau thrau deleted the optimize-config-payload branch February 16, 2026 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants