Skip to content

Enforce size limits#27

Merged
gbuenodevsuse merged 8 commits intomainfrom
enforce_size_limits
Jul 10, 2024
Merged

Enforce size limits#27
gbuenodevsuse merged 8 commits intomainfrom
enforce_size_limits

Conversation

@gbuenodevsuse
Copy link
Copy Markdown
Collaborator

Addresses #10

@gbuenodevsuse gbuenodevsuse requested review from mbelur and rtamalin July 1, 2024 05:28
mbelur
mbelur previously requested changes Jul 1, 2024
Comment thread pkg/client/client.go Outdated
Comment thread pkg/client/client.go Outdated
Comment thread pkg/utils/utils.go
@gbuenodevsuse gbuenodevsuse requested a review from mbelur July 2, 2024 15:05
@gbuenodevsuse gbuenodevsuse self-assigned this Jul 8, 2024
Copy link
Copy Markdown
Collaborator

@rtamalin rtamalin left a comment

Choose a reason for hiding this comment

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

This PR should focus on the basic plumbing for enforcing the size limits for telemetry data item submissions.

The changes associated with the compression of the telemetry data items at rest in the client data store should be moved to a new PR, independent of this PR.

Comment thread pkg/utils/utils.go
Comment thread pkg/client/client.go Outdated
@gbuenodevsuse gbuenodevsuse force-pushed the enforce_size_limits branch from 256f5a6 to 29027da Compare July 8, 2024 20:21
Copy link
Copy Markdown
Collaborator

@rtamalin rtamalin left a comment

Choose a reason for hiding this comment

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

The code is generally good, just requesting a restructuring of where some of the code is placed.

Comment thread pkg/client/client.go Outdated
Comment thread pkg/client/client.go Outdated
Comment thread testdata/telemetry/SLE-SERVER-SCCHwInfo/sle12sp5-test.json Outdated
Comment thread pkg/utils/utils.go
Comment thread pkg/utils/utils.go Outdated
Comment thread pkg/client/client.go Outdated
Comment thread pkg/lib/limits.go Outdated
@gbuenodevsuse gbuenodevsuse requested a review from rtamalin July 10, 2024 15:31
Copy link
Copy Markdown
Collaborator

@rtamalin rtamalin left a comment

Choose a reason for hiding this comment

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

LGTM

@rtamalin rtamalin dismissed mbelur’s stale review July 10, 2024 16:11

Requested changes have been addressed but Meera is not around to re-review

@gbuenodevsuse gbuenodevsuse merged commit c694d09 into main Jul 10, 2024
@rtamalin rtamalin deleted the enforce_size_limits branch July 24, 2024 13:20
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.

3 participants