repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
golang/go | 8e1ecee49120359594cad3b3e6e6464eb3945f49 | 65f76a20a32fc2a63f22f681591813e568506c9d | context: fix package doc description of WithDeadlineCause and WithTimeoutCause
The package documentation incorrectly states that WithCancelCause,
WithDeadlineCause, and WithTimeoutCause all return a CancelCauseFunc.
In fact, only WithCancelCause returns a CancelCauseFunc. WithDeadlineCause
and WithTimeoutCause accept ... | [
{
"path": "src/context/context.go",
"patch": "@@ -24,11 +24,12 @@\n // child and its children until the parent is canceled. The go vet tool\n // checks that CancelFuncs are used on all control-flow paths.\n //\n-// The [WithCancelCause], [WithDeadlineCause], and [WithTimeoutCause] functions\n-// return a [C... | 2026-02-09T06:12:22 |
facebook/react | ddff35441a63d573ef41fcedabc32105e0ac3122 | d39a1d6b638de6b990ea783544df775b8be59f1a | [compiler] Enable validateExhaustiveMemoizationDependencies by default (#35201)
Enables `@validateExhaustiveMemoizationDependencies` feature flag by
default, and disables it in select tests that failed due to the change.
Some of our tests intentionally use incorrect memo dependencies in order
to test edge cases.
---
... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/HIR/Environment.ts",
"patch": "@@ -221,7 +221,7 @@ export const EnvironmentConfigSchema = z.object({\n /**\n * Validate that dependencies supplied to manual memoization calls are exhaustive.\n */\n- validateExhaustiveMemoizationDependenci... | 2025-11-25T20:07:55 |
vercel/next.js | 8283b1260ba3eb187baf20727e739fbd8ba7bbf6 | 76d7dc1e98899e0674b622989675919adc6cc146 | Support accessing root params in `"use cache"` functions (#91191)
Root params (e.g. `import { lang } from 'next/root-params'`) can now be read inside `"use cache"` functions. The read root param values are automatically included in the cache key so that different root param combinations produce separate cache entries.... | [
{
"path": "packages/next/errors.json",
"patch": "@@ -1137,5 +1137,7 @@\n \"1136\": \"Page \\\"%s\\\" cannot use both \\\\`export const unstable_dynamicStaleTime\\\\` and \\\\`export const unstable_instant\\\\`.\",\n \"1137\": \"\\\"%s\\\" cannot use \\\\`export const unstable_dynamicStaleTime\\\\`. This... | 2026-03-17T13:04:44 |
electron/electron | 6a2571ee3d3692e727aaf766df2cd7183f6da90c | 94aa90bb6480cf1e76429cab6a0d96af836d6592 | ci: Wayland test job, helpers, and app spec (#49908)
* wayland test chromium patch
* ci: add wayland test job and helpers
* use weston directly instead of wlheadless-run
* roll build image to eac3529
* fixed exec command
* Update .github/workflows/pipeline-segment-electron-test.yml
Co-authored-by: John Kleinschm... | [
{
"path": ".devcontainer/docker-compose.yml",
"patch": "@@ -2,7 +2,7 @@ version: '3'\n \n services:\n buildtools:\n- image: ghcr.io/electron/devcontainer:a82b87d7a4f5ff0cab61405f8151ac4cf4942aeb\n+ image: ghcr.io/electron/devcontainer:eac3529546ea8f3aa356d31e345715eef342233b\n \n volumes:\n ... | 2026-02-25T19:51:13 |
golang/go | 75fdbda51799a9f867b58a61004685d8637413e6 | 105b1e2757e8c0da9058a45c1e31c57849aedeae | cmd/go: update urls in documentation to go.dev
Update the urls in user facing documentation
and error messages to consistently use go.dev
instead of golang.org
Change-Id: I48866eb03036221035bcf204a892d9a3b4c214bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/754460
LUCI-TryBot-Result: Go LUCI <golang-scoped@... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -199,7 +199,7 @@\n //\t\tBy default, if a vendor directory is present and the go version in go.mod\n //\t\tis 1.14 or higher, the go command acts as if -mod=vendor were set.\n //\t\tOtherwise, the go command acts as if -mod=readonly were set.\n-//\t\tSee https... | 2026-03-11T19:51:44 |
vercel/next.js | 76d7dc1e98899e0674b622989675919adc6cc146 | 9eed3027f161f19c5204e3a3555283df9ec91855 | Fix `unstable_catchError` type inference for fallback props (#91485)
### Why?
TypeScript fails to infer the generic `P` from `Omit<P, 'children'>` in
the fallback function parameter.
```
Argument of type '(props: { title: string; }, { error, reset, unstable_retry }: ErrorInfo) => Element' is not assignable to parame... | [
{
"path": "packages/next/error.d.ts",
"patch": "@@ -1,3 +1,7 @@\n+// Pages Router only\n import Error from './dist/api/error'\n export * from './dist/api/error'\n export default Error\n+\n+export { unstable_catchError } from './dist/api/error'\n+export type { ErrorInfo } from './dist/api/error'",
"addit... | 2026-03-17T11:07:03 |
facebook/react | d39a1d6b638de6b990ea783544df775b8be59f1a | 16e16ec6ffe159ba831203eeeb7efe72df82c4be | [compiler] Distingush optional/extraneous deps (#35204)
In ValidateExhaustiveDependencies, I previously changed to allow
extraneous dependencies as long as they were non-reactive. Here we make
that more precise, and distinguish between values that are definitely
referenced in the memo function but optional as dependen... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts",
"patch": "@@ -803,6 +803,7 @@ export type ManualMemoDependency = {\n | {\n kind: 'NamedLocal';\n value: Place;\n+ constant: boolean;\n }\n | {kind: 'Global'; identifierName: string};\n path: Depe... | 2025-11-25T20:06:25 |
electron/electron | 94aa90bb6480cf1e76429cab6a0d96af836d6592 | b9a09acff36d268fd4ade597be2d6ff8a051d59d | fix: recover network requests after Network Service restart (#49887)
* fix: recover network requests after Network Service restart
* chore: reuse implementation
* chore: make linter happy
* chore: fix lint
---------
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.... | [
{
"path": "shell/browser/api/electron_api_utility_process.cc",
"patch": "@@ -14,6 +14,7 @@\n #include \"base/process/launch.h\"\n #include \"base/process/process.h\"\n #include \"chrome/browser/browser_process.h\"\n+#include \"content/browser/network_service_instance_impl.h\" // nogncheck\n #include \"cont... | 2026-02-25T17:53:06 |
golang/go | c697e0fc482de62da72d4470ac082bf5e5720642 | f3966c1ada0a0ddaea873f979ee9165649eb11b7 | spec: fix prose in rule for keys of struct composite literals
Use "promoted" rather than "embedded" because the selector
provides access to a promoted field.
For #9859.
Change-Id: If62c5260ab7bdfef3d6ea4ff770543ad668ac9b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/755782
LUCI-TryBot-Result: Go LUCI <gola... | [
{
"path": "doc/go_spec.html",
"patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Language version go1.27 (March 5, 2026)\",\n+\t\"Subtitle\": \"Language version go1.27 (March 16, 2026)\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -3211,13 +321... | 2026-03-16T22:30:40 |
vercel/next.js | 9eed3027f161f19c5204e3a3555283df9ec91855 | 3af4cc14ea400ebc01fdc267f3d3495bfe086a7e | Fix DataUriSource description to include "data:" prefix (#91455)
### What?
Fix the `description()` method of `DataUriSource` in Turbopack to include the full `data:` URI prefix in the display string.
**Before:** `data URI content (svg+xml;charset=utf8,...)`
**After:** `data URI content (data:svg+xml;charset=utf8,...... | [
{
"path": "turbopack/crates/turbopack-core/src/data_uri_source.rs",
"patch": "@@ -42,11 +42,15 @@ impl DataUriSource {\n impl Source for DataUriSource {\n #[turbo_tasks::function]\n async fn description(&self) -> Result<Vc<RcStr>> {\n+ let media_type = &self.media_type;\n+ let encoding... | 2026-03-17T09:25:51 |
facebook/react | 9599e7a787cce2a41c35d783d45a160dfebab277 | 67c1487ffd872c95a3bb7d8104eac6eca79fe8cb | [compiler] Adjustments to exhaustive deps messages, disable the lint rule (#35192)
Similar to ValidateHookUsage, we implement this check in the compiler
for safety but (for now) continue to rely on the existing rule for
actually reporting errors to users.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts",
"patch": "@@ -1067,7 +1067,15 @@ function getRuleForCategoryImpl(category: ErrorCategory): LintRule {\n name: 'memo-dependencies',\n description:\n 'Validates that useMemo() and useCallback() specify co... | 2025-11-24T20:20:12 |
golang/go | dbb3793b59371828cd1463bd3796f586ad4e6433 | 5262546d8296a6bed3fcd385385db51bd3e5f48b | slices: document that Delete, DeleteFunc, Replace, Insert modify the slice
Rephrase the opening doc comments for Delete, DeleteFunc, Replace, and
Insert to clarify that these functions modify s in place and return the
modified slice, following the pattern used by Compact.
Fixes #64329
Change-Id: I82c381a350b71efc819... | [
{
"path": "src/slices/slices.go",
"patch": "@@ -125,8 +125,8 @@ func ContainsFunc[S ~[]E, E any](s S, f func(E) bool) bool {\n \treturn IndexFunc(s, f) >= 0\n }\n \n-// Insert inserts the values v... into s at index i,\n-// returning the modified slice.\n+// Insert modifies s in place by inserting the value... | 2026-02-17T01:13:17 |
nodejs/node | d0e75fd65b19cf0629da0a1ff0993cb91bc65113 | b864049f024860556fb4ee70d0dcb1af3b4d3201 | doc: fix broken links of net.md
PR-URL: https://github.com/nodejs/node/pull/61673
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gma... | [
{
"path": "doc/api/net.md",
"patch": "@@ -695,7 +695,7 @@ added:\n \n * Type: {boolean}\n \n-Set this property to `true` to begin closing connections once the number of connections reaches the \\[`server.maxConnections`]\\[] threshold. This setting is only effective in cluster mode.\n+Set this property to `... | 2026-02-09T15:32:50 |
electron/electron | b9a09acff36d268fd4ade597be2d6ff8a051d59d | fd9bf54243f68083ce5716ddc5c8cb1032ae9f1d | docs: mark "Show hidden files" file dialog setting as deprecated on Linux (#46926)
* fix: don't overwrite "Show hidden files" setting on Linux/GTK
* docs: deprecate showHiddenFiles property in dialogs on Linux
* docs: mark Electron 42 as the removal date for this feature
---------
Co-authored-by: Charles Kerr <cha... | [
{
"path": "docs/api/dialog.md",
"patch": "@@ -30,7 +30,7 @@ The `dialog` module has the following methods:\n * `openFile` - Allow files to be selected.\n * `openDirectory` - Allow directories to be selected.\n * `multiSelections` - Allow multiple paths to be selected.\n- * `showHiddenFiles` -... | 2026-02-25T16:05:01 |
facebook/react | fca172e3f3b29aee12e4e99b8f151e7fd138a8db | fd524fe02a86c3e92a207d90da970941320f337f | [compiler] Ignore ESLint suppressions when ValidateMemoDeps enabled (#35184)
With `ValidateExhaustiveMemoDependencies` we can now check exhaustive
dependencies for useMemo and useCallback within the compiler, without
relying on the separate exhaustive-deps rule. Until now we've bailed out
of any component/hook that su... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts",
"patch": "@@ -400,7 +400,15 @@ export function compileProgram(\n */\n const suppressions = findProgramSuppressions(\n pass.comments,\n- pass.opts.eslintSuppressionRules ?? DEFAULT_ESLINT_SUPPRESSIONS,\n+ /*\n... | 2025-11-24T20:12:49 |
vercel/next.js | 3af4cc14ea400ebc01fdc267f3d3495bfe086a7e | a27a11d78e748a8c7ccfd14b7759ad2b9bf097d8 | Fix startup warmup for empty-shell app route cache (#91470)
Startup loading of APP_PAGE PPR entries seeded the in-memory cache from
disk using a size estimate that only counted html and the route-level
RSC payload. Empty-shell prerenders have 0-byte html and do not persist
a monolithic .rsc file, with the reusable dat... | [
{
"path": "packages/next/src/server/lib/incremental-cache/memory-cache.external.ts",
"patch": "@@ -4,6 +4,24 @@ import { LRUCache } from '../lru-cache'\n \n let memoryCache: LRUCache<CacheHandlerValue> | undefined\n \n+function getBufferSize(buffer: Buffer | undefined) {\n+ return buffer?.length || 0\n+}\n... | 2026-03-17T05:36:34 |
golang/go | 5262546d8296a6bed3fcd385385db51bd3e5f48b | a8a5b81473c00e857dd9963dc027dc1c10016d79 | cmd/go/internal/test: enable stdversion by default
Also, update the list of available checks, including
using the non-deprecated names.
Updates #18085
Fixes #77729
Change-Id: Ic31a53fda5628f0de85c7f447182f0d4b1cdcdb2
Reviewed-on: https://go-review.googlesource.com/c/go/+/755240
Reviewed-by: Michael Matloob <matloob@... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -1875,11 +1875,11 @@\n // and its test source files to identify significant problems. If go vet\n // finds any problems, go test reports those and does not run the test\n // binary. Only a high-confidence subset of the default go vet checks are\n-// used. That... | 2026-03-13T21:05:17 |
nodejs/node | b864049f024860556fb4ee70d0dcb1af3b4d3201 | a8479a219da6a96b8b1fb18ec0a8e68d3a377cc8 | src: fix cjs_lexer external reference registration
It needs to be added to the list to actually get registered.
PR-URL: https://github.com/nodejs/node/pull/61718
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "src/node_external_reference.h",
"patch": "@@ -67,6 +67,7 @@ class ExternalReferenceRegistry {\n V(buffer) \\\n V(builtins) \\\n V(cares_wrap) ... | 2026-02-09T14:21:34 |
electron/electron | fd9bf54243f68083ce5716ddc5c8cb1032ae9f1d | d9170093aafcc111712a28909b4fdf06e50ae43a | build: fix Chromium roll linting merge base determination in CI (#49937) | [
{
"path": "script/lint-roller-chromium-changes.mjs",
"patch": "@@ -124,7 +124,7 @@ async function main () {\n // Get the merge base with the target branch\n let mergeBase;\n try {\n- mergeBase = execSync(`git merge-base ${currentBranch} origin/${targetBranch}`, {\n+ mergeBase = execSync(`git mer... | 2026-02-25T13:38:31 |
facebook/react | df75af4edca7f316e6bfcfcde67197e8a57d1101 | bcc3fd8b05acc6cb4947b15938dc55b4b72fe31f | [compiler] Auto-fix for non-exhaustive deps (#34471)
Records more information in DropManualMemoization so that we know the
full span of the manual dependencies array (if present). This allows
ValidateExhaustiveDeps to include a suggestion with the correct deps.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [S... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts",
"patch": "@@ -817,6 +817,11 @@ export type StartMemoize = {\n * (e.g. useMemo without a second arg)\n */\n deps: Array<ManualMemoDependency> | null;\n+ /**\n+ * The source location of the dependencies argument. Used for\n+ ... | 2025-11-21T03:28:08 |
golang/go | a8a5b81473c00e857dd9963dc027dc1c10016d79 | 655aa335c951c3b1a61560016ad2cd2f6eac1684 | cmd/go: ensure go.mod and go.sum are consistent after `go get -tool`
The issue was that `go get -tool` could trigger module upgrades (due to
the tool's own requirements) that were not correctly captured by the
final consistency check in `checkPackageProblems`. This happened because
`updateTools` was being called after... | [
{
"path": "src/cmd/go/internal/modget/get.go",
"patch": "@@ -402,14 +402,14 @@ func runGet(ctx context.Context, cmd *base.Command, args []string) {\n \t\t}\n \t}\n \n+\tif *getTool {\n+\t\tupdateTools(moduleLoaderState, ctx, r, queries, &opts)\n+\t}\n+\n \t// If a workspace applies, checkPackageProblems wil... | 2026-02-24T17:00:40 |
vercel/next.js | 924d39dcef03fe6cf75eb5c7a4e76cb2c61c9286 | 0f867bb2196588bdfc29bcc3f79736bb84fa1572 | docs(turbopack): Fix all warnings in `cargo doc --no-deps --workspace`, and run rustdoc as part of our CI checks (#91339)
This gets `cargo doc` clean, and enables it in CI so that we won't regress it (I'm open to removing this if it proves to be annoying).
I also cleaned up some documentation and even found some dead... | [
{
"path": "crates/next-napi-bindings/src/next_api/utils.rs",
"patch": "@@ -98,6 +98,12 @@ pub fn root_task_dispose(\n Ok(())\n }\n \n+/// [Peeks] at the [`Issue`] held by the given source and returns it as a [`PlainDiagnostic`].\n+/// It does not [consume] any [`Issue`]s held by the source.\n+///\n+/// ... | 2026-03-16T23:42:24 |
nodejs/node | 71b36ee68ae492077436708bc4e334ad519046ad | aa3e649ca1efce190d0b98b5afe3826a401df290 | repl: fix FileHandle leak in history initialization
Ensure that the history file handle is closed if initialization fails or
flushing throws an error. This prevents ERR_INVALID_STATE errors where
a FileHandle object is closed during garbage collection.
PR-URL: https://github.com/nodejs/node/pull/61706
Reviewed-By: Lu... | [
{
"path": "lib/internal/repl/history.js",
"patch": "@@ -327,6 +327,7 @@ class ReplHistory {\n \n await this[kFlushHistory]();\n } catch (err) {\n+ await this[kCloseHandle]();\n return this[kHandleHistoryInitError](err, onReadyCallback);\n }\n }",
"additions": 1,
"deletions... | 2026-02-09T10:46:26 |
electron/electron | d9170093aafcc111712a28909b4fdf06e50ae43a | aca83afeef7cdebce10c6fa9835baed26c806b9f | build: exit upload with error code if github upload fails (#49936) | [
{
"path": "script/release/uploaders/upload.py",
"patch": "@@ -368,6 +368,9 @@ def upload_io_to_github(release, filename, filepath, version):\n for c in iter(lambda: upload_process.stdout.read(1), b\"\"):\n sys.stdout.buffer.write(c)\n sys.stdout.flush()\n+ upload_process.wait()\n+ ... | 2026-02-25T13:16:13 |
golang/go | 48bbe7996d1e53c39188fba941bc3f9e523c8b94 | 6614616b7576a8011053c4b50fbb5e64d469837b | net/http/internal/http2: deflake TestServer_Rejects_Too_Many_Streams
This test contains a race condition in the server handler:
inHandler <- streamID
<-leaveHandler
We assume that all requests queue reading from leaveHandler in order,
but it is possible for the second request (stream id 3) to arrive at
leaveHandle... | [
{
"path": "src/net/http/internal/http2/server_test.go",
"patch": "@@ -2386,18 +2386,7 @@ func TestServer_Rejects_Too_Many_Streams(t *testing.T) {\n \tsynctestTest(t, testServer_Rejects_Too_Many_Streams)\n }\n func testServer_Rejects_Too_Many_Streams(t testing.TB) {\n-\tinHandler := make(chan uint32)\n-\tlea... | 2026-03-13T21:43:22 |
nodejs/node | aa3e649ca1efce190d0b98b5afe3826a401df290 | f0be1c00da356954ba7f47e5c39fe7dc0e85fe89 | esm: update outdated FIXME comment in translators.js
PR-URL: https://github.com/nodejs/node/pull/61715
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "lib/internal/modules/esm/translators.js",
"patch": "@@ -142,8 +142,8 @@ function loadCJSModule(module, source, url, filename, isMain) {\n specifier = `${pathToFileURL(path)}`;\n }\n \n- // FIXME(node:59666) Currently, the ESM loader re-invents require() here for imported CJS and this... | 2026-02-09T09:11:35 |
facebook/react | bcc3fd8b05acc6cb4947b15938dc55b4b72fe31f | 50e7ec8a694072fd6fcd52182df8a75211bf084d | [compiler] Implement exhaustive dependency checking for manual memoization (#34394)
The compiler currently drops manual memoization and rewrites it using
its own inference. If the existing manual memo dependencies has missing
or extra dependencies, compilation can change behavior by running the
computation more often ... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts",
"patch": "@@ -304,6 +304,30 @@ export class CompilerError extends Error {\n disabledDetails: Array<CompilerErrorDetail | CompilerDiagnostic> = [];\n printedMessage: string | null = null;\n \n+ static simpleInvariant(\n+ ... | 2025-11-21T03:26:26 |
vercel/next.js | fa32daad8d7d0cfff6de16d1fc13fe8bd2d1802e | 672b02b27002c8ac6816eff744c15090335b0caa | Add `unstable_catchError()` API for custom error boundary (#89688)
This PR adds `unstable_catchError()` API for a granular custom error
boundary. The error component generated by this API is not a true
component format, as the wrapper provides additional args. Therefore,
the API is a function call by design rather tha... | [
{
"path": "crates/next-core/src/next_import_map.rs",
"patch": "@@ -71,7 +71,16 @@ pub async fn get_next_client_import_map(\n .await?;\n \n match &ty {\n- ClientContextType::Pages { .. } => {}\n+ ClientContextType::Pages { .. } => {\n+ // Resolve next/error to the ESM entry p... | 2026-03-16T22:57:11 |
golang/go | 9ce4f3876e89a43dbd8508cb2762a2e4644dfe84 | b3ee07636a1fe4ba5129705fd4692b442cf6b6f0 | cmd/compile: keep blank nodes alive in b.loop
The current bloop pass implementation skips blank nodes silently. This
CL makes it aware of that and keep them alive in temps.
Fixes #77654.
Change-Id: Iaffa5194ba1f0fe8d7c80a4c8e5c9a65a47bf534
Reviewed-on: https://go-review.googlesource.com/c/go/+/754920
LUCI-TryBot-Res... | [
{
"path": "src/cmd/compile/internal/bloop/bloop.go",
"patch": "@@ -216,11 +216,49 @@ func preserveCallArgs(curFn *ir.Func, call *ir.CallExpr) ir.Node {\n func preserveStmt(curFn *ir.Func, stmt ir.Node) ir.Node {\n \tswitch n := stmt.(type) {\n \tcase *ir.AssignStmt:\n+\t\t// If the left hand side is blank, ... | 2026-03-12T20:56:24 |
nodejs/node | f0be1c00da356954ba7f47e5c39fe7dc0e85fe89 | 286828be013d0095a78242a330edb5e0e70a64e6 | http2: fix FileHandle leak in respondWithFile
Ensure that the file handle is closed if header validation fails in
respondWithFile. This prevents ERR_INVALID_STATE errors where a
FileHandle object is closed during garbage collection.
PR-URL: https://github.com/nodejs/node/pull/61707
Reviewed-By: Matteo Collina <matteo... | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -2680,6 +2680,8 @@ function processRespondWithFD(self, fd, headers, offset = 0, length = -1,\n try {\n headersList = buildNgHeaderString(headers, assertValidPseudoHeaderResponse);\n } catch (err) {\n+ if (self.ownsFd)\n+ tryClose(fd);\n ... | 2026-02-08T23:46:52 |
electron/electron | e5d3fbf6dca089c39f9f28191524008deb9161ef | 0aaea4eaa04b581ef31e5befdd2fc0c7a997b0aa | chore: bump chromium to 147.0.7699.0 (main) (#49831)
* chore: bump chromium in DEPS to 147.0.7693.0
* chore: bump chromium in DEPS to 147.0.7694.0
* chore: bump chromium in DEPS to 147.0.7695.0
* chore: bump chromium in DEPS to 147.0.7697.0
* chore: bump chromium in DEPS to 147.0.7698.0
* fix(patch): IsGuest move... | [
{
"path": "DEPS",
"patch": "@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'\n \n vars = {\n 'chromium_version':\n- '147.0.7687.0',\n+ '147.0.7699.0',\n 'node_version':\n 'v24.13.1',\n 'nan_version':",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "patche... | 2026-02-24T21:42:05 |
facebook/react | 4cf770d7e1a52c66401b42c7d135f40b7dc23981 | 7d67591041e3ac47eac3bab6cff209071d4c0c6c | [compiler][poc] Quick experiment with SSR-optimization pass (#35102)
Just a quick poc:
* Inline useState when the initializer is known to not be a function.
The heuristic could be improved but will handle a large number of cases
already.
* Prune effects
* Prune useRef if the ref is unused, by pruning 'ref' props on pr... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Pipeline.ts",
"patch": "@@ -105,6 +105,7 @@ import {inferMutationAliasingRanges} from '../Inference/InferMutationAliasingRan\n import {validateNoDerivedComputationsInEffects} from '../Validation/ValidateNoDerivedComputationsInEffects';\... | 2025-11-20T23:02:38 |
vercel/next.js | 5dd48e3598b1d70188e7af5828ea724aa3eb8203 | 9bec0cce145116cb75788b1e4c1db5e8e8435ec0 | Add `unstable_dynamicStaleTime` route segment config (#91437)
## Background
Next.js has an existing global config,
`experimental.staleTimes.dynamic`, that controls how long the
client-side router cache retains data from dynamic navigation responses.
By default this is 0 — meaning dynamic data is always refetched on e... | [
{
"path": "packages/next/errors.json",
"patch": "@@ -1133,5 +1133,7 @@\n \"1132\": \"Route %s used \\\\`draftMode()\\\\` inside \\\\`generateStaticParams\\\\`. This is not supported because \\\\`generateStaticParams\\\\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messag... | 2026-03-16T19:38:17 |
golang/go | b3ee07636a1fe4ba5129705fd4692b442cf6b6f0 | 0dc89195f9aece70476320be3fc9d6d657904056 | net/http/internal/http2: drop benchmarks which use synctest
Drop a number of low-level benchmarks which use internal test APIs
that now use synctest. Synctest and benchmarks don't really mix;
we don't necessarily expect bubbled code to perform in the same
fashion as unbubbled code.
Fixes #78114
Change-Id: I23f0a5d29... | [
{
"path": "src/net/http/internal/http2/export_test.go",
"patch": "@@ -166,10 +166,6 @@ func SummarizeFrame(f Frame) string {\n \treturn summarizeFrame(f)\n }\n \n-func SetTestHookGetServerConn(t testing.TB, f func(*serverConn)) {\n-\tSetForTest(t, &testHookGetServerConn, f)\n-}\n-\n func init() {\n \ttestHo... | 2026-03-12T21:44:28 |
electron/electron | 0aaea4eaa04b581ef31e5befdd2fc0c7a997b0aa | 818b28410f493c20fabfb27addeeec65f8166328 | fix: crash after `win.showAllTabs()` new tab (#49917)
fix: crash after win.showAllTabs new tab | [
{
"path": "shell/browser/ui/cocoa/electron_ns_window.mm",
"patch": "@@ -35,6 +35,41 @@ - (void)cr_mouseDownOnFrameView:(NSEvent*)event;\n \n typedef void (*MouseDownImpl)(id, SEL, NSEvent*);\n \n+// Work around an Apple bug where the visual tab picker's\n+// grid animation creates NSLayoutConstraints agains... | 2026-02-24T21:09:09 |
facebook/react | 7d67591041e3ac47eac3bab6cff209071d4c0c6c | 7ee974de927e9bbe10a44441ab49bafd9f5467a2 | [compiler] Remove useState argument constraint. no-derived-computations-in-effects (#35174)
Summary:
I missed this conditional messing things up for undefined useState()
calls. We should be tracking them.
I also missed a test that expect an error was not throwing.
Test Plan:
Update broken test
---
[//]: # (BEGIN SA... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoDerivedComputationsInEffects_exp.ts",
"patch": "@@ -388,7 +388,7 @@ function recordInstructionDerivations(\n dependencies: deps,\n });\n }\n- } else if (isUseStateType(lvalue.identifier) && value.arg... | 2025-11-20T18:45:17 |
nodejs/node | b220fbe455797f8225b461bd5bddd0bc16f0c834 | a879b39778edcc26d18f87fb09d093923be9c708 | deps: V8: backport 6a0a25abaed3
Original commit message:
[riscv] Fix sp handling in MacroAssembler::LeaveFrame
Keep sp <= fp to ensure that data right above fp doesn't get clobbered
by an inopportune signal and its handler.
Such clobbering can happen in e.g. Node.js when JIT-compiled code is
int... | [
{
"path": "common.gypi",
"patch": "@@ -38,7 +38,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.11',\n+ 'v8_embedder_string': '-node.12',\n \n ##### V8 defaults for Node.js #####\n... | 2026-02-03T08:46:02 |
rust-lang/rust | 750e57819573e16cb6c6578e41d0cbb547e4e5f8 | c07baa4cc921e5606ae9ef846b8c187d65bf9c83 | clippy_dev/new_lint: fix path to the file where MSRVs reside | [
{
"path": "clippy_dev/src/new_lint.rs",
"patch": "@@ -319,7 +319,7 @@ fn get_lint_file_contents(lint: &LintData<'_>, enable_msrv: bool) -> String {\n \n impl {pass_type}{pass_lifetimes} for {name_camel} {{{extract_msrv}}}\n \n- // TODO: Add MSRV level to `clippy_config/src/msrvs.rs` i... | 2026-04-02T19:24:00 |
vercel/next.js | 9bec0cce145116cb75788b1e4c1db5e8e8435ec0 | 4f693363363e06cb6f07de001beeb93687ec658e | Avoid `undefined` outer work unit store in `"use cache"` (#91190)
The `outerWorkUnitStore` in the public cache context could previously be `undefined`, which was needed when `"use cache"` was called without a `WorkUnitStore` (e.g. inside `generateStaticParams`) and during background revalidation of stale cache entries... | [
{
"path": "packages/next/errors.json",
"patch": "@@ -1132,5 +1132,6 @@\n \"1131\": \"createServerParamsForRoute should not be called inside generateStaticParams.\",\n \"1132\": \"Route %s used \\\\`draftMode()\\\\` inside \\\\`generateStaticParams\\\\`. This is not supported because \\\\`generateStaticP... | 2026-03-16T15:40:16 |
golang/go | 9e2189ef8e04d2745d18ac870ae54dcdcbc008db | 75cfb36608a3457f182eb3284d99cd677f463dcb | cmd/go: isolate some very long tests
These tests are exceptionally slow. Move them out of the normal cmd/go
test suite to try to make it more reasonable to run 'go test cmd/go' in
a regular dev cycle. More tests can be moved here as needed. (Hopefully
this can also help longtest sharding)
Change-Id: I4ca0696d0afe72aa... | [
{
"path": "src/cmd/go/internal/verylongtest/script_test.go",
"patch": "@@ -0,0 +1,26 @@\n+// Copyright 2026 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package verylongtest\n+\n+import (\n+\t\"cmd/inter... | 2026-03-10T21:34:02 |
electron/electron | 25db585a23bb14c9b2a5c23c1e99d4a71a88ad51 | 02eed1ec0b7453a4ddbe2386d5e1d090596ae124 | docs: fix some string enum typings (#49923) | [
{
"path": "docs/api/app.md",
"patch": "@@ -1332,7 +1332,7 @@ Returns `boolean` - Whether the current desktop environment is Unity launcher.\n ### `app.getLoginItemSettings([options])` _macOS_ _Windows_\n \n * `options` Object (optional)\n- * `type` string (optional) _macOS_ - Can be one of `mainAppService`... | 2026-02-24T15:11:22 |
facebook/react | 7ee974de927e9bbe10a44441ab49bafd9f5467a2 | 8ac5f4eb3601f7381462f8b74ecf24d47259cc20 | [compiler] Prevent innaccurate derivation recording on FunctionExpressions on no-derived-computation-in-effects (#35173)
Summary:
The operands of a function expression are the elements passed as
context. This means that it doesn't make sense to record mutations for
them.
The relevant mutations will happen in the func... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoDerivedComputationsInEffects_exp.ts",
"patch": "@@ -52,6 +52,8 @@ type ValidationContext = {\n readonly setStateUsages: Map<IdentifierId, Set<SourceLocation>>;\n };\n \n+const MAX_FIXPOINT_ITERATIONS = 100;\n+\n class Deriva... | 2025-11-20T18:44:45 |
nodejs/node | a879b39778edcc26d18f87fb09d093923be9c708 | 99cfb34cee507bb310d1bd542f6e07c9b89b4308 | test: split test-embedding.js and run tests in parallel
Split the tests so that it's easier to isolate and debug issues,
and we can run the test cases in parallel to speed up. Also
add more comments about what they are testing.
PR-URL: https://github.com/nodejs/node/pull/61571
Reviewed-By: Luigi Pinca <luigipinca@gma... | [
{
"path": "test/embedding/test-embedding-create-require-fs.js",
"patch": "@@ -0,0 +1,17 @@\n+'use strict';\n+\n+// Tests that createRequire() works correctly with local fs in embedded environments.\n+// The createRequire() call is in embedtest.cc.\n+\n+const common = require('../common');\n+const fixtures =... | 2026-02-08T13:18:27 |
rust-lang/rust | 35693778e81a0e94e13a5a48809657c6b05f7f42 | e6b64a2f4c696b840f8a384ec28690eed6a5d267 | Fix ICE in unsafe binder discriminant queries
Forward discriminant-related queries through `ty::UnsafeBinder` to the erased
inner type, matching the existing layout behavior. | [
{
"path": "compiler/rustc_middle/src/ty/sty.rs",
"patch": "@@ -1630,6 +1630,9 @@ impl<'tcx> Ty<'tcx> {\n TyKind::Coroutine(def_id, args) => {\n Some(args.as_coroutine().variant_range(*def_id, tcx))\n }\n+ TyKind::UnsafeBinder(bound_ty) => {\n+ ... | 2026-04-02T15:15:28 |
facebook/react | 8ac5f4eb3601f7381462f8b74ecf24d47259cc20 | eb89912ee5ace8bf8e616cca5a6aeebcd274b521 | Fix form status reset when component state is updated (#34075)
Co-authored-by: Vordgi <sasha2822222@gmail.com> | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMForm-test.js",
"patch": "@@ -2281,4 +2281,64 @@ describe('ReactDOMForm', () => {\n await submit(formRef.current);\n assertLog(['stringified action']);\n });\n+\n+ it('form actions should retain status when nested state changes', async () => {\n+... | 2025-11-19T17:22:07 |
golang/go | 81908597a8787b09b1da90e7c6d3461b4302820f | 2cd24ace83bb8055280b9302efb1a21a14d7c763 | net/http/internal/http2: skip TestTransportNewClientConnCloseOnWriteError
Rewrote this test to use newTestClientConn, discovered that the assertion
that it's supposed to make (if a write to a conn fails, the conn is closed)
doesn't hold for all writes.
Skip the amended test for now.
For #67810
Change-Id: I1b696afcd... | [
{
"path": "src/net/http/internal/http2/transport_test.go",
"patch": "@@ -3850,31 +3850,36 @@ func testTransportBodyLargerThanSpecifiedContentLength(t testing.TB, body *chunk\n \t}\n }\n \n-type fakeConnErr struct {\n-\tnet.Conn\n-\twriteErr error\n-\tclosed bool\n-}\n-\n-func (fce *fakeConnErr) Write(b []... | 2026-03-10T21:02:10 |
electron/electron | acd01e15e282bfd3a61585a37aaf53caf34bfe56 | fc3a0abf19b9bad25a5ac312f72dbec8669ab268 | fix: prevent crash on Windows when closing child windows (#49901)
* guard against window destruction in min/max size checks
* use weakptr to prevent hit test crash on teardown
* revove web contents views during teardown
* fix test failure
* fix other tests | [
{
"path": "shell/browser/api/electron_api_web_contents_view.cc",
"patch": "@@ -33,7 +33,7 @@ WebContentsView::WebContentsView(v8::Isolate* isolate,\n gin_helper::Handle<WebContents> web_contents)\n : View(web_contents->inspectable_web_contents()->GetView()),\n web_... | 2026-02-24T14:48:04 |
vercel/next.js | 4f693363363e06cb6f07de001beeb93687ec658e | 46789444d5b5089477d8704dba759ef5a1807242 | Support accessing root params in `generateStaticParams` (#91189)
A new `GenerateStaticParamsStore` work unit store type is now provided during `generateStaticParams` execution. This enables root param getters (`import { lang } from 'next/root-params'`) to be called inside `generateStaticParams`, allowing shared helper... | [
{
"path": "errors/next-dynamic-api-wrong-context.mdx",
"patch": "@@ -34,6 +34,12 @@ export async function GET() {\n }\n ```\n \n+## `generateStaticParams`\n+\n+Request-time APIs like `headers()`, `cookies()`, `connection()`, and `draftMode()` are not available inside `generateStaticParams` because it runs a... | 2026-03-16T14:44:53 |
nodejs/node | 6aa465c962e7c1541bbba54eb3f4caeb1170e1f5 | c2a035332f9a96565be207cd481818e3cc20ecd3 | doc: clarify EventEmitter error handling in threat model
Add documentation explaining that applications are expected to attach
'error' event handlers to EventEmitters that can emit errors, including
HTTP streams. Crashes resulting from missing error handlers are not
considered denial-of-service vulnerabilities in Node... | [
{
"path": "SECURITY.md",
"patch": "@@ -335,6 +335,18 @@ the community they pose.\n proper security boundaries between trusted application logic and untrusted\n user input.\n \n+#### Unhandled 'error' Events on EventEmitters (CWE-248)\n+\n+* EventEmitters that can emit `'error'` events require the applic... | 2026-02-07T23:03:34 |
rust-lang/rust | edb93228ce910aa1073c42d4ef4807c983968df1 | eb20cada00d0623dc0fd367e24f29384d29c472a | fix doc in rustc_attr_parsing::context | [
{
"path": "compiler/rustc_attr_parsing/src/context.rs",
"patch": "@@ -399,11 +399,11 @@ impl Stage for Late {\n }\n }\n \n-/// used when parsing attributes for miscellaneous things *before* ast lowering\n+/// Used when parsing attributes for miscellaneous things *before* ast lowering\n pub struct Early ... | 2026-04-02T13:52:23 |
electron/electron | fc3a0abf19b9bad25a5ac312f72dbec8669ab268 | fa2b9ac466a9a9556e7b8f2ce4ac568c8e0c1469 | build: fix roller branch detection in CI (#49920) | [
{
"path": "script/lint-roller-chromium-changes.mjs",
"patch": "@@ -14,6 +14,23 @@ const DEPS_REGEX = /chromium_version':\\n +'(.+?)',/m;\n const CL_REGEX = /https:\\/\\/chromium-review\\.googlesource\\.com\\/c\\/(?:chromium\\/src|v8\\/v8)\\/\\+\\/(\\d+)(#\\S+)?/g;\n const ROLLER_BRANCH_PATTERN = /^roller\\/... | 2026-02-24T02:10:22 |
facebook/react | eb89912ee5ace8bf8e616cca5a6aeebcd274b521 | 0972e23908b573faa5beebc0eb1154f792c53b62 | Add expertimental `optimisticKey` behind a flag (#35162)
When dealing with optimistic state, a common problem is not knowing the
id of the thing we're waiting on. Items in lists need keys (and single
items should often have keys too to reset their state). As a result you
have to generate fake keys. It's a pain to mana... | [
{
"path": "packages/react-client/src/__tests__/ReactFlight-test.js",
"patch": "@@ -3884,4 +3884,19 @@ describe('ReactFlight', () => {\n </main>,\n );\n });\n+\n+ // @gate enableOptimisticKey\n+ it('collapses optimistic keys to an optimistic key', async () => {\n+ function Bar({text}) {\n+ ... | 2025-11-18T21:29:18 |
rust-lang/rust | 69148fd1900f0d2cbbb02a8ffed38b4ad014565b | b3b29ede805f7865f4d1e48f01219cabbb0ede4b | add mgca fixme | [
{
"path": "compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs",
"patch": "@@ -1335,6 +1335,7 @@ where\n TypeFlags::HAS_PLACEHOLDER | TypeFlags::HAS_INFER | TypeFlags::HAS_ALIAS,\n ) =>\n {\n+ // FIXME(mgca): we should also check the recursion li... | 2026-04-02T10:33:14 |
nodejs/node | c2a035332f9a96565be207cd481818e3cc20ecd3 | 88760f9e8b917ae31454e45856e349489ccf9868 | test: print stack immediately avoiding GC interleaving
`require(mod)` does not keep the mod in require cache if
mod throws synchronously. This fixes the tests to print
the stack immediately in case that source map cache could
be cleaned up when the CJS module is reclaimed by GC in
the next event loop tick.
PR-URL: ht... | [
{
"path": "lib/internal/source_map/source_map_cache_map.js",
"patch": "@@ -13,6 +13,9 @@ const {\n source_map_data_private_symbol,\n },\n } = internalBinding('util');\n+let debug = require('internal/util/debuglog').debuglog('source_map', (fn) => {\n+ debug = fn;\n+});\n \n /**\n * Specialized map of... | 2026-02-07T22:14:40 |
vercel/next.js | 261922df82272dd44ec18f2042173b7797526fda | 742b186670001882fbe56cd1898befa14133149c | Show generated code from loaders in parse error messages (#89898)
## What?
When a webpack/turbopack loader produces broken code, error messages now
display **both** the original source and the generated code with source
map information, making it much easier to debug loader issues.
## Why?
Previously, when loaders ... | [
{
"path": "crates/next-core/src/next_image/source_asset.rs",
"patch": "@@ -1,8 +1,8 @@\n use std::io::Write;\n \n use anyhow::{Result, bail};\n-use turbo_rcstr::rcstr;\n-use turbo_tasks::{ResolvedVc, Vc};\n+use turbo_rcstr::{RcStr, rcstr};\n+use turbo_tasks::{ResolvedVc, ValueToString, Vc};\n use turbo_task... | 2026-03-16T12:41:29 |
electron/electron | fa2b9ac466a9a9556e7b8f2ce4ac568c8e0c1469 | 481e22499200f287825ebed4fa449bd39bd09641 | ci: fix checking latest release for website docs update (#49918) | [
{
"path": ".github/workflows/update-website-docs.yml",
"patch": "@@ -31,7 +31,7 @@ jobs:\n echo \"isLatestRelease=false\" >> $GITHUB_OUTPUT\n fi\n - name: Trigger website docs update\n- if: ${{ steps.check-if-latest-release.outputs.isLatestRelease }}\n+ if: ${{ step... | 2026-02-23T23:22:01 |
facebook/react | ea4899e13f9e29815321e3cac70fa08bb8ed790a | b946a249b560a2d3afe1a1c8553d5491b1767cb3 | [compiler][snap] Support pattern of files to test as CLI argument (#35148)
I've been trying out LLM agents for compiler development, and one thing
i found is that the agent naturally wants to run `yarn snap <pattern>`
to test a specific fixture, and I want to be able to tell it (directly
or in rules/skills) to do this... | [
{
"path": "compiler/packages/snap/src/fixture-utils.ts",
"patch": "@@ -44,6 +44,21 @@ function stripExtension(filename: string, extensions: Array<string>): string {\n return filename;\n }\n \n+/**\n+ * Strip all extensions from a filename\n+ * e.g., \"foo.expect.md\" -> \"foo\"\n+ */\n+function stripAllEx... | 2025-11-17T20:09:09 |
vercel/next.js | 742b186670001882fbe56cd1898befa14133149c | d9751eaa14fc764aadd3c58f2373998e567192bd | Ready in X - prints wrong timing on dev server restart (#90874)
### What?
Fixes the "Ready in" printout for the Next.js dev server after restarts.
### Why?
When the dev server restarts (e.g., due to `next.config` changes), the
"Ready in" time was incorrect, showing the total process uptime instead
of the actual start... | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -391,6 +391,10 @@ const nextDev = async (\n })\n }\n \n+ // Reset the start time so \"Ready in X\" reflects the restart\n+ // duration, not time since the original process started.\n+ process.env.NEX... | 2026-03-16T11:28:43 |
nodejs/node | 3ab9dd86e7df43d275c952b6a308d50519963c5f | 9bc369f2b44cbb2bbbda07be234ca632e84c3051 | src: consolidate C++ ReadFileSync/WriteFileSync utilities
This patch moves `ReadFileSync` and `WriteFileSync` from
`src/util.cc` to `src/node_file_utils.cc`, consolidates
the implementation to reuse code, and adds a few more
enhancements:
For `ReadFileSync`:
- Use fstat-based pre-allocation to minimize buffer resizi... | [
{
"path": "node.gyp",
"patch": "@@ -125,6 +125,7 @@\n 'src/node_errors.cc',\n 'src/node_external_reference.cc',\n 'src/node_file.cc',\n+ 'src/node_file_utils.cc',\n 'src/node_http_parser.cc',\n 'src/node_http2.cc',\n 'src/node_i18n.cc',",
"additions": 1,
"del... | 2026-02-03T20:10:23 |
golang/go | a8a0dc9ea2e8cd37f667614e1b9a6dd5fc0af040 | 29ada7aa481930fbddab626e0686f84c1fcd63a2 | net/http/internal/http2: make server write errors sticky
After encountering a write error on a server's connection,
remember the error and reuse it for future writes.
Fixes a rare flakiness in TestServerWriteByteTimeout,
where we can sometimes attempt to flush the write buffer
after encountering a write timeout.
Chan... | [
{
"path": "src/net/http/internal/http2/http2.go",
"patch": "@@ -258,6 +258,7 @@ type bufferedWriter struct {\n \tconn net.Conn // immutable\n \tbw *bufio.Writer // non-nil when data is buffered\n \tbyteTimeout time.Duration // immutable, WriteByteTimeout\n+\twerr error\n }\n \n f... | 2026-03-10T16:38:22 |
electron/electron | 90c9de70acc4dd36b2e5dc08c3730bbeca36ad45 | 9d0a0a54595a299328d4b54673f21e52cfcd1a34 | fix: updated Alt detection to explicitly exclude AltGraph/AltGr (#49778)
Updated Alt detection to explicitly exclude AltGraph/AltGr | [
{
"path": "shell/browser/ui/views/root_view.cc",
"patch": "@@ -9,6 +9,7 @@\n #include \"components/input/native_web_keyboard_event.h\"\n #include \"shell/browser/native_window.h\"\n #include \"shell/browser/ui/views/menu_bar.h\"\n+#include \"ui/events/keycodes/dom/keycode_converter.h\"\n #include \"ui/views... | 2026-02-23T18:00:27 |
facebook/react | b946a249b560a2d3afe1a1c8553d5491b1767cb3 | d6b1a0573b4c43e5222aee1de5b11a8e4b575c8e | [compiler] Improve setState-in-effects rule to account for ref-gated conditionals (#35147)
Conditionally calling setState in an effect is sometimes necessary, but
should generally follow the pattern of using a "previous vaue" ref to
manually compare and ensure that the setState is idempotent. See fixture
for an exampl... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/HIR/Environment.ts",
"patch": "@@ -672,9 +672,14 @@ export const EnvironmentConfigSchema = z.object({\n validateNoDynamicallyCreatedComponentsOrHooks: z.boolean().default(false),\n \n /**\n- * When enabled, allows setState calls in effects w... | 2025-11-17T20:07:43 |
vercel/next.js | d9751eaa14fc764aadd3c58f2373998e567192bd | 1ab534927b5e617454d34690861661411f27d6a5 | Turbopack: use ChunkGroupEntry::Shared, part 2 (#91279)
Followup to https://github.com/vercel/next.js/pull/90978, which fixed the `ChunkGroup`s passed to `.chunk_group()`, forgot to update the the module graph entry types, which didn't match up.
The `ChunkGroupEntry::Shared(ResolvedVc::upcast(*server_component))` on... | [
{
"path": "crates/next-api/src/app.rs",
"patch": "@@ -930,9 +930,7 @@ impl AppProject {\n .take(server_component_entries.len().saturating_sub(1))\n {\n let graph = SingleModuleGraph::new_with_entries_visited_intern(\n- ... | 2026-03-16T11:02:31 |
nodejs/node | 9bc369f2b44cbb2bbbda07be234ca632e84c3051 | 9afa802892c134d32211000e60f69c8db82b5e5c | doc: fix --inspect security warning section
PR-URL: https://github.com/nodejs/node/pull/61675
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> | [
{
"path": "doc/api/cli.md",
"patch": "@@ -1684,26 +1684,6 @@ When enabled, the parser will accept the following:\n All the above will expose your application to request smuggling\n or poisoning attack. Avoid using this option.\n \n-<!-- Anchor to make sure old links find a target -->\n-\n-<a id=\"inspector_... | 2026-02-06T22:37:55 |
golang/go | 26d5e160750b34a537cce0f1bfd47f663a110d27 | 6b7763407c83e9014c94997f1d454b175a6ea601 | runtime/cgo: clarify pinning requirement in Handle example
Add a comment to the void* example in the Handle documentation
highlighting that if the C code keeps the pointer after the call
returns, runtime.Pinner should be used to pin it.
The existing documentation already mentions this requirement in prose
(lines 69-7... | [
{
"path": "src/runtime/cgo/handle.go",
"patch": "@@ -97,6 +97,9 @@ import (\n //\tfunc main() {\n //\t\tval := \"hello Go\"\n //\t\th := cgo.NewHandle(val)\n+//\t\t// In this example, unsafe.Pointer(&h) is valid because myprint\n+//\t\t// does not keep a copy of the pointer. If the C code keeps the\n+//\t\t... | 2026-02-03T14:34:08 |
electron/electron | 9d0a0a54595a299328d4b54673f21e52cfcd1a34 | 19d0c072d5cbf1247efc5b838ead7f123d6a36a7 | fix: apply `zoomFactor` from `setWindowOpenHandler` to `window.open()` windows (#49886)
fix: apply zoomFactor from setWindowOpenHandler to window.open() windows | [
{
"path": "shell/browser/api/electron_api_web_contents.cc",
"patch": "@@ -4746,6 +4746,19 @@ gin_helper::Handle<WebContents> WebContents::CreateFromWebPreferences(\n existing_preferences->SetFromDictionary(web_preferences_dict);\n web_contents->SetBackgroundColor(\n existing_preference... | 2026-02-23T08:02:48 |
vercel/next.js | 909a9c9b18e31857259dc3d0e31cd75a34bccaa9 | 2e4f08ca0aa4a7f6fb1fc04bbc72e17713edfac4 | [test] Improve actions-tree-shaking tests (#91326)
1. Don't build twice for edge, patch source before building
2. Use the names for snapshots, as opposed to just a count that is impossible to debug. | [
{
"path": "test/production/app-dir/actions-tree-shaking/_testing/utils.ts",
"patch": "@@ -1,71 +1,89 @@\n-// @ts-ignore avoid ts errors during manual testing\n-import { type NextInstance } from 'e2e-utils'\n+import { nextTestSetup, type NextInstance } from 'e2e-utils'\n+\n+// This is from 'next/dist/build/w... | 2026-03-16T08:49:12 |
facebook/react | b315a0f7133a3251f72970d56c2ad454bdd47003 | 7df96b0c1a1a65c46130628899a2e2098e30cbfd | [compiler] Fix for destructuring with mixed declaration/reassignment (#35144)
Destructing statements that start off as declarations can end up
becoming reassignments if the variable is a scope declaration, so we
have existing logic to handle cases where some parts of a destructure
need to be converted into new locals,... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts",
"patch": "@@ -11,6 +11,7 @@ import {\n BasicBlock,\n BlockId,\n Instruction,\n+ InstructionKind,\n InstructionValue,\n makeInstructionId,\n Pattern,\n@@ -32,6 +33,32 @@ export function* eachInstructionLValue(\n yie... | 2025-11-17T19:34:49 |
nodejs/node | 102cdfe36bbbc59f1ec92e383b82cc2287943c67 | d8c00ad316e2ae25322b2f1c405a902384d2867d | test: fix case-insensitive path matching on Windows
On Windows, file paths are case-insensitive but string comparison is
case-sensitive. When the drive letter case differs between the computed
project root and the actual output (e.g., 'C:/' vs 'c:/'), the path
replacement in transformProjectRoot() would fail.
This fi... | [
{
"path": "test/common/assertSnapshot.js",
"patch": "@@ -64,12 +64,18 @@ function transformProjectRoot(replacement = '<project-root>') {\n const winPath = replaceWindowsPaths(projectRoot);\n // Handles URL encoded project root in file URL strings as well.\n const urlEncoded = pathToFileURL(projectRoot... | 2026-02-06T16:54:15 |
golang/go | 6b7763407c83e9014c94997f1d454b175a6ea601 | 3fc4af70d04682ab42744e4ce78f95025688996d | testing: recognize helper functions that use range-over-function
This assumes the current behavior of the gc compiler:
range functions use a suffix of -rangeNNNN.
Fixes #72794
Change-Id: I3c10c60829853cf2cb4c17a75f6243def0313ae9
Reviewed-on: https://go-review.googlesource.com/c/go/+/656775
LUCI-TryBot-Result: Go LUC... | [
{
"path": "src/testing/helper_test.go",
"patch": "@@ -85,6 +85,28 @@ func TestTBHelperParallel(t *testing.T) {\n \t}\n }\n \n+// Issue 72794.\n+func TestHelperRange(t *testing.T) {\n+\tif os.Getenv(\"GO_WANT_HELPER_PROCESS\") == \"1\" {\n+\t\trangeHelperHelper(t)\n+\t\treturn\n+\t}\n+\n+\tt.Parallel()\n+\n+... | 2025-03-11T17:10:57 |
rust-lang/rust | 3d55f38a7f40c71b07283efc204fa8c658d2201b | 80ad55752e5ae6c2d1bc143b819eb8d1c00167d1 | fix compilation of time/hermit.rs
https://github.com/rust-lang/rust/pull/154518 has broken compiling std for Hermit by unwrapping an `i32`.
This commit converts the `i32` to an `io::Result` before unwrapping. | [
{
"path": "library/std/src/sys/time/hermit.rs",
"patch": "@@ -1,12 +1,13 @@\n use hermit_abi::{self, CLOCK_MONOTONIC, CLOCK_REALTIME};\n \n use crate::io;\n+use crate::sys::cvt;\n use crate::sys::pal::time::Timespec;\n use crate::time::Duration;\n \n fn clock_gettime(clock: hermit_abi::clockid_t) -> Timespe... | 2026-04-02T08:37:15 |
electron/electron | 19d0c072d5cbf1247efc5b838ead7f123d6a36a7 | 2b80f4ccc9b5d500f318a989f9936e3e0f2060c4 | feat: lazy electron download (#49328)
* feat: lazy electron download
* better error messaging?
* add breaking changes script doc
* add binary download step to install instructions
* respect no binary env var | [
{
"path": "docs/breaking-changes.md",
"patch": "@@ -24,6 +24,35 @@ for more consistent output sizes.\n \n ## Planned Breaking API Changes (41.0)\n \n+### Behavior Changed: `electron` no longer downloads itself via `postinstall` script\n+\n+Previously, the `electron` npm package would download the Electron b... | 2026-02-20T20:35:38 |
facebook/react | fb2177c153353621c5e343b0386993e5084f641e | 647e13366cfacd4f922ef287cef7a14e4ee60f52 | [Flight] Fix pending chunks count for streams & async iterables in DEV (#35143)
In DEV, we need to prevent the response from being GC'd while there are
still pending chunks for ReadableSteams or pending results for
AsyncIterables.
Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com> | [
{
"path": "packages/react-client/src/ReactFlightClient.js",
"patch": "@@ -813,6 +813,12 @@ function createInitializedStreamChunk<\n value: T,\n controller: FlightStreamController,\n ): InitializedChunk<T> {\n+ if (__DEV__) {\n+ // Retain a strong reference to the Response while we wait for chunks.\n... | 2025-11-14T22:52:11 |
vercel/next.js | 2e4f08ca0aa4a7f6fb1fc04bbc72e17713edfac4 | 136b77e4d971de868b56066e714c1f187af6cb23 | fix(build): don't block SSG on telemetry flush, add persistence spans to trace-build (#91335)
### What?
Two fixes for the Turbopack build tracing introduced in #90397:
1. **Don't block SSG on Turbopack shutdown**: `workerMain()` no longer awaits the shutdown promise before returning. Trace event collection is de... | [
{
"path": "crates/next-napi-bindings/src/next_api/project.rs",
"patch": "@@ -2152,6 +2152,16 @@ pub fn project_compilation_events_subscribe(\n break;\n }\n }\n+ // Signal the JS side that the subscription has ended (e.g. after\n+ // project shutdown drops al... | 2026-03-16T06:42:17 |
nodejs/node | d8c00ad316e2ae25322b2f1c405a902384d2867d | 413dffc691eae3b63983415671cc236eb1705622 | net: defer synchronous destroy calls in internalConnect
Defer socket.destroy() calls in internalConnect and
internalConnectMultiple to the next tick. This ensures that error
handlers have a chance to be set up before errors are emitted,
particularly important when using http.request with a custom
lookup function that ... | [
{
"path": "lib/net.js",
"patch": "@@ -1125,7 +1125,7 @@ function internalConnect(\n err = checkBindError(err, localPort, self._handle);\n if (err) {\n const ex = new ExceptionWithHostPort(err, 'bind', localAddress, localPort);\n- self.destroy(ex);\n+ process.nextTick(emitErrorAndDest... | 2026-02-06T14:30:07 |
electron/electron | 2b80f4ccc9b5d500f318a989f9936e3e0f2060c4 | 5795689fd929b3c5c77a75e55c78e5c4e4de9cd3 | fix: prevent GBytes leak in GdkPixbufFromSkBitmap on Linux/GTK (#49863)
Inside gtk_util::GdkPixbufFromSkBitmap, g_bytes_new() was called
inline as an argument to gdk_pixbuf_new_from_bytes(), which per
GTK docs does not take ownership of the GBytes - it adds its own
internal reference. The caller's GBytes* was never st... | [
{
"path": "shell/browser/ui/gtk_util.cc",
"patch": "@@ -82,11 +82,13 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap) {\n constexpr GdkColorspace kColorspace = GDK_COLORSPACE_RGB;\n constexpr gboolean kHasAlpha = true;\n constexpr int kBitsPerSample = 8;\n- return gdk_pixbuf_new_from_bytes... | 2026-02-20T20:00:46 |
golang/go | 3fc4af70d04682ab42744e4ce78f95025688996d | c43088c7a6b58861078eb96617c7fc12764dbf76 | net/http: document which headers Request.Write handles specially
Document that Header values for Host, Content-Length,
Transfer-Encoding, and Trailer are not used by Write, as these
are derived from other Request fields. Also document that
User-Agent defaults to "Go-http-client/1.1" if not set in Header.
Fixes #68635... | [
{
"path": "src/net/http/request.go",
"patch": "@@ -558,6 +558,11 @@ const defaultUserAgent = \"Go-http-client/1.1\"\n // If Body is present, Content-Length is <= 0 and [Request.TransferEncoding]\n // hasn't been set to \"identity\", Write adds \"Transfer-Encoding:\n // chunked\" to the header. Body is close... | 2026-02-27T22:13:56 |
vercel/next.js | 4a99afc90f2afebbfe66afb932985029722b5846 | 0f599731b86e177508c9d28af7414e9d94a01193 | fix: test-cargo-unit CI job timing out since LTO was enabled (#91424)
## What
Fixes the `test cargo unit` CI job which has been consistently timing out (30 min) on canary since #91343 landed on Mar 14.
## Why
Two issues were contributing to the timeout:
1. **LTO on unit test binaries**: #91343 added `lto = "thin"`... | [
{
"path": ".github/workflows/build_and_test.yml",
"patch": "@@ -191,7 +191,7 @@ jobs:\n needsRust: 'yes'\n needsNextest: 'yes'\n skipNativeBuild: 'yes'\n- afterBuild: pnpm dlx turbo@${TURBO_VERSION} run test-cargo-unit\n+ afterBuild: pnpm dlx turbo@${TURBO_VERSION} run test-cargo... | 2026-03-15T22:07:00 |
facebook/react | 647e13366cfacd4f922ef287cef7a14e4ee60f52 | 19b769fa5f143f9c23424cd744d85e3742450235 | [compiler] fix bad rebase from sapling (#35145)
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/35145).
* #35144
* __->__ #35145 | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/new-mutability/error.todo-repro-destructure-from-prop-with-default-value.expect.md",
"patch": "@@ -1,43 +0,0 @@\n-\n-## Input\n-\n-```javascript\n-export function useFormatRelativeTime(opts = {}) {\n- const {timeZone, ... | 2025-11-14T22:50:38 |
nodejs/node | ae2ffce5f3d5ac5ad153d98839d5a19a70e073b2 | c74c73dd186e4ac078418d69424604c47129a8ce | repl: fix flaky test-repl-programmatic-history
The test was flaky because the FileHandle for the history file could
be garbage collected before being explicitly closed, causing
ERR_INVALID_STATE errors when the handle was already closed by the
GC finalizer.
This fix adds an explicit closeHandle() method to ReplHistor... | [
{
"path": "lib/internal/repl/history.js",
"patch": "@@ -58,6 +58,7 @@ const kResolveHistoryPath = Symbol('_kResolveHistoryPath');\n const kReplHistoryMessage = Symbol('_kReplHistoryMessage');\n const kFlushHistory = Symbol('_kFlushHistory');\n const kGetHistoryPath = Symbol('_kGetHistoryPath');\n+const kClo... | 2026-02-05T15:09:00 |
golang/go | 3d7681ebab6fca8f859d8fc7d6c02c90ef379c05 | a8f99ef1f6e550d5d73e9c8f792337ad001bdcf4 | cmd/link: fix macOS 13 build
Write our own load command for macOS builds,
to make sure we can put the versions in.
Builds on older macOS were seeing an LC_VERSION_MIN instead
and scribbling over fields that didn't exist.
Fixes #78070.
Change-Id: If338d0506b1156b133253e496f29818a29a22a91
Reviewed-on: https://go-revie... | [
{
"path": "src/cmd/link/internal/ld/macho.go",
"patch": "@@ -461,14 +461,9 @@ func (ctxt *Link) domacho() {\n \t\tif err != nil {\n \t\t\tExitf(\"%v\", err)\n \t\t}\n-\t\tif load != nil {\n-\t\t\tmachoPlatform = load.platform\n+\t\tif load != nil && load.platform != PLATFORM_MACOS {\n \t\t\tml := newMachoLo... | 2026-03-11T16:52:44 |
rust-lang/rust | c9d3a00cd1a0a445a4563fd2ff3a7677cc783e1d | 7e46c5f6fb87f8cf4353e058479cef15d1d952b4 | Revert "Fix: On wasm targets, call `panic_in_cleanup` if panic occurs in cleanup"
This reverts commit acbfd79acf662be04745dc0675558e75e0d30d87. | [
{
"path": "compiler/rustc_codegen_gcc/src/builder.rs",
"patch": "@@ -1656,10 +1656,6 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {\n unimplemented!();\n }\n \n- fn get_funclet_cleanuppad(&self, _funclet: &Funclet) -> RValue<'gcc> {\n- unimplemented!();\... | 2026-04-02T02:29:42 |
electron/electron | 5795689fd929b3c5c77a75e55c78e5c4e4de9cd3 | 3e58c6cb3adc2db649bf71e5347a00f73d6fa72d | fix: fullscreen restoration on Windows (#49872) | [
{
"path": "shell/browser/ui/win/electron_desktop_window_tree_host_win.cc",
"patch": "@@ -197,6 +197,14 @@ void ElectronDesktopWindowTreeHostWin::SetAllowScreenshots(bool allow) {\n UpdateAllowScreenshots();\n }\n \n+// Refs https://chromium-review.googlesource.com/c/chromium/src/+/7095963\n+// Chromium's ... | 2026-02-20T16:58:37 |
vercel/next.js | 2b4bde2ebbe8a6b6358b694428cc5c69cff69350 | 4cd8a9890f93d1b79856f9957dd3d3b20fdf1e00 | Enable thin LTO for release builds (#91343)
# What
Add `lto = "thin"` to the workspace-level `[profile.release]` in
`Cargo.toml`.
# Why
Thin LTO enables cross-crate optimization at link time, improving
runtime
performance of the final artifacts (next-napi-bindings native module,
turbopack-cli binary, and benchmarks... | [
{
"path": ".github/workflows/build_and_deploy.yml",
"patch": "@@ -21,7 +21,6 @@ env:\n NAPI_CLI_VERSION: 2.18.4\n TURBO_VERSION: 2.8.11\n NODE_LTS_VERSION: 20\n- CARGO_PROFILE_RELEASE_LTO: 'true'\n TURBO_TEAM: 'vercel'\n TURBO_CACHE: 'remote:rw'\n # Without this environment variable, rust-lld w... | 2026-03-14T18:49:43 |
golang/go | a8f99ef1f6e550d5d73e9c8f792337ad001bdcf4 | 96d6d38872a56eba26cd2e3dbd65bab138f9c599 | go/printer: use architecture-independent math for alignment decisions
The `exprList` function uses a geometric mean of expression sizes to
decide whether to break column alignment in composite literals.
Previously, this was computed using `math.Exp` and `math.Log`,
which are not guaranteed to produce bit-for-bit ident... | [
{
"path": "src/go/printer/math.go",
"patch": "@@ -0,0 +1,28 @@\n+// Copyright 2026 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package printer\n+\n+import \"math\"\n+\n+// log2ish returns a crude approx... | 2026-03-09T10:08:36 |
electron/electron | 3e58c6cb3adc2db649bf71e5347a00f73d6fa72d | ea89ba5b8d4c7ccbe4415f280c74120c8c56115a | fix: refresh menu item state on key equivalent dispatch (#49875) | [
{
"path": "shell/browser/ui/cocoa/electron_menu_controller.mm",
"patch": "@@ -258,7 +258,7 @@ - (void)addSeparatorToMenu:(NSMenu*)menu atIndex:(int)index {\n \n // Empties the source menu items to the destination.\n - (void)moveMenuItems:(NSMenu*)source to:(NSMenu*)destination {\n- const NSInteger count = ... | 2026-02-20T16:35:44 |
facebook/react | 19b769fa5f143f9c23424cd744d85e3742450235 | dbf2538355c288c984a58f4d417aff2396924882 | [compiler] Fix for inferring props-derived-value as mutable (#35140)
Fix for the repro from the previous PR. A `Capture x -> y` effect should
downgrade to `ImmutableCapture` when the source value is maybe-frozen.
MaybeFrozen represents the union of a frozen value with a non-frozen
value.
---
[//]: # (BEGIN SAPLING FO... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/Inference/InferMutationAliasingEffects.ts",
"patch": "@@ -954,6 +954,7 @@ function applyEffect(\n case ValueKind.Primitive: {\n break;\n }\n+ case ValueKind.MaybeFrozen:\n case ValueKind.Frozen: {\n ... | 2025-11-14T20:14:34 |
rust-lang/rust | 23b1e78028a57a55acffb93588dcba4cbf3457a3 | 3888a633b7d594dc77c63854daaa7ef5f754b7d4 | rustdoc: When collecting `Deref` impls with their targets, skip the negative ones
rustdoc assumed every `Deref` impl has an associated `Target` type,
but negative impls (e.g. `impl !Deref for T {}`) have none.
Skip them in both the trait-impl collection pass and the
HTML render pass to avoid panicking on the missing T... | [
{
"path": "src/librustdoc/html/render/mod.rs",
"patch": "@@ -1517,8 +1517,9 @@ fn render_assoc_items_inner(\n }\n \n if !traits.is_empty() {\n- let deref_impl =\n- traits.iter().find(|t| t.trait_did() == cx.tcx().lang_items().deref_trait());\n+ let deref_impl = traits.iter()... | 2026-03-26T22:05:05 |
nodejs/node | c6a89f953dc06f4638965581eb740292423d8c1e | 36ca6275c7a170b66baa00099fd88ecc6b48a724 | doc: fix grammatical error in README.md
Corrected wording for clarity in README.
PR-URL: https://github.com/nodejs/node/pull/61653
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "README.md",
"patch": "@@ -105,7 +105,7 @@ curl -fsLo \"/path/to/nodejs-keyring.kbx\" \"https://github.com/nodejs/release-keys\n ```\n \n Alternatively, you can import the releaser keys in your default keyring, see\n-[Release keys](#release-keys) for commands to how to do that.\n+[Release keys](#r... | 2026-02-05T13:11:25 |
vercel/next.js | 4cd8a9890f93d1b79856f9957dd3d3b20fdf1e00 | 83e47acd77eeae03aa251ce5ab2fe5323a4b8c42 | Turbopack: use keyed cell access for AsyncModulesInfo (#91305)
### What?
Switch `AsyncModulesInfo` to use `cell = "keyed"` and per-key access
(`is_async()`) instead of reading the full `FxHashSet` via `.await?`.
### Why?
`AsyncModulesInfo` is a large set that gets read from many call sites.
With the default cell, a... | [
{
"path": "turbopack/crates/turbopack-core/src/chunk/chunk_group.rs",
"patch": "@@ -81,7 +81,7 @@ pub async fn make_chunk_group(\n )\n .await?;\n \n- let async_modules_info = module_graph.async_module_info().await?;\n+ let async_module_info = module_graph.async_module_info();\n \n // Attac... | 2026-03-14T13:02:25 |
facebook/react | dbf2538355c288c984a58f4d417aff2396924882 | 21f282425c751ee7926416642a0aded88d218623 | [compiler] Repro for false positive mutation of a value derived from props (#35139)
Repro from the compiler WG (Thanks Cody!) of a case where the compiler
incorrectly thinks a value is mutable.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](h... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/new-mutability/error.todo-repro-destructure-from-prop-with-default-value.expect.md",
"patch": "@@ -0,0 +1,43 @@\n+\n+## Input\n+\n+```javascript\n+export function useFormatRelativeTime(opts = {}) {\n+ const {timeZone, ... | 2025-11-14T20:14:23 |
electron/electron | ea89ba5b8d4c7ccbe4415f280c74120c8c56115a | 5ddd8a020035970094df86efe8c266b3cca011ab | feat: Shadows and CSD for frameless windows on Wayland (#49295)
* fix window sizing and content sizing on Linux when CSD is in use
* fixed size constraints
* layout helper
* CSD shadows for frameless windows on Linux
* simplify min/max size calculation
* use base window size for min/max
* respect HasShadow opti... | [
{
"path": "filenames.gni",
"patch": "@@ -50,6 +50,8 @@ filenames = {\n \"shell/browser/ui/views/caption_button_placeholder_container.h\",\n \"shell/browser/ui/views/client_frame_view_linux.cc\",\n \"shell/browser/ui/views/client_frame_view_linux.h\",\n+ \"shell/browser/ui/views/linux_frame_la... | 2026-02-20T00:53:13 |
rust-lang/rust | 7199a0bb9a730d253542d50fcf91bfeedeb5531f | cf7da0b7277cad05b79f91b60c290aa08a17a6f0 | rustdoc: fix href of extern crates in search results | [
{
"path": "src/librustdoc/html/render/search_index.rs",
"patch": "@@ -13,6 +13,7 @@ use ::serde::{Deserialize, Serialize};\n use rustc_ast::join_path_syms;\n use rustc_data_structures::fx::{FxHashMap, FxHashSet, FxIndexMap};\n use rustc_data_structures::thin_vec::ThinVec;\n+use rustc_hir::def_id::LOCAL_CRAT... | 2026-04-01T20:12:16 |
nodejs/node | 87e8e8bbdec5f668f1499f92327caafd20e82187 | 8c323899ffd289465d838138c41be3e5d8e572e4 | test: fix flaky test-performance-eventloopdelay
The test was flaky because the histogram sampling might not have
completed before the assertions ran. By using setImmediate before
disabling the histogram and checking values, we give the event loop
a chance to record final samples on slower systems.
Also added an expli... | [
{
"path": "test/sequential/test-performance-eventloopdelay.js",
"patch": "@@ -64,42 +64,47 @@ const { sleep } = require('internal/util');\n if (--m > 0) {\n setTimeout(spinAWhile, common.platformTimeout(500));\n } else {\n- histogram.disable();\n- // The values are non-deterministic,... | 2026-02-05T08:28:56 |
golang/go | d3651c588846e1147e5a72f71c133dc8288e1e13 | 97d643045888d1af2004410365a00bafe1713f47 | runtime/poll: fix race condition in Window's SendFile
The destination of SendFile is a socket, which doesn't support file
offsets. There is no need to keep track of the file offset, and doing
so causes a race between SendFile and Read.
While here, make sure that SendFile tests do call poll.SendFile.
Fixes #78015
Cq... | [
{
"path": "src/internal/poll/sendfile_windows.go",
"patch": "@@ -68,8 +68,8 @@ func SendFile(fd *FD, src uintptr, size int64) (written int64, err error, handle\n \t\t\tchunkSize = size\n \t\t}\n \n-\t\tfd.setOffset(startpos + written)\n \t\tn, err := fd.execIO('w', func(o *operation) (uint32, error) {\n+\t\... | 2026-03-08T13:18:04 |
rust-lang/rust | 94e58c09796d793427079f639a5a576e47304479 | dadf2eef344d5124ee0671ce0b9e8ff65da72eb0 | fix fudging | [
{
"path": "compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs",
"patch": "@@ -215,6 +215,29 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n self.check_place_expr_if_unsized(fn_input_ty, arg_expr);\n }\n \n+ let formal_input_tys_ns;\n+ let formal_input_tys = if self.next_trait_solver() ... | 2025-12-16T14:14:29 |
golang/go | 97d643045888d1af2004410365a00bafe1713f47 | 45c6fb4b9bff9eaaaae000ff223452403b9def4e | cmd/compile: fix arm direct tail call
CL 752560 accidentally niled out the target symbol.
Re-initialize the target symbol field when doing a direct tail call.
Fixes #78053
Change-Id: I007471587a38077b52daa134640d09c7b8b6becb
Reviewed-on: https://go-review.googlesource.com/c/go/+/753840
Reviewed-by: Keith Randall <kh... | [
{
"path": "src/cmd/internal/obj/arm/obj5.go",
"patch": "@@ -367,6 +367,8 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {\n \t\t\t\t\tp.From = obj.Addr{}\n \t\t\t\t\tif retSym != nil { // retjmp\n \t\t\t\t\t\tp.To.Type = obj.TYPE_BRANCH\n+\t\t\t\t\t\tp.To.Name = obj.NAME_EXTERN\... | 2026-03-10T21:02:13 |
electron/electron | 491fa0442b1dd7f2296035512a9c90f0a20b3f45 | b508510cab6d19b06c50b6fe16644cfc054c4ce2 | fix: rgbaf16 shared texture remove keyed mutex. (#49798)
* fix: rgbaf16 shared texture remove keyed mutex.
* fix: rgbaf16 patch.
* 更新 shared-texture-handle.md
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
---------
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> | [
{
"path": "docs/api/structures/shared-texture-handle.md",
"patch": "@@ -1,6 +1,6 @@\n # SharedTextureHandle Object\n \n-* `ntHandle` Buffer (optional) _Windows_ - NT HANDLE holds the shared texture. Note that this NT HANDLE is local to current process.\n+* `ntHandle` Buffer (optional) _Windows_ - NT HANDLE ... | 2026-02-19T16:28:53 |
facebook/react | 21f282425c751ee7926416642a0aded88d218623 | 257b033fc7b0518e7b1db32ca24e2354933b9d0e | [compiler] Allow ref access in callbacks passed to event handler props (#35062)
## Summary
Fixes #35040. The React compiler incorrectly flags ref access within
event handlers as ref access at render time. For example, this code
would fail to compile with error "Cannot access refs during render":
```tsx
const onSub... | [
{
"path": "compiler/packages/babel-plugin-react-compiler/src/HIR/Environment.ts",
"patch": "@@ -677,6 +677,15 @@ export const EnvironmentConfigSchema = z.object({\n * from refs need to be stored in state during mount.\n */\n enableAllowSetStateFromRefsInEffects: z.boolean().default(true),\n+\n+ /**... | 2025-11-14T17:00:33 |
vercel/next.js | 83e47acd77eeae03aa251ce5ab2fe5323a4b8c42 | 855f0a3f5251fc46796bbeeb7dd30b6f264d1f6b | Simplify scroll restoration with shared ScrollRef on CacheNode (#91348)
Replaces the segment-path-matching scroll system with a simpler model
based on a shared mutable ScrollRef on CacheNode.
The old system accumulated segment paths during navigation and matched
them in layout-router to decide which segments should s... | [
{
"path": "packages/next/src/client/app-dir/link.tsx",
"patch": "@@ -8,6 +8,7 @@ import { useMergedRef } from '../use-merged-ref'\n import { isAbsoluteUrl } from '../../shared/lib/utils'\n import { addBasePath } from '../add-base-path'\n import { warnOnce } from '../../shared/lib/utils/warn-once'\n+import {... | 2026-03-14T12:38:36 |
Subsets and Splits
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.