Bun issue (Dec 2): Bun Request#credentials Ignores RequestInit and Always Reads "include"
Is it fixed? Not yet.
Ongoing since Dec 2, 09:21 UTC. First reported Dec 2, 09:21 UTC.
What happened
Bun developers running version 1.4.5-canary (and earlier from 1.2.2) are experiencing an issue where Request#credentials ignores the RequestInit value and the same-origin default, always reading as "include". Cloning a request via new Request(request) also preserves the erroneous "include" value.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Outage timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
Request#credentials always reads "include": the RequestInit value and the same-origin default are ignored
Source
Reports of this outage
1 report · 1 GitHubShow
- [1]GitHub First reportRequest#credentials always reads "include": the RequestInit value and the same-origin default are ignored(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.5-canary.1+862278db7 What platform is your computer? Linux 7.0.0-44-generic x86_64 unknown What steps can reproduce the bug? Still reproduces on 1.4.5-canary; first reported in #17052 on 1.2.2. Request#credentials ignores the RequestInit value and always reads "include", and a copy (new Request(request)) keeps "include" too. // repro.ts — run with bun repro.ts; exits 1 while the bug is present. const results = (["same-origin", "omit", "include", undefined]…
by kingsloob1 0upvotes 1comments
Bun issue FAQ
What happened in the Bun issue, and why?
Ongoing since Dec 2, 09:21 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.
What is affected by the Bun issue?
Bun (versions: 1.4.5-canary, 1.2.2+).
When did the Bun issue start and end?
It started Dec 2, 09:21 UTC and is still ongoing (11 h 41 min so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.