Repository navigation
test: Add packed SDK HTTP end-to-end checks to CI - #779
Merged
Merged
Conversation
…2e-ci # Conflicts: # package.json
…2e-ci # Conflicts: # .github/workflows/pull-reqeust.yml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #779 +/- ##
=======================================
Coverage 98.69% 98.69%
=======================================
Files 43 43
Lines 1073 1073
Branches 101 101
=======================================
Hits 1059 1059
Misses 12 12
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
AaronDDM
marked this pull request as ready for review
November 4, 2026 20:46
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Install a freshly packed SDK into a clean consumer and exercise its public methods over native HTTP/fetch. Cover CJS/ESM consumers, attachment wire bytes and upload references/headers, pagination, serialization, interrupted responses, deadlines, and sensitive error redaction. Run the suite across the existing Node 18/20/24/25 CI matrix, separately from Jest.
Validation: 565 Jest tests pass. Packed E2E/safety checks: Node 24 has 62 passes; Node 18 has 61 passes and one intentional environment-parser skip. Build, lint, formatting and package checks pass. SDK/fetch/FormData are not mocked. The upload fixture rejects incorrect required header names, which reproduced NYL-476 before its fix.
Live Google validation covered Buffer/base64/unknown-size-stream draft create/update and three one-time sends to the same test mailbox, with exact attachment length/SHA256 verification. Test drafts were deleted; all three sent messages were verified in Trash with no Inbox label, matching the default soft-delete API contract. Microsoft-only upload sessions and transactional domains require separate live configuration; their wire flows are covered by HTTP fixtures.
The live runner is separate and requires explicit opt-in, a valid self-addressed test account and an allow-listed API origin. CI never makes live provider calls. Private bounded recovery manifests support cleanup failures. These checks protect the fixes tracked by NYL-458 through NYL-466, NYL-469 through NYL-473, and NYL-476.