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

Support 'if-token-present' for env var 'LOGFIRE_SEND_TO_LOGFIRE' #488

Merged
merged 9 commits into from
Oct 11, 2024

Conversation

sydney-runkle
Copy link
Member

@sydney-runkle sydney-runkle commented Oct 9, 2024

Fixes #441

Working on adding a test to fix coverage at the moment.

Copy link

cloudflare-workers-and-pages bot commented Oct 9, 2024

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 126cdd7
Status: ✅  Deploy successful!
Preview URL: https://8d8b6495.logfire-docs.pages.dev
Branch Preview URL: https://if-token-present-env-allowed.logfire-docs.pages.dev

View logs

@sydney-runkle sydney-runkle changed the title WIP: Support 'if-token-present' for env var 'LOGFIRE_SEND_TO_LOGFIRE' Support 'if-token-present' for env var 'LOGFIRE_SEND_TO_LOGFIRE' Oct 9, 2024
@sydney-runkle sydney-runkle marked this pull request as ready for review October 9, 2024 18:39
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (450298f) to head (126cdd7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #488   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          132       132           
  Lines         9945      9959   +14     
  Branches      1333      1338    +5     
=========================================
+ Hits          9945      9959   +14     

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

CONTRIBUTING.md Outdated Show resolved Hide resolved
tests/test_configure.py Outdated Show resolved Hide resolved
tests/test_configure.py Outdated Show resolved Hide resolved
sydney-runkle and others added 2 commits October 10, 2024 11:42
Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
@sydney-runkle
Copy link
Member Author

@alexmojaki, anything else you'd like here?

@alexmojaki alexmojaki enabled auto-merge (squash) October 11, 2024 08:56
@alexmojaki
Copy link
Contributor

Thanks!

@alexmojaki alexmojaki merged commit aa65f2d into main Oct 11, 2024
13 checks passed
@alexmojaki alexmojaki deleted the if-token-present-env-allowed branch October 11, 2024 08:59
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.

LOGFIRE_SEND_TO_LOGFIRE env var doesn't accept if-token-present as a value
3 participants