Skip to content

docs(adoption): the axios case study became a real upstream PR#97

Merged
QodeXcli merged 1 commit into
mainfrom
docs/axios-upstream-pr
Jul 2, 2026
Merged

docs(adoption): the axios case study became a real upstream PR#97
QodeXcli merged 1 commit into
mainfrom
docs/axios-upstream-pr

Conversation

@QodeXcli

@QodeXcli QodeXcli commented Jul 2, 2026

Copy link
Copy Markdown
Owner

The strongest possible line in ADOPTION.md: one of the external case-study findings is now a real upstream PRaxios/axios#11062.

  • Finding: setFormDataHeaders + FORM_DATA_CONTENT_HEADERS duplicated verbatim across lib/helpers/resolveConfig.js and lib/adapters/http.js (only a || {} guard differed)
  • Applied by hand: consolidated into lib/helpers/setFormDataHeaders.js (their one-helper-per-file pattern), keeping the defensive variant
  • Verified with axios's own suite: lint clean, all 89 form-data tests green; the 2 remaining failures reproduce identically on an unmodified checkout (environment/DNS)
  • Conventional-commit style per their CONTRIBUTING; PR body credits the detector honestly, one line, no marketing

Equally important, the doc now records what we didn't submit and why: the hono clusters are behaviorally distinct on inspection (crypto branching; a deliberate URL-encoding difference with an explanatory comment), and the zod family is arguably deliberate API symmetry. Detection said "similar"; judgment said "leave them."

Docs-only.

…/axios#11062)

The near-dupe finding on axios (setFormDataHeaders duplicated across resolveConfig.js and
adapters/http.js) was reviewed by hand, consolidated into lib/helpers/setFormDataHeaders.js
(keeping the defensive variant), verified against axios's own suite (lint clean, all 89
form-data tests green, the 2 remaining failures reproduced identically on an unmodified
checkout), and submitted upstream: axios/axios#11062.

Also documents what we deliberately did NOT submit — the hono clusters are behaviorally
distinct on inspection (crypto branching; intentional URL-encoding difference) and the zod
family is arguably deliberate API symmetry. Detection said "similar"; judgment said "leave
them" — the same mechanical-evidence / human-judgment split maintain runs on.
@QodeXcli QodeXcli merged commit 4142d93 into main Jul 2, 2026
2 checks passed
@QodeXcli QodeXcli deleted the docs/axios-upstream-pr branch July 2, 2026 01:23
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.

1 participant