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

Add distribution channel smoke test #276

Merged
merged 2 commits into from
Mar 23, 2021
Merged

Conversation

anuraaga
Copy link
Contributor

Issue #, if available:

Description of changes:
Just builds without publishing any metrics for now

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@anuraaga anuraaga requested review from srprash and bhautikpip March 19, 2021 05:41
python-version: '3.x'
- run: pip install tox
- name: Run smoke tests
run: tox -c tox-distributioncheck.ini
Copy link
Contributor

Choose a reason for hiding this comment

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

How do we get notified if the workflow fails? Whom does GH sends notification to in case of a cron job?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've sent a few similar PRs, but they're just establishing the build, notification is the next step. I think notification will be literally copy paste of the exact same code for all repos so can follow up with it.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can probably add like binary metric (PythonSDKDistributionAvailabilityFailure) which publishes value based on Run smoke tests is passed or not and then we can set alarms on that for notifications. I think that would be a good notification model. I agree with @anuraaga notifications can be next step.

Copy link
Contributor

@bhautikpip bhautikpip left a comment

Choose a reason for hiding this comment

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

Looks good :)

Copy link
Contributor

@srprash srprash left a comment

Choose a reason for hiding this comment

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

Thanks!

@codecov-io
Copy link

codecov-io commented Mar 22, 2021

Codecov Report

Merging #276 (2e8cd7f) into master (266bc82) will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #276      +/-   ##
==========================================
- Coverage   79.58%   79.52%   -0.07%     
==========================================
  Files          83       83              
  Lines        3277     3277              
==========================================
- Hits         2608     2606       -2     
- Misses        669      671       +2     
Impacted Files Coverage Δ
aws_xray_sdk/core/sampling/local/reservoir.py 88.88% <0.00%> (-11.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 266bc82...2e8cd7f. Read the comment docs.

@anuraaga anuraaga merged commit 9c322d7 into aws:master Mar 23, 2021
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.

4 participants