Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add workflow to guard against increases in the binary size #6529

Merged
merged 17 commits into from
Jan 16, 2025

Conversation

chahatsagarmain
Copy link
Contributor

Which problem is this PR solving?

Description of the changes

  • Added CI github workflow

How was this change tested?

Checklist

@chahatsagarmain chahatsagarmain requested a review from a team as a code owner January 11, 2025 22:39
Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.21%. Comparing base (3ba8e54) to head (864bad6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6529      +/-   ##
==========================================
- Coverage   96.23%   96.21%   -0.03%     
==========================================
  Files         372      372              
  Lines       21371    21371              
==========================================
- Hits        20567    20562       -5     
- Misses        612      616       +4     
- Partials      192      193       +1     
Flag Coverage Δ
badger_v1 10.65% <ø> (ø)
badger_v2 2.78% <ø> (ø)
cassandra-4.x-v1-manual 16.55% <ø> (ø)
cassandra-4.x-v2-auto 2.71% <ø> (ø)
cassandra-4.x-v2-manual 2.71% <ø> (ø)
cassandra-5.x-v1-manual 16.55% <ø> (ø)
cassandra-5.x-v2-auto 2.71% <ø> (ø)
cassandra-5.x-v2-manual 2.71% <ø> (ø)
elasticsearch-6.x-v1 20.34% <ø> (ø)
elasticsearch-7.x-v1 20.40% <ø> (-0.01%) ⬇️
elasticsearch-8.x-v1 20.56% <ø> (-0.01%) ⬇️
elasticsearch-8.x-v2 2.77% <ø> (ø)
grpc_v1 12.17% <ø> (+<0.01%) ⬆️
grpc_v2 9.04% <ø> (+<0.01%) ⬆️
kafka-3.x-v1 10.33% <ø> (ø)
kafka-3.x-v2 2.78% <ø> (ø)
memory_v2 2.77% <ø> (-0.01%) ⬇️
opensearch-1.x-v1 20.45% <ø> (ø)
opensearch-2.x-v1 20.46% <ø> (+<0.01%) ⬆️
opensearch-2.x-v2 2.78% <ø> (ø)
tailsampling-processor 0.51% <ø> (ø)
unittests 95.09% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
.github/workflows/ci-check-bundle-size.yml Outdated Show resolved Hide resolved
.github/workflows/ci-check-bundle-size.yml Outdated Show resolved Hide resolved
.github/workflows/ci-check-bundle-size.yml Outdated Show resolved Hide resolved
Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
.github/workflows/ci-check-bundle-size.yml Outdated Show resolved Hide resolved
.github/workflows/ci-check-bundle-size.yml Outdated Show resolved Hide resolved
.github/workflows/ci-check-bundle-size.yml Outdated Show resolved Hide resolved
Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Jan 15, 2025
@yurishkuro yurishkuro changed the title [CI] Added Workflow to check bundle size of main jaeger binary [CI] Add workflow to guard against increases in the binary size Jan 15, 2025
chahatsagarmain and others added 2 commits January 16, 2025 04:18
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: chahat sagar <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: chahat sagar <[email protected]>
contents: read

jobs:
build-and-check:
Copy link
Member

Choose a reason for hiding this comment

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

let's move this as yet another job into .github/workflows/ci-lint-checks.yaml so that it runs as part of the overall lint group.

Suggested change
build-and-check:
binary-size-check:

Comment on lines 30 to 32
- name: Fetch git tags
run: |
git fetch --prune --unshallow --tags
Copy link
Member

Choose a reason for hiding this comment

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

is this necessary? We don't rely on tags in this workflow

Copy link
Contributor Author

@chahatsagarmain chahatsagarmain Jan 15, 2025

Choose a reason for hiding this comment

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

we dont need it , this was used here

- name: Fetch git tags
so i let it be , This can be removed .

Signed-off-by: chahatsagarmain <[email protected]>
Signed-off-by: chahatsagarmain <[email protected]>
@yurishkuro yurishkuro enabled auto-merge (squash) January 15, 2025 23:30
@yurishkuro yurishkuro merged commit 2ee8e4c into jaegertracing:main Jan 16, 2025
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:ci Change related to continuous integration / testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI workflow to guard against increases in the binary size
2 participants