Skip to content

NYL-476: Preserve required upload-session header names - #785

Merged
AaronDDM merged 1 commit into
mainfrom
codex/NYL-476-preserve-upload-headers
Nov 4, 2026
Merged

AaronDDM merged 1 commit into
mainfrom
codex/NYL-476-preserve-upload-headers

Conversation

@AaronDDM

@AaronDDM AaronDDM commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Preserve opaque string-valued data.headers maps when decoding API responses so required presigned PUT headers retain their wire names. The existing SDK transport headers/rawHeaders and structured header-array behavior remain covered.

Tracks NYL-476.

Validation: failing-before unit key regression and packed real-HTTP upload failure (400), followed by passing strict Content-Type and hyphenated upload-header assertions; all565unit tests, build, lint and CJS/ESM checks pass.

E2E: verified in the combined packed-artifact suite using native fetch and real HTTP sockets, with no SDK or fetch mocks. Live-provider checks require a valid test grant.

@qasim-nylas qasim-nylas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👍

@AaronDDM
AaronDDM merged commit 4be7083 into main Nov 4, 2026
8 checks passed
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.69%. Comparing base (810b58c) to head (0d094e1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #785   +/-   ##
=======================================
  Coverage   98.69%   98.69%           
=======================================
  Files          43       43           
  Lines        1069     1073    +4     
  Branches      100      101    +1     
=======================================
+ Hits         1055     1059    +4     
  Misses         12       12           
  Partials        2        2           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch was successfully deployed

1 active deployment
sdk-reference — 0d094e1c Deployed Nov 4, 2026 by AaronDDM via docs #806
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