Skip to content

feat(types): add setters for envelope headers #868

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

Merged
merged 21 commits into from
Jul 28, 2025

Conversation

lcian
Copy link
Member

@lcian lcian commented Jul 23, 2025

Modifies visibility where needed, and setters for envelope headers and the DSC (trace header).
Even though these are part of the public API, they are mostly going to be used internally, so I think this level of documentation is fine, especially considering we already have good docs on the structs themselves.

Stacked on: #867
Required for: #865

Copy link

github-actions bot commented Jul 23, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against f4c87e6

Copy link

codecov bot commented Jul 23, 2025

Codecov Report

❌ Patch coverage is 41.57303% with 52 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.67%. Comparing base (eadb257) to head (f4c87e6).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #868      +/-   ##
==========================================
- Coverage   73.04%   72.67%   -0.37%     
==========================================
  Files          64       64              
  Lines        7256     7341      +85     
==========================================
+ Hits         5300     5335      +35     
- Misses       1956     2006      +50     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lcian lcian changed the title feat(types): add getter and setters for envelope headers feat(types): add getters and setters for envelope headers Jul 23, 2025
@lcian lcian force-pushed the lcian/feat/envelope-headers/accessors branch from 8d9b972 to 2c94b08 Compare July 24, 2025 09:15
@lcian lcian marked this pull request as ready for review July 24, 2025 09:16
@lcian lcian requested a review from szokeasaurusrex July 24, 2025 09:16
@lcian lcian changed the title feat(types): add getters and setters for envelope headers feat(types): add setters for envelope headers Jul 24, 2025
Base automatically changed from lcian/feat/more-envelope-headers to master July 25, 2025 09:42
@szokeasaurusrex szokeasaurusrex self-requested a review July 28, 2025 12:41
Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

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

Requesting changes, I noticed the sample_rand serialization logic could result in rounding up. Also left some lower-prio and optional comments

@lcian lcian requested a review from szokeasaurusrex July 28, 2025 15:20
Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for addressing comments! Left a couple more small ones to address before merging

@lcian lcian merged commit 611b2cd into master Jul 28, 2025
19 checks passed
@lcian lcian deleted the lcian/feat/envelope-headers/accessors branch July 28, 2025 16:05
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.

2 participants