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 |
|---|---|---|---|---|---|
vercel/next.js | dd958a13ab4a5f972be4b25be20030958d338346 | 1f941656ce10b6c5a3a5b778c3d0ede742a660e5 | [error-overlay] remove footer message (#80169) | [
{
"path": "packages/next/src/client/components/react-dev-overlay/ui/components/errors/error-overlay-footer/error-overlay-footer.tsx",
"patch": "@@ -3,18 +3,11 @@ import { styles as feedbackStyles } from './error-feedback/error-feedback'\n \n export type ErrorOverlayFooterProps = {\n errorCode: string | un... | 2025-06-05T11:58:07 |
electron/electron | 74d59af3c5ce9400342fe4487063a413e97578f1 | c09c94fc98f261dce4a35847e2dd9699dcd5213e | fix: Handle an electron.d.ts file in a custom build (#33979)
* Handle an electron.d.ts file in a custom build
* Fix linter issues
Co-authored-by: Felix Rieseberg <felixr@stripe.com> | [
{
"path": "npm/install.js",
"patch": "@@ -70,8 +70,30 @@ function isInstalled () {\n \n // unzips and makes path.txt point at the correct executable\n function extractFile (zipPath) {\n- return extract(zipPath, { dir: path.join(__dirname, 'dist') })\n- .then(() => fs.promises.writeFile(path.join(__dirna... | 2022-09-26T18:39:26 |
facebook/react | 4bfcd02b2cebcb390f5aff0d7747c60a55012d5d | 4cd7065665ea2cf33c306265c8d817904bb401ca | Fix Suspense throttling mechanism (#26802)
The throttling mechanism for fallbacks should apply to both their
appearance _and_ disappearance.
This was mostly addressed by #26611. See that PR for additional context.
However, a flaw in the implementation is that we only update the the
timestamp used for throttlin... | [
{
"path": "packages/react-reconciler/src/ReactFiberCommitWork.js",
"patch": "@@ -55,6 +55,7 @@ import {\n enableLegacyHidden,\n enableHostSingletons,\n diffInCommitPhase,\n+ alwaysThrottleRetries,\n } from 'shared/ReactFeatureFlags';\n import {\n FunctionComponent,\n@@ -2905,17 +2906,35 @@ function... | 2023-05-16T19:03:30 |
rust-lang/rust | c943cd9b8cd07b06d8be37e9c309fb3c96f6d795 | 15a1e9bfe6cd994b154289050ad211e79784b081 | fix redirects | [
{
"path": "src/doc/rustc-dev-guide/book.toml",
"patch": "@@ -58,38 +58,38 @@ warning-policy = \"error\"\n \n [output.html.redirect]\n \"/borrow_check.html\" = \"borrow-check.html\"\n-\"/borrow_check/drop_check.html\" = \"borrow-check/drop-check.html\"\n-\"/borrow_check/moves_and_initialization.html\" = \"bo... | 2026-01-29T18:43:03 |
golang/go | 279da965329a74cd75320f15cb9672a282690ab7 | fcdf444924dcd5dc2fb9e3044e32072460e7c374 | runtime: add some linknames back for `github.com/bytedance/sonic`
Add some linknames back, therefore sonic (github.com/bytedance/sonic) can work correctly.
Fixes #71672
Change-Id: Iae86c837d8a714855106a26766aa08b128e17e58
GitHub-Last-Rev: 4de0a4871766f9e7763394fdcdcaa9d683e97987
GitHub-Pull-Request: golang/go#71673
... | [
{
"path": "src/runtime/stubs.go",
"patch": "@@ -312,6 +312,16 @@ func asmcgocall(fn, arg unsafe.Pointer) int32\n \n func morestack()\n \n+// morestack_noctxt should be an internal detail,\n+// but widely used packages access it using linkname.\n+// Notable members of the hall of shame include:\n+// - gith... | 2025-02-18T18:01:45 |
electron/electron | c09c94fc98f261dce4a35847e2dd9699dcd5213e | 697a219bcb7bc520bdf2d39a76387e2f99869a2a | feat: add WebContents.opener and webContents.fromFrame() (#35140)
* feat: add WebContents.opener
* feat: add webContents.fromFrame(frame)
* fix: unknown type name
* test: fix and add more fromFrame cases
* docs: clarified terminology | [
{
"path": "docs/api/web-contents.md",
"patch": "@@ -45,6 +45,13 @@ returns `null`.\n Returns `WebContents` | undefined - A WebContents instance with the given ID, or\n `undefined` if there is no WebContents associated with the given ID.\n \n+### `webContents.fromFrame(frame)`\n+\n+* `frame` WebFrameMain\n+\... | 2022-09-26T16:37:08 |
facebook/react | 8bf1ec97a40e04a95dcc9bb1a576e707d8c585db | f57ed15a332b8963775351359153d8059c26d0ce | Add flag back for inlineUseMemo
Reverts #1502, but flips test flags (e.g. `inlineUseMemo` by default, unless a
test specifies `@inlineUseMemo false`. I figured this add less thrash for test
fixtures, but happy to just do a clean revert (or remove the pragma altogether
and always pass `inlineUseMemo: true`) | [
{
"path": "compiler/forget/src/CompilerPipeline.ts",
"patch": "@@ -66,8 +66,10 @@ export function* run(\n const hir = lower(func, env).unwrap();\n yield log({ kind: \"hir\", name: \"HIR\", value: hir });\n \n- inlineUseMemo(hir);\n- yield log({ kind: \"hir\", name: \"RewriteUseMemo\", value: hir });\n... | 2023-05-15T18:27:26 |
rust-lang/rust | 959595fb45ac706b1a2c4e7774f69d18ae6441f3 | 370143facfb348ad3b29749c0393402d76b280c3 | Fix typo for Maybe dangling docs
Boxe's -> Box's | [
{
"path": "library/core/src/mem/maybe_dangling.rs",
"patch": "@@ -29,7 +29,7 @@ use crate::{mem, ptr};\n /// mem::forget(boxed); // <-- this is UB!\n /// ```\n ///\n-/// Even though the `Box`e's destructor is not run (and thus we don't have a double free bug), this\n+/// Even though the `Box`'s destructor i... | 2026-01-29T18:26:06 |
golang/go | fcdf444924dcd5dc2fb9e3044e32072460e7c374 | ad8b33002bb5cb0c910694339e1cc6c75f781c5a | os: document that OpenRoot follows symlinks
OpenRoot is expected to be called with a trusted path,
and does not attempt to defend against symlinks in that path.
Fixes #71806
Change-Id: Ib8b2e123e323d22d5c23ed9f711d21995139a7ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/650355
Auto-Submit: Damien Neil <dn... | [
{
"path": "src/os/root.go",
"patch": "@@ -76,6 +76,7 @@ const (\n )\n \n // OpenRoot opens the named directory.\n+// It follows symbolic links in the directory name.\n // If there is an error, it will be of type *PathError.\n func OpenRoot(name string) (*Root, error) {\n \ttestlog.Open(name)",
"addition... | 2025-02-18T17:36:14 |
vercel/next.js | 1f941656ce10b6c5a3a5b778c3d0ede742a660e5 | e274d697ad96b9158633f0bbe37ca3c5ab25d91b | [turbopack] Remove uses of `Value<ReferenceType>` by making `ReferenceType` a TaskInput (#80130)
Remove `Value::new` wrapper for `ReferenceType` parameters
### Why?
The `Value<>` type is confusing and error prone, lets destroy it!
As discussed over slack, `turbo_tasks::Value` type always implements `is_resolved` as... | [
{
"path": "crates/next-api/src/instrumentation.rs",
"patch": "@@ -75,7 +75,7 @@ impl InstrumentationEndpoint {\n .asset_context\n .process(\n *self.source,\n- Value::new(ReferenceType::Entry(EntryReferenceSubType::Instrumentation)),\n+ Re... | 2025-06-05T09:11:31 |
nodejs/node | b6d162e0c46fb9090249070f1d812e5684f714f0 | f202322ea46e58baf1b3d064d075b65a591a94e9 | test: crypto-rsa-dsa testing for dynamic openssl
Fixes: https://github.com/nodejs/node/issues/52537
Signed-off-by: Michael Dawson <midawson@redhat.com>
PR-URL: https://github.com/nodejs/node/pull/52781
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-crypto-rsa-dsa.js",
"patch": "@@ -223,8 +223,6 @@ function test_rsa(padding, encryptOaepHash, decryptOaepHash) {\n \n \n if (padding === constants.RSA_PKCS1_PADDING) {\n- // TODO(richardlau): see if it's possible to determine implicit rejection\n- // support when dynami... | 2024-05-01T16:39:34 |
facebook/react | f57ed15a332b8963775351359153d8059c26d0ce | 41a897797d92d1e5d43826da8340495b347f2f4f | [Babel] Log errors to stdout, not stderr
Writing to stderr causes buck to fail compilation.. which is not we want. Let's
log to stdout only for now. | [
{
"path": "compiler/forget/src/Babel/BabelPlugin.ts",
"patch": "@@ -109,7 +109,7 @@ export default function ReactForgetBabelPlugin(\n ) {\n throw err;\n } else {\n- console.error(formatErrorsForConsole(err, pass.filename ?? null));\n+ console.log(formatErrorsForConsole(err,... | 2023-05-15T13:45:26 |
electron/electron | f8077cc0041bd1779e750fceaf7758e87de0d7c9 | e0b4c485febc721317635da5eb280c8a8a228a40 | build: fix major dependencies update workflow file (#35811) | [
{
"path": ".github/workflows/release_dependency_versions.yml",
"patch": "@@ -20,7 +20,7 @@ jobs:\n trigger:\n runs-on: ubuntu-latest\n needs: check_tag\n- if: jobs.check_tag.outputs.should_release == 'true'\n+ if: needs.check_tag.outputs.should_release == 'true'\n steps:\n - uses: ... | 2022-09-26T14:15:37 |
golang/go | ad8b33002bb5cb0c910694339e1cc6c75f781c5a | 0bdc792145acaf10c5f7bac1783a6692fb327dfb | syscall: disable O_DIRECTORY on Windows for js/wasm
O_DIRECTORY is not available on all platforms, as described at
https://nodejs.org/docs/latest/api/fs.html#file-open-constants .
On Windows, only O_APPEND, O_CREAT, O_EXCL, O_RDONLY, O_RDWR,
O_TRUNC, O_WRONLY, and UV_FS_O_FILEMAP are available.
Fixes #71758
Change... | [
{
"path": "src/syscall/fs_js.go",
"patch": "@@ -23,15 +23,26 @@ var constants = jsFS.Get(\"constants\")\n var uint8Array = js.Global().Get(\"Uint8Array\")\n \n var (\n-\tnodeWRONLY = constants.Get(\"O_WRONLY\").Int()\n-\tnodeRDWR = constants.Get(\"O_RDWR\").Int()\n-\tnodeCREATE = constants.Get(\"... | 2025-02-18T15:21:23 |
nodejs/node | f202322ea46e58baf1b3d064d075b65a591a94e9 | 75884678d7e7ef228c8f8f82b4c085258c70a823 | fs: adjust typecheck for `type` in `fs.symlink()`
Throws `TypeError` instead of `Error`
Enables autodetection on Windows if `type === undefined`
Explicitly disallows unknown strings and non-string values
PR-URL: https://github.com/nodejs/node/pull/49741
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Rev... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1377,13 +1377,6 @@ Path is a directory.\n An attempt has been made to read a file whose size is larger than the maximum\n allowed size for a `Buffer`.\n \n-<a id=\"ERR_FS_INVALID_SYMLINK_TYPE\"></a>\n-\n-### `ERR_FS_INVALID_SYMLINK_TYPE`\n-\n-An invalid symlink t... | 2024-05-06T13:18:42 |
facebook/react | 41a897797d92d1e5d43826da8340495b347f2f4f | 5c8195aec7d16e19eed6d83f61f7d3acdd79db35 | [Babel] Format errors for console logging | [
{
"path": "compiler/forget/src/Babel/BabelPlugin.ts",
"patch": "@@ -25,6 +25,7 @@ import {\n \n type BabelPluginPass = {\n opts: PluginOptions;\n+ filename: string | null;\n };\n \n function hasUseForgetDirective(directive: t.Directive): boolean {\n@@ -108,7 +109,7 @@ export default function ReactForgetB... | 2023-05-15T13:45:26 |
vercel/next.js | e6e002d92c249f15aeb244d0abd162b7459aa190 | 46fa52c54641a94b9ae9fbaebdb9346b2816c3af | [turbopack] Remove uses of `Value<ClientContextType>` by making `ClientContextType` a TaskInput (#80127)
Refactor ClientContextType to use TaskInput instead of Value wrapper
### Why?
The `Value<>` type is confusing and error prone, lets destroy it!
As discussed over slack, `turbo_tasks::Value` type always implements... | [
{
"path": "crates/next-api/src/app.rs",
"patch": "@@ -207,7 +207,7 @@ impl AppProject {\n self.project().project_path(),\n self.project().execution_context(),\n self.project().client_compile_time_info().environment(),\n- Value::new(self.client_ty().owned().awai... | 2025-06-05T07:23:09 |
electron/electron | 7d96321786d72563c034b9f905c8b7195e26bb8e | 39d79c5c28fb03f6730b4aca6aa65a1e140219e3 | docs: minor grammar fixes in tutorial (#35804) | [
{
"path": "docs/tutorial/tutorial-2-first-app.md",
"patch": "@@ -186,7 +186,7 @@ by creating a barebones web page in an `index.html` file in the root folder of y\n ```\n \n Now that you have a web page, you can load it into an Electron [BrowserWindow][browser-window].\n-Replace the contents your `main.js` f... | 2022-09-26T08:53:08 |
golang/go | 43d8b1e8fed9be5f61f864e0b185e918e3fadf2c | 896de17f8069626f8e52b662c0d5a46ee9cac699 | os: deal with chmod error for TestRootConsistencyChmod
Previously the error returned by chmod has not actually been used.
Change-Id: I97c947a2278a084c58784fd100630ce2a54bfb03
GitHub-Last-Rev: ddc60a044f641d264c9ee88d87b2da7e2f766741
GitHub-Pull-Request: golang/go#71744
Reviewed-on: https://go-review.googlesource.com/... | [
{
"path": "src/os/root_test.go",
"patch": "@@ -928,12 +928,16 @@ func TestRootConsistencyChmod(t *testing.T) {\n \t\t\t}\n \n \t\t\tvar m1, m2 os.FileMode\n-\t\t\terr := chmod(path, 0o555)\n+\t\t\tif err := chmod(path, 0o555); err != nil {\n+\t\t\t\treturn \"chmod 0o555\", err\n+\t\t\t}\n \t\t\tfi, err := l... | 2025-02-17T11:45:51 |
facebook/react | 5c8195aec7d16e19eed6d83f61f7d3acdd79db35 | dda3e61347fde65b62ed2b17ead463685cb35814 | [prettier] Fix linting | [
{
"path": "compiler/forget/src/ReactiveScopes/PropagateScopeDependencies.ts",
"patch": "@@ -538,12 +538,15 @@ class PropagationVisitor extends ReactiveFunctionVisitor<Context> {\n id,\n scope: context.currentScope,\n });\n- } else if (value.kind === \"DeclareLocal\" || value.kind ==... | 2023-05-15T13:43:39 |
nodejs/node | dc379626ab0486a63f20dd98d0651918a918fc76 | b5cae4fea6a662027c483d2e7584304df87be708 | util: move util.isError to eol
PR-URL: https://github.com/nodejs/node/pull/52744
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Ulises G... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -1077,6 +1077,9 @@ The `util.isDate()` API has been removed. Please use\n \n <!-- YAML\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/52744\n+ description: End-of-Life deprecation.\n - version: v22.0.0\n pr-url... | 2024-04-29T09:22:43 |
vercel/next.js | e9f70d0fdb67f9a024c84a2a542684c72be8e12c | e2ba7905bd0e3891c804dd9d7d347f808b480e17 | docs: fix grammar in Code of Conduct section ('them' → 'it') (#80181)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
-... | [
{
"path": "packages/next/README.md",
"patch": "@@ -31,7 +31,7 @@ The Next.js community can be found on [GitHub Discussions](https://github.com/ve\n \n To chat with other community members you can join the Next.js [Discord](https://nextjs.org/discord) server.\n \n-Do note that our [Code of Conduct](https://g... | 2025-06-05T06:41:56 |
golang/go | 896de17f8069626f8e52b662c0d5a46ee9cac699 | a73c6545d27afaad631ba2f5c593ab3a97d11bdc | cmd/cgo: explicitly use void for functions with no parameters
Currently, exported Go functions with no parameters generate C functions
with an empty parameter list. In C, a function with an empty parameter
list can accept any number of arguments, whereas a function with a single
void parameter explicitly declares that... | [
{
"path": "src/cmd/cgo/internal/testcshared/cshared_test.go",
"patch": "@@ -880,3 +880,44 @@ func TestIssue36233(t *testing.T) {\n \t\tt.Error(\"missing functions\")\n \t}\n }\n+\n+func TestIssue68411(t *testing.T) {\n+\tglobalSkip(t)\n+\ttestenv.MustHaveCGO(t)\n+\n+\tt.Parallel()\n+\n+\t// Test that the ex... | 2025-02-17T13:57:12 |
facebook/react | 4cd7065665ea2cf33c306265c8d817904bb401ca | a389046a529c6d22ba5895dd7f5d4b0b8d17c345 | Fix uSES hydration in strict mode (#26791)
Previously, we'd call and use getSnapshot on the second render resulting
in `Warning: Text content did not match. Server: "Nay!" Client: "Yay!"`
and then `Error: Text content does not match server-rendered HTML.`.
Fixes #26095. Closes #26113. Closes #25650.
---------
... | [
{
"path": "packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js",
"patch": "@@ -20,6 +20,7 @@ let JSDOM;\n let Stream;\n let Scheduler;\n let React;\n+let ReactDOM;\n let ReactDOMClient;\n let ReactDOMFizzServer;\n let Suspense;\n@@ -73,6 +74,7 @@ describe('ReactDOMFizzServer', () => {\n \n Sched... | 2023-05-12T21:18:03 |
vercel/next.js | e2ba7905bd0e3891c804dd9d7d347f808b480e17 | d31de7732fbe6f27cf5c7afc485d2bb6dd9c8379 | small typo fix (#80171)
`metadat` -> `metadata`
Co-authored-by: JJ Kasper <jj@jjsweb.site> | [
{
"path": "docs/01-app/05-api-reference/04-functions/generate-metadata.mdx",
"patch": "@@ -102,7 +102,7 @@ export default function Page({ params, searchParams }) {}\n > - The `metadata` object and `generateMetadata` function exports are **only supported in Server Components**.\n > - You cannot export both t... | 2025-06-05T06:41:25 |
nodejs/node | bc39796b06d1713a1347807ad60493a19844bfdb | c7e42092f34f019fa0c4d9a2d0d49719af2f5daa | doc: make docs more welcoming and descriptive for newcomers
Fixes: https://github.com/nodejs/node/issues/26287
PR-URL: https://github.com/nodejs/node/pull/38056
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> | [
{
"path": "CONTRIBUTING.md",
"patch": "@@ -1,5 +1,21 @@\n # Contributing to Node.js\n \n+Contributions to Node.js include code, documentation, answering user questions,\n+running the project's infrastructure, and advocating for all types of Node.js\n+users.\n+\n+The Node.js project welcomes all contribution... | 2024-05-05T22:07:10 |
facebook/react | dda3e61347fde65b62ed2b17ead463685cb35814 | fe95b5df903903da6b372dcc2fd43f842ab3226d | [test cases] Add failing / bug tests for destructuring assignment | [
{
"path": "compiler/forget/src/__tests__/fixtures/compiler/_bug.destructure-assignment-to-global.expect.md",
"patch": "@@ -0,0 +1,29 @@\n+\n+## Input\n+\n+```javascript\n+function useFoo(props) {\n+ [x] = props;\n+ return { x };\n+}\n+\n+```\n+\n+## Code\n+\n+```javascript\n+import { unstable_useMemoCache... | 2023-05-12T16:48:18 |
golang/go | 81c66e71d480ae2372b7eea4bcdf600b50fdd5e1 | d524e1eccd559b40130c3bac77f3f7dc33d476ab | runtime: check LSE support on ARM64 at runtime init
Check presence of LSE support on ARM64 chip if we targeted it at compile
time.
Related to #69124
Updates #60905
Fixes #71411
Change-Id: I65e899a28ff64a390182572c0c353aa5931fc85d
Reviewed-on: https://go-review.googlesource.com/c/go/+/645795
Reviewed-by: Cherry Mui <... | [
{
"path": "src/runtime/asm_arm64.s",
"patch": "@@ -8,6 +8,28 @@\n #include \"funcdata.h\"\n #include \"textflag.h\"\n \n+#ifdef GOARM64_LSE\n+DATA no_lse_msg<>+0x00(SB)/64, $\"This program can only run on ARM64 processors with LSE support.\\n\"\n+GLOBL no_lse_msg<>(SB), RODATA, $64\n+#endif\n+\n+// We know ... | 2025-01-31T13:59:02 |
vercel/next.js | a094280865ffbd6acffe4fb84db7eb9590b16241 | caa54e46b0ff96077529b037f294a1ab1091890c | remove unique metadata prop from initial RSC payload (#79388)
This value is used as a key to re-mount `head` on subsequent client
navigations, but as far as I can tell, it's not needed for the initial
RSC payload that seeds these pages.
In its current form, these random IDs get serialized as part of the RSC
payload, ... | [
{
"path": "packages/next/src/server/app-render/app-render.tsx",
"patch": "@@ -521,7 +521,6 @@ async function generateDynamicRSCPayload(\n />\n {/* Adding requestId as react key to make metadata remount for each render */}\n <ViewportTree key={getFlightViewportKey(requestI... | 2025-06-04T23:31:58 |
nodejs/node | c7e42092f34f019fa0c4d9a2d0d49719af2f5daa | c6f8e1874190203d779c0c49d34ac43f0e0b0b59 | build: compile with C++20 support
Closes: https://github.com/nodejs/node/issues/45402
PR-URL: https://github.com/nodejs/node/pull/45427
Fixes: https://github.com/nodejs/node/issues/45402
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Steven R Loomis <srl295@gmail.com>
Reviewed-By: Tobias Nießen <tniess... | [
{
"path": "common.gypi",
"patch": "@@ -470,7 +470,7 @@\n }],\n [ 'OS in \"linux freebsd openbsd solaris android aix os400 cloudabi\"', {\n 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],\n- 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++17' ],\n+ 'cfl... | 2024-05-05T14:44:02 |
facebook/react | 67a05d03e38b9837e27c9fe0a673557e63ff03c5 | df12d7eac40c87bd5fdde0aa5a739bce9e7dce27 | fix[devtools]: fixed duplicated backend activation with multiple renderers (#26807)
## Summary
Initially reported in https://github.com/facebook/react/issues/26797.
Was not able to reproduce the exact same problem, but found this case:
1. Open corresponding codepen from the issue in debug mode
2. Open components... | [
{
"path": "packages/react-devtools-extensions/src/backend.js",
"patch": "@@ -29,5 +29,6 @@ function setup(hook: ?DevToolsHook) {\n initBackend,\n setupNativeStyleEditor,\n });\n+\n hook.emit('devtools-backend-installed', COMPACT_VERSION_NAME);\n }",
"additions": 1,
"deletions": 0,
"l... | 2023-05-12T13:59:53 |
golang/go | d5b75e40462c2b357df96de3083705d8ea4c8954 | b38415d7e9abad2a8255c6b527ab7a033851c5f2 | runtime/maps: fix typo in group.go comment (H1 -> H2)
Fixes a typo to correctly describe the hash bits of the control word.
Change-Id: Id3c2ae0bd529e579a95258845f9d8028e23d10d2
GitHub-Last-Rev: 1baa81be5d292d5625d5d7788b8ea090453f962c
GitHub-Pull-Request: golang/go#71730
Reviewed-on: https://go-review.googlesource.co... | [
{
"path": "src/internal/runtime/maps/group.go",
"patch": "@@ -111,7 +111,7 @@ func bitsetShiftOutLowest(b bitset) bitset {\n //\n //\t empty: 1 0 0 0 0 0 0 0\n //\tdeleted: 1 1 1 1 1 1 1 0\n-//\t full: 0 h h h h h h h // h represents the H1 hash bits\n+//\t full: 0 h h h h h h h // h represents the H... | 2025-02-14T12:03:06 |
vercel/next.js | 61729da4e7721566b9a53f28463e9ec7332de428 | 69ded21f6cd69600ea5dd86a5948de2df693becb | [metadata] fix nonce prop for hoist script (#80174)
### What
Only render `nonce` prop on icon hoist script when it's presented | [
{
"path": "packages/next/src/server/app-render/metadata-insertion/create-server-inserted-metadata.tsx",
"patch": "@@ -15,6 +15,6 @@ export function createServerInsertedMetadata(nonce: string | undefined) {\n }\n \n inserted = true\n- return `<script nonce=\"${nonce}\">${REINSERT_ICON_SCRIPT}</scr... | 2025-06-04T20:01:58 |
electron/electron | f62aab76b352fc6a34834d0b2f315200d2dcb31e | 324db14969c74461b849ba02c66af387c0d70d49 | fix: potential exception when calling webFrameMainBinding.fromIdOrNull() (#35785)
* fix: potential exception when calling webFrameMainBinding.fromIdOrNull()
* replace try/catch in getWebFrameForEvent
Co-authored-by: Milan Burda <miburda@microsoft.com> | [
{
"path": "lib/browser/api/web-contents.ts",
"patch": "@@ -537,6 +537,11 @@ const addReturnValueToEvent = (event: Electron.IpcMainEvent) => {\n });\n };\n \n+const getWebFrameForEvent = (event: Electron.IpcMainEvent | Electron.IpcMainInvokeEvent) => {\n+ if (!event.processId || !event.frameId) return nul... | 2022-09-24T19:19:07 |
nodejs/node | c6f8e1874190203d779c0c49d34ac43f0e0b0b59 | 38ef4e5c592843094d11eeea42af27c7bd9cce5f | tools: specify a commit-message for V8 update workflow
PR-URL: https://github.com/nodejs/node/pull/52844
Fixes: https://github.com/nodejs/node/issues/50497
Refs: https://github.com/gr2m/create-or-update-pull-request-action/issues/280
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@red... | [
{
"path": ".github/workflows/update-v8.yml",
"patch": "@@ -50,6 +50,7 @@ jobs:\n author: Node.js GitHub Bot <github-bot@iojs.org>\n body: This is an automated patch update of V8 to ${{ env.NEW_VERSION }}.\n branch: actions/update-v8-patch # Custom branch *just* for this Action... | 2024-05-05T14:09:27 |
facebook/react | f5bdf462b2385add21a6d042c13a9b10919c2c9e | e649bf6429206a0f5bc865373648861849a6ff0e | Enable hooks validation on playground, make deguggable
Enables hooks validation in playground. Also adds a tab to show the output of
validation (in case it passes) with the inferred post dominator tree. We can use
this to debug the dominator in case of false negatives.
<img width="1724" alt="Screenshot 2023-05-11... | [
{
"path": "compiler/forget/packages/playground/components/Editor/Output.tsx",
"patch": "@@ -7,6 +7,11 @@\n \n import generate from \"@babel/generator\";\n import * as t from \"@babel/types\";\n+import {\n+ CodeIcon,\n+ DocumentAddIcon,\n+ InformationCircleIcon,\n+} from \"@heroicons/react/outline\";\n im... | 2023-05-11T19:39:59 |
rust-lang/rust | 87f75df0b80b038daf307f56e0dde73b8514d195 | 9f6cd6defbd7ef13f6777aa8e43b14d69f0a830a | Fix unused lint error in macro | [
{
"path": "compiler/rustc_lint/src/unused.rs",
"patch": "@@ -539,10 +539,19 @@ impl<'tcx> LateLintPass<'tcx> for UnusedResults {\n );\n }\n MustUsePath::Def(span, def_id, reason) => {\n- let span = span.find_ancestor_not_from_macro().unw... | 2026-01-29T15:10:46 |
golang/go | 586e205522279406a9fcd2ab6cd1a1f416f1eae4 | beac2f7d3b72ecaff146b98afb690489f0192422 | std: add //go:fix inline directives to some deprecated functions
In particular, we apply it only to functions where it is always
a code improvement to inline the call.
We also apply it to some constants.
In a few cases this may introduce a panic statement at the
caller, which is debatable, but making the potential fo... | [
{
"path": "src/cmd/compile/internal/noder/noder.go",
"patch": "@@ -162,6 +162,7 @@ var allowedStdPragmas = map[string]bool{\n \t\"go:cgo_ldflag\": true,\n \t\"go:cgo_dynamic_linker\": true,\n \t\"go:embed\": true,\n+\t\"go:fix\": true,\n \t\"go:generate\": true,... | 2025-02-12T16:18:30 |
vercel/next.js | 5736391cf6b697cf37cb5f72354389525eb7b851 | 16d9f70203c4a90284c5cff057282c052376b6df | Turbopack Build: Fix metadata dynamic force-dynamic (#80167)
## What?
`export const dynamic` was not being re-exported when creating the route
handler wrapper so it wasn't picked up during builds, causing the tests
to fail. Added the re-exports. | [
{
"path": "crates/next-core/src/next_app/metadata/route.rs",
"patch": "@@ -239,6 +239,8 @@ async fn dynamic_text_route_source(path: Vc<FileSystemPath>) -> Result<Vc<Box<dy\n }},\n }})\n }}\n+\n+ export * from {resource_path}\n \"#,\n resou... | 2025-06-04T17:42:19 |
electron/electron | 324db14969c74461b849ba02c66af387c0d70d49 | 8a0b4fa338618e8afbc6291bf659870feddd230c | fix: set macOS crypto keychain name earlier (#34683)
* fix: set macOS crypto keychain name earlier
* spec: ensure arm64 mac tests are cleaned up | [
{
"path": ".circleci/config/base.yml",
"patch": "@@ -216,6 +216,7 @@ step-maybe-cleanup-arm64-mac: &step-maybe-cleanup-arm64-mac\n rm -rf ~/Library/Application\\ Support/electron*\n security delete-generic-password -l \"Chromium Safe Storage\" || echo \"✓ Keychain does not contain password f... | 2022-09-23T19:32:10 |
facebook/react | e649bf6429206a0f5bc865373648861849a6ff0e | d1e044b81ab311b74427ebc58fc541a53bc3c711 | Fixtures from ESLint rule
Incorporates the fixtures from eslint-plugin-react-hooks using a script, so that
we can easily update them in the future. For each fixture we run the compiler
with and without hooks validation first so that we know if the fixture is
expected to pass — we have some false positives and fals... | [
{
"path": "compiler/forget/scripts/build-react-hooks-fixures.js",
"patch": "@@ -71,14 +71,15 @@ for (const fixture of fixtures) {\n let code = fixture.code;\n let prefix = \"\";\n if (error !== null) {\n- prefix = `todo.`;\n+ prefix = `todo.bail.`;\n code = `// @skip\\n// Unsupported input\\... | 2023-05-11T19:39:58 |
nodejs/node | 38ef4e5c592843094d11eeea42af27c7bd9cce5f | 54f1e0a48882c7818e771ad918528a5dd5cfd6e4 | tools: fix V8 update workflow
PR-URL: https://github.com/nodejs/node/pull/52822
Fixes: https://github.com/nodejs/node/issues/50497
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gm... | [
{
"path": "tools/dep_updaters/update-v8-patch.sh",
"patch": "@@ -9,9 +9,9 @@ BASE_DIR=$(cd \"$(dirname \"$0\")/../..\" && pwd)\n \n cd \"$BASE_DIR\"\n \n-IS_UP_TO_DATE=$(git node v8 minor | grep \"V8 is up-to-date\")\n+CAN_UPDATE=$(git node v8 minor | grep -q \"V8 is up-to-date\" || echo \"1\")\n \n-if [ -n... | 2024-05-05T13:21:58 |
rust-lang/rust | 02bd3e86c0ed79e6293d83082f60d78a3c56550a | 80b898258da78fdd1262438126aa0cf90e395f0c | Use `Rustc` prefix for `rustc` attrs in `AttributeKind` | [
{
"path": "compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs",
"patch": "@@ -57,7 +57,7 @@ impl<S: Stage> CombineAttributeParser<S> for AllowConstFnUnstableParser {\n const PATH: &[Symbol] = &[sym::rustc_allow_const_fn_unstable];\n type Item = Symbol;\n const CONVERT: ConvertFn<Self::... | 2026-01-29T14:52:09 |
golang/go | beac2f7d3b72ecaff146b98afb690489f0192422 | c62c69dd5c1af0e25c76071f8987480680f09222 | cmd/compile: fix sign extension of paired 32-bit loads on arm64
Fixes #71759
Change-Id: Iab05294ac933cc9972949158d3fe2bdc3073df5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/649895
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@go... | [
{
"path": "src/cmd/compile/internal/arm64/ssa.go",
"patch": "@@ -516,7 +516,7 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tssagen.AddAux(&p.From, v)\n \t\tp.To.Type = obj.TYPE_REG\n \t\tp.To.Reg = v.Reg()\n-\tcase ssa.OpARM64LDP, ssa.OpARM64LDPW, ssa.OpARM64FLDPD, ssa.OpARM64FLDPS:\n+\tcase ss... | 2025-02-15T00:13:44 |
vercel/next.js | 840a9ed4e00e5609485b76c3bc9658a9df730798 | 6d39c38d79eed42641c04cd7424e3e3beb4a473c | Turbopack: Fix sst filter handling and order for meta files (#80147)
### What?
* fixes a bug where it crashes with `Unable to open static sorted file 00000286.sst` after a compaction which leaves a partial meta file.
meta files need to be handled in reverse order as higher sequence numbers override lower ones
* fix... | [
{
"path": "turbopack/crates/turbo-persistence/src/db.rs",
"patch": "@@ -333,7 +333,7 @@ impl TurboPersistence {\n .collect::<Result<Vec<MetaFile>>>()?;\n \n let mut sst_filter = SstFilter::new();\n- for meta_file in meta_files.iter_mut() {\n+ for meta_file in meta_files.ite... | 2025-06-04T17:09:52 |
facebook/react | d1e044b81ab311b74427ebc58fc541a53bc3c711 | a2169d894a380c184036ea020a8e149857eb3941 | [deps] Add DeclareLocal to ReactiveScope decls
---
Try to fix bug from #1589:
> If a declaration for an immutable identifier (i.e. one that is not later
re-assigned, since undefined is a primitive) is sandwiched between mutations, we
currently do not record it as an output or hoist it out of the reactive scope.... | [
{
"path": "compiler/forget/src/ReactiveScopes/PropagateScopeDependencies.ts",
"patch": "@@ -537,6 +537,15 @@ class PropagationVisitor extends ReactiveFunctionVisitor<Context> {\n id,\n scope: context.currentScope,\n });\n+ } else if (value.kind === \"DeclareLocal\") {\n+ // Som... | 2023-05-11T20:24:37 |
electron/electron | 8a0b4fa338618e8afbc6291bf659870feddd230c | 626e248dea71e6bb7aec4cfb335985aedfd2e465 | feat: add app.getSystemLocale() method (#35697)
* feat: add app.getSystemLocale() method
* Update shell/browser/electron_browser_main_parts.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* Change methods to be const
* Apply PR feedback
* Fix mac compile
* Add missing scope
* Apply style... | [
{
"path": "docs/api/app.md",
"patch": "@@ -715,14 +715,20 @@ To set the locale, you'll want to use a command line switch at app startup, whic\n **Note:** When distributing your packaged app, you have to also ship the\n `locales` folder.\n \n-**Note:** On Windows, you have to call it after the `ready` events... | 2022-09-23T18:50:46 |
rust-lang/rust | 989568a79fbe7c3ed8974107b503a1adc5cfdf30 | 80b898258da78fdd1262438126aa0cf90e395f0c | privacy: Fix privacy lints in RPITITs | [
{
"path": "compiler/rustc_privacy/src/lib.rs",
"patch": "@@ -1,5 +1,6 @@\n // tidy-alphabetical-start\n #![feature(associated_type_defaults)]\n+#![feature(default_field_values)]\n #![feature(try_blocks)]\n // tidy-alphabetical-end\n \n@@ -29,8 +30,8 @@ use rustc_middle::middle::privacy::{EffectiveVisibiliti... | 2026-01-15T17:53:30 |
nodejs/node | e22bc1e730acd3ea00439e934d932769bec1e12a | de7b37880f5a541d5f874c1c2362a65a4be76cd0 | doc: add OpenSSL errors to API docs
Fixes: https://github.com/nodejs/node/issues/33705
PR-URL: https://github.com/nodejs/node/pull/34213
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ulises Gasc... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -3715,6 +3715,217 @@ removed: v15.0.0\n \n The native call from `process.cpuUsage` could not be processed.\n \n+<a id=\"openssl-error-codes\"></a>\n+\n+## OpenSSL Error Codes\n+\n+<a id=\"Time Validity Errors\"></a>\n+\n+### Time Validity Errors\n+\n+<a id=\"CERT_... | 2021-01-27T02:35:06 |
golang/go | 10cef816aa9769345016c04032090ae7f5851f5c | 7b7307f632052c0ab3752f24f6d787b281bb5b99 | internal/godebugs: add fips140 as an opaque godebug setting
This permits using "godebug fips140=on" in go.mod and
using "//go:debug fips140=on" in the main package.
Change code references to the godebug setting to remove the #
which is no longer required.
For #71666
Change-Id: I3a60ecc55b03848dadd6d431eb43137b6df65... | [
{
"path": "src/crypto/fips140/fips140.go",
"patch": "@@ -10,7 +10,7 @@ import (\n \t\"internal/godebug\"\n )\n \n-var fips140GODEBUG = godebug.New(\"#fips140\")\n+var fips140GODEBUG = godebug.New(\"fips140\")\n \n // Enabled reports whether the cryptography libraries are operating in FIPS\n // 140-3 mode.",... | 2025-02-13T22:40:01 |
facebook/react | a2169d894a380c184036ea020a8e149857eb3941 | 77c535ce25575e0679d7df8d40afe4dcce1d3c1f | [test case] Test for DeclareLocal instruction
---
Record incorrect output.
If a declaration for an immutable identifier (i.e. one that is not later
re-assigned, since `undefined` is a primitive) is sandwiched between mutations,
we currently do not record it as an output or hoist it out of the reactive
scope. | [
{
"path": "compiler/forget/src/__tests__/fixtures/compiler/_bug.uninitialized-declaration-in-reactive-scope.expect.md",
"patch": "@@ -0,0 +1,40 @@\n+\n+## Input\n+\n+```javascript\n+function Component(props) {\n+ let x = mutate();\n+ let y;\n+ foo(x);\n+ return [y, x];\n+}\n+\n+```\n+\n+## Code\n+\n+```... | 2023-05-11T20:24:36 |
vercel/next.js | 6d39c38d79eed42641c04cd7424e3e3beb4a473c | 13b8d58a7600a74e586cec1e68dfb126bca49fbc | Add a `regions` property to the Functions Config Manifest file (#80104)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
... | [
{
"path": ".changeset/empty-paths-check.md",
"patch": "@@ -0,0 +1,5 @@\n+---\n+'next': patch\n+---\n+\n+Add `regions` to the function config manifest file",
"additions": 5,
"deletions": 0,
"language": "Markdown"
},
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -531,6 +53... | 2025-06-04T16:35:05 |
electron/electron | d3572186547ec745fbd6b05fc0785bca28e38903 | c69754b8e606af28b12271d53bc9456229b2b73c | docs: changed event.data to data under the message.port in docs (#35086)
* docs: changed event.data to data under the message.port in docs
* docs: corrected BrowserWindow wrong usage and change window.messagePort to window.electronMessagePort | [
{
"path": "docs/tutorial/message-ports.md",
"patch": "@@ -101,7 +101,7 @@ app.whenReady().then(async () => {\n }\n })\n \n- const secondaryWindow = BrowserWindow({\n+ const secondaryWindow = new BrowserWindow({\n show: false,\n webPreferences: {\n contextIsolation: false,\n@@ -144,7 +1... | 2022-09-23T08:07:53 |
rust-lang/rust | 21c99d3ad9ca533a2c4fe2a6bff19b7f74fd07f5 | 80b898258da78fdd1262438126aa0cf90e395f0c | Fix some typos of "similarity" | [
{
"path": "compiler/rustc_arena/src/lib.rs",
"patch": "@@ -208,7 +208,7 @@ impl<T> TypedArena<T> {\n &self,\n iter: impl IntoIterator<Item = Result<T, E>>,\n ) -> Result<&mut [T], E> {\n- // Despite the similarlty with `DroplessArena`, we cannot reuse their fast case. The reason\n... | 2026-01-29T07:00:33 |
nodejs/node | de7b37880f5a541d5f874c1c2362a65a4be76cd0 | a5cfe0f5b47315bb262fa6aca9a5785f3b964ab6 | src: only apply fix in main thread
PR-URL: https://github.com/nodejs/node/pull/52702
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Marco Ippolito <marcoippolit... | [
{
"path": "test/parallel/test-process-load-env-file.js",
"patch": "@@ -58,13 +58,17 @@ describe('process.loadEnvFile()', () => {\n const originalCwd = process.cwd();\n \n try {\n- process.chdir(join(originalCwd, 'lib'));\n+ if (common.isMainThread) {\n+ process.chdir(join(originalCw... | 2024-05-05T05:37:12 |
golang/go | 5f65e5cb56f98381970de5485e704f3c7e20ca9a | 11f7ea8ce045c27956fcbffcc98e8987f9fb9743 | doc/godebug: mention GODEBUG=fips140
Fixes #71666
Change-Id: Ice816cf2943c5b6660f05934b4c7ca38545714b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/648520
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: ... | [
{
"path": "doc/godebug.md",
"patch": "@@ -153,6 +153,17 @@ and the [go command documentation](/cmd/go#hdr-Build_and_test_caching).\n \n ### Go 1.24\n \n+Go 1.24 added a new `fips140` setting that controls whether the Go\n+Cryptographic Module operates in FIPS 140-3 mode.\n+The possible values are:\n+- \"off... | 2025-02-11T23:53:20 |
facebook/react | 77c535ce25575e0679d7df8d40afe4dcce1d3c1f | 5e80821aa247362a5a9cf3e97754183cc0884e01 | [snap] Make watch mode go fast(er)
While optimizing per @josephsavona's suggestions in #1592, I noticed that we
were clearing quite a few require cache entries.
As of this PR, `Object.keys(require.cache)` holds
- 1258 entries total
- 67 files compiled from Forget source code (this is what
`ts.createWatchCompi... | [
{
"path": "compiler/forget/packages/snap/src/compiler-worker.ts",
"patch": "@@ -11,24 +11,14 @@ import { exists } from \"./utils\";\n \n const originalConsoleError = console.error;\n \n-// Subpaths to ignore when clearing the require cache\n-const ignoredRequireSubpaths: Array<string> = [\n- // compiler wo... | 2023-05-11T18:58:51 |
vercel/next.js | dcf28ec0aec1795a4891a7254602c27c8f076cd9 | a9880a598b695a9bbdca0e306a10345a8f34d127 | [dev-overlay] Remove indirection in app dev error boundary (#79984)
Doesn't need to be put in JSX children and can directly returned from render.
Allows for cleaner code separation with the future dedicated dev overlay bundle. | [
{
"path": "packages/next/src/client/components/react-dev-overlay/app/app-dev-overlay.tsx",
"patch": "@@ -5,72 +5,10 @@ import {\n } from '../shared'\n import type { GlobalErrorComponent } from '../../global-error'\n \n-import { useCallback, useEffect } from 'react'\n+import { useCallback } from 'react'\n im... | 2025-06-04T13:41:31 |
electron/electron | eb3262cd87f1602cea651f89166b0da0f2ee6e14 | 4ffdd284c398d3e18a71f636422eaa0cf28406da | fix: allow docking DevTools with WCO (#35754)
fix: allow for docking devtools with WCO | [
{
"path": "shell/browser/api/electron_api_web_contents.cc",
"patch": "@@ -2424,14 +2424,6 @@ void WebContents::OpenDevTools(gin::Arguments* args) {\n !owner_window()) {\n state = \"detach\";\n }\n- bool activate = true;\n- if (args && args->Length() == 1) {\n- gin_helper::Dictionary options... | 2022-09-22T08:44:27 |
nodejs/node | a5cfe0f5b47315bb262fa6aca9a5785f3b964ab6 | b77f32bd7e70599681065917573feb1638a8c108 | src: fix test local edge case
PR-URL: https://github.com/nodejs/node/pull/52702
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Marco Ippolito <marcoippolito54@g... | [
{
"path": "test/parallel/test-process-load-env-file.js",
"patch": "@@ -4,6 +4,7 @@ const common = require('../common');\n const fixtures = require('../../test/common/fixtures');\n const assert = require('node:assert');\n const { describe, it } = require('node:test');\n+const { join } = require('node:path');... | 2024-04-26T07:04:08 |
facebook/react | 7cd98ef2bcbc10f164f778bade86a4daeb821011 | b5810163e913e8c95a7a0a6dee039bc102e3c987 | Fix nightly job to publish to "canary" channel (#26799)
When I was renaming the next channel to canary, I updated the
`publish_preleases` workflow correctly, but I skipped over
`publish_preleases_nightly`. Oops. | [
{
"path": ".circleci/config.yml",
"patch": "@@ -646,7 +646,7 @@ workflows:\n name: Publish to Canary channel\n commit_sha: << pipeline.git.revision >>\n release_channel: stable\n- dist_tag: \"next\"\n+ dist_tag: \"canary,next\"\n - publish_prerelease:\n ... | 2023-05-10T02:27:35 |
golang/go | 11f7ea8ce045c27956fcbffcc98e8987f9fb9743 | 2299a4289d69c71573fd22350eea0677639e563c | cmd/compile: add type-based alias analysis
Make ssa.disjoint call ssa.disjointTypes to disambiguate Values based on
their types. Only one type-based rule is employed: a Type can't alias
with a pointer (https://pkg.go.dev/unsafe#Pointer).
Fixes #70488
Change-Id: I5a7e75292c2b6b5a01fb9048e3e2360e31dbcdd9
Reviewed-on: ... | [
{
"path": "src/cmd/compile/internal/rttype/rttype.go",
"patch": "@@ -50,26 +50,26 @@ func Init() {\n \t// Note: this has to be called explicitly instead of being\n \t// an init function so it runs after the types package has\n \t// been properly initialized.\n-\tType = fromReflect(reflect.TypeOf(abi.Type{})... | 2024-11-27T17:47:58 |
vercel/next.js | 10928dfa61fba9230a5c1f428e61ffc699bb2310 | 1a18884755973acb4d68ac3989971ef81e2876bb | [global-not-found] fix shared css imports not being picked (#80151) | [
{
"path": "packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts",
"patch": "@@ -108,6 +108,9 @@ const pluginState = getProxiedPluginState({\n injectedClientEntries: {} as Record<string, string>,\n })\n \n+const POSSIBLE_SHARED_CONVENTIONS = ['template', 'layout']\n+const STANDALONE_BUNDLE... | 2025-06-04T12:54:45 |
electron/electron | 4935fd24222cf116d7fdbca88fcf7a8bcb98d83c | 99f4a42d4135cf2a596abbb31782485e41734230 | fix: WebAuthn Discoverable Credential (Resident Credential) (#35374)
* fix: WebAuthn Discoverable Credential (Resident Credential) #33353
Enables support for Webauthn discoverable credentials (aka resident
credentials). This allows users to authenticate without first having to
select or type a username.
To dec... | [
{
"path": "filenames.gni",
"patch": "@@ -515,6 +515,8 @@ filenames = {\n \"shell/browser/web_view_guest_delegate.h\",\n \"shell/browser/web_view_manager.cc\",\n \"shell/browser/web_view_manager.h\",\n+ \"shell/browser/webauthn/electron_authenticator_request_delegate.cc\",\n+ \"shell/browse... | 2022-09-20T22:47:42 |
nodejs/node | 8123be16a5a48d72a64fb58dcb596c79db1dfe4d | 8b2011a818a3ad324f4b44cc811fea8e56e2f15d | string_decoder: throw an error when writing a too long buffer
PR-URL: https://github.com/nodejs/node/pull/52215
Fixes: https://github.com/nodejs/node/issues/52214
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: theanarkh <theratliter@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By:... | [
{
"path": "src/string_decoder.cc",
"patch": "@@ -31,11 +31,11 @@ MaybeLocal<String> MakeString(Isolate* isolate,\n Local<Value> error;\n MaybeLocal<Value> ret;\n if (encoding == UTF8) {\n- MaybeLocal<String> utf8_string = String::NewFromUtf8(\n- isolate,\n- data,\n- v8::NewStri... | 2024-03-26T05:50:33 |
facebook/react | f3d4d1691819c58c6f9e42b113750685ab647dd0 | 04cee98166d4b495b29454f4e2a774788442ecd0 | [lower] Bail out on computed lvalues in destructure
---
Currently, we're silently producing incorrect output -
```js
// source
function Component(props) {
const computedKey = props.key;
const { [computedKey]: x } = props.val;
return x;
}
// compiles to
function Component(props) {
const { compute... | [
{
"path": "compiler/forget/src/HIR/BuildHIR.ts",
"patch": "@@ -2586,6 +2586,14 @@ function lowerAssignment(\n });\n continue;\n }\n+ if (property.node.computed) {\n+ builder.errors.push({\n+ reason: `(BuildHIR::lowerAssignment) Handle comput... | 2023-05-09T18:38:15 |
golang/go | bad791343f50a165e27f9f9bda6ba42af05b1869 | 1959703dddffef61760d5d4fdedc4df8d2d73438 | internal/syscall/unix: correct fchmodat on openbsd
This is incorrectly calling the fchownat trampoline - call fchmodat
as intended.
Change-Id: I7b1e758d456006303ca95b70df9e6b52d3020158
Reviewed-on: https://go-review.googlesource.com/c/go/+/649655
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Damien N... | [
{
"path": "src/internal/syscall/unix/at_openbsd.go",
"patch": "@@ -81,7 +81,7 @@ func Fchownat(dirfd int, path string, uid, gid int, flags int) error {\n \tif err != nil {\n \t\treturn err\n \t}\n-\t_, _, errno := syscall_syscall6(abi.FuncPCABI0(libc_fchmodat_trampoline),\n+\t_, _, errno := syscall_syscall6... | 2025-02-14T17:45:04 |
vercel/next.js | 1a18884755973acb4d68ac3989971ef81e2876bb | 6cbe40fb3cafdd0542ea38741e645b413da00ec8 | Turbopack Build: Implement helpful error for missing sass package (#80155)
## What?
Implements the same error message that we add to the webpack handling. I'm not super happy about this solution (though it matches what we do for webpack) ideally we improve the sass-loader error itself in the future but that requires ... | [
{
"path": "packages/next/src/shared/lib/turbopack/utils.ts",
"patch": "@@ -190,7 +190,17 @@ export function formatIssue(issue: Issue) {\n }\n \n if (description) {\n- message += renderStyledStringToErrorAnsi(description) + '\\n\\n'\n+ if (\n+ description.type === 'text' &&\n+ description... | 2025-06-04T12:45:21 |
electron/electron | b1d7b30ca35080212e3e2ffa8149c88cb5c96c69 | d71b5e53fd9993fd32af18df0fc6b8bfbfec92ea | docs: fix wording mistake in security.md section 4 (#35682)
Update security.md
Under "4. Process Sandboxing", it said "For mor information on what `contextIsolation` is..." which was the previous section (copied from there). This updates it to say "For more information on what Process Sandboxing is..." | [
{
"path": "docs/tutorial/security.md",
"patch": "@@ -257,7 +257,7 @@ the sandbox in all renderers. Loading, reading or processing any untrusted\n content in an unsandboxed process, including the main process, is not advised.\n \n :::info\n-For more information on what `contextIsolation` is and how to enable... | 2022-09-20T15:14:44 |
facebook/react | 04cee98166d4b495b29454f4e2a774788442ecd0 | 5de02b881b9a0c30e3bc5be352e54f4404ad72fa | [snap] patch bug in clearing require cache
Snap currently has a bug in which the require cache is not correctly cleared
when running in filter mode (#tests < 2 * #workers).
- We're currently clearing all entries in the require cache of worker threads,
including `jest-worker` and `snap/dist/...` files
- jest-wor... | [
{
"path": "compiler/forget/packages/snap/src/compiler-worker.ts",
"patch": "@@ -11,10 +11,26 @@ import { exists } from \"./utils\";\n \n const originalConsoleError = console.error;\n \n+// Subpaths to ignore when clearing the require cache\n+const ignoredRequireSubpaths: Array<string> = [\n+ // compiler wo... | 2023-05-11T17:53:06 |
golang/go | 1959703dddffef61760d5d4fdedc4df8d2d73438 | 8c05e020d534a407c20a3e672971be3aabe2ee9c | syscall: skip testAmbientCaps tests if there is no nobody user
When there is not a nobody user (for example inside Docker), the
tests TestAmbientCaps and TestAmbientCapsUserns should be skipped
instead of failing.
Fixes #71644
Change-Id: I7f92db19e2b6f449d8d897650a0ecd89f5150f4a
GitHub-Last-Rev: a4c4f5bb61929b4981dc... | [
{
"path": "src/syscall/exec_linux_test.go",
"patch": "@@ -646,7 +646,7 @@ func testAmbientCaps(t *testing.T, userns bool) {\n \n \tu, err := user.Lookup(\"nobody\")\n \tif err != nil {\n-\t\tt.Fatal(err)\n+\t\tt.Skip(\"skipping: the nobody user does not exist; see Issue 71644\")\n \t}\n \tuid, err := strcon... | 2025-02-14T10:14:29 |
rust-lang/rust | a333f6f93c5fe34d59e24af1269b528c6b608596 | ba284f468cd2cda48420251efc991758ec13d450 | Fix missing syntax context in lifetime hygiene debug output
`-Zunpretty=expanded,hygiene` was not printing the syntax context for
lifetimes. For example, two macro-generated lifetimes `'a` with different
hygiene would both print as `/* 2538 */` instead of `/* 2538#0 */` and
`/* 2538#1 */`, making it impossible to dist... | [
{
"path": "compiler/rustc_ast_pretty/src/pprust/state.rs",
"patch": "@@ -1961,7 +1961,8 @@ impl<'a> State<'a> {\n }\n \n fn print_lifetime(&mut self, lifetime: ast::Lifetime) {\n- self.print_name(lifetime.ident.name)\n+ self.word(lifetime.ident.name.to_string());\n+ self.ann_pos... | 2026-01-29T12:04:30 |
vercel/next.js | 6cbe40fb3cafdd0542ea38741e645b413da00ec8 | 002fb28e1a3ff30373a8afe929b7406b0a590ffa | [dev-overlay] Remove unnecessary code from /pages dev error boundary (#79983)
No longer needed in React 18+ | [
{
"path": "packages/next/src/client/components/react-dev-overlay/pages/pages-dev-overlay-error-boundary.tsx",
"patch": "@@ -15,10 +15,6 @@ export class PagesDevOverlayErrorBoundary extends React.PureComponent<\n return { error }\n }\n \n- componentDidCatch(error: Error) {\n- this.setState({ error ... | 2025-06-04T12:04:01 |
nodejs/node | 8b2011a818a3ad324f4b44cc811fea8e56e2f15d | dd5b68d6bdbd072481801c04fdb7b6c5b6355b3f | build: define `NOMINMAX` in common.gypi
V8 and Node.js had defined `NOMINMAX` on Windows for a long time. In
recent changes, V8 added `std::numeric_limits::min` usages in its
header files which caused addons without `NOMINMAX` defines failed
to compile.
Define `NOMINMAX` in common.gypi so that addons can be compiled... | [
{
"path": "common.gypi",
"patch": "@@ -458,6 +458,10 @@\n '_HAS_EXCEPTIONS=0',\n 'BUILDING_V8_SHARED=1',\n 'BUILDING_UV_SHARED=1',\n+ # Stop <windows.h> from defining macros that conflict with\n+ # std::min() and std::max(). We don't use <windows.h> (much)\n+... | 2024-05-04T13:55:06 |
facebook/react | 5de02b881b9a0c30e3bc5be352e54f4404ad72fa | 50c3bd9d98906b8544a23e6efda31b235071cfb9 | Support unused conditional/logical expressions assigned to variable
I noticed some instances of this error when running forget on an internal
product. I previously fixed the case if a logical/conditional used only for side
effects (not assigned to a variable) but the new cases were assigned to an
unused variable. ... | [
{
"path": "compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts",
"patch": "@@ -6,7 +6,6 @@\n */\n \n import invariant from \"invariant\";\n-import { CompilerError } from \"../CompilerError\";\n import {\n BasicBlock,\n BlockId,\n@@ -826,12 +825,6 @@ class Driver {\n testBlock.terminal... | 2023-05-09T17:58:51 |
electron/electron | 6cc69122ce298fd2025e08b891240084309370d5 | 76ce6d5fb40311407e0bfc9f02184322d221475f | chore: fix ambiguous reference gcc compile error (#35714) | [
{
"path": "shell/browser/serial/electron_serial_delegate.cc",
"patch": "@@ -66,16 +66,18 @@ device::mojom::SerialPortManager* ElectronSerialDelegate::GetPortManager(\n return GetChooserContext(frame)->GetPortManager();\n }\n \n-void ElectronSerialDelegate::AddObserver(content::RenderFrameHost* frame,\n- ... | 2022-09-19T22:05:24 |
golang/go | 8c05e020d534a407c20a3e672971be3aabe2ee9c | 45447b4bfff4227a8945951dd7d37f2873992e1b | internal/syscall/unix: fix fchownat linkname for AIX & Solaris
Typo fix: libc_chownat => libc_fchownat
Change-Id: I6721a988c19e3438b967a73559159c948ed51a0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/649636
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-... | [
{
"path": "src/internal/syscall/unix/at_libc.go",
"patch": "@@ -17,7 +17,7 @@ import (\n //go:linkname procReadlinkat libc_readlinkat\n //go:linkname procMkdirat libc_mkdirat\n //go:linkname procFchmodat libc_fchmodat\n-//go:linkname procFchownat libc_chownat\n+//go:linkname procFchownat libc_fchownat\n \n ... | 2025-02-14T17:06:21 |
vercel/next.js | 4ab7cacf0445664a0d391a0426043b26f3036d66 | 6f76e91dbc137a55f24a0845637ea575226aee59 | Turbopack: Improve errors when opening SST files (#80106)
### What?
add more context to error messages for database failures | [
{
"path": "turbopack/crates/turbo-persistence/src/db.rs",
"patch": "@@ -652,7 +652,8 @@ impl TurboPersistence {\n max_coverage,\n max_merge_sequence,\n max_merge_size,\n- )?;\n+ )\n+ .context(\"Failed to compact database\")?;\n... | 2025-06-04T08:13:07 |
nodejs/node | 2c556521df2d50881901ddac89eb722055ffa427 | 9b105bd65688bdffcbffa110be39d18082f17861 | doc: fix grammatical mistake
PR-URL: https://github.com/nodejs/node/pull/52808
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> | [
{
"path": "doc/api/webstreams.md",
"patch": "@@ -1042,7 +1042,7 @@ changes:\n description: This class is now exposed on the global object.\n -->\n \n-The `WritableStreamDefaultController` manage's the {WritableStream}'s\n+The `WritableStreamDefaultController` manages the {WritableStream}'s\n internal st... | 2024-05-03T13:30:09 |
facebook/react | 50c3bd9d98906b8544a23e6efda31b235071cfb9 | 90109b3572ed3089afd862fd92830f5ce4f447ad | Fix capturedRefs collection for lambdas
When we calculate the dependencies of a FunctionExpression we were only adding
new items if the binding identifier had not been seen yet. That is correct for
`capturedIds` since its the set of identifiers, but incorrect for `capturedRefs`
since its an array of all the distin... | [
{
"path": "compiler/forget/src/HIR/BuildHIR.ts",
"patch": "@@ -2753,8 +2753,9 @@ function gatherCapturedDeps(\n fn: NodePath<t.FunctionExpression | t.ArrowFunctionExpression>,\n componentScope: Scope\n ): { identifiers: t.Identifier[]; refs: Place[] } {\n- const capturedIds: Set<t.Identifier> = new Set... | 2023-05-09T17:38:56 |
electron/electron | 76ce6d5fb40311407e0bfc9f02184322d221475f | 01cf5c5f993e6a8cd8a1a69abee9755824525677 | fix: edge case in app.isInApplicationsFolder() (#35636)
* fix: edge case in IsInApplicationsFolder
* use realpath instead
* lint
* revert lowercasing
* optimize
* Update shell/browser/ui/cocoa/electron_bundle_mover.mm
* lint
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> | [
{
"path": "shell/browser/ui/cocoa/electron_bundle_mover.mm",
"patch": "@@ -182,18 +182,27 @@\n return IsInApplicationsFolder([[NSBundle mainBundle] bundlePath]);\n }\n \n+NSString* resolvePath(NSString* path) {\n+ NSString* standardizedPath = [path stringByStandardizingPath];\n+ char resolved[PATH_MAX];... | 2022-09-19T18:19:49 |
golang/go | 85f8e240fe337b145aba1de5edd2b03e759e4e38 | 242ef7cb05a6d406912389b6b3b6ad3bda1f7484 | internal/trace: emit sync event before deferred spilled error
CL 648315 and CL 648195 fixed #71615 in the case where we fail to read
the next generation by emitting an extra sync event before returning an
error. But, it's possible we failed to even read the next spilled batch
when we read the first generation, and hav... | [
{
"path": "src/internal/trace/reader.go",
"patch": "@@ -22,17 +22,18 @@ import (\n // event as the first event, and a Sync event as the last event.\n // (There may also be any number of Sync events in the middle, too.)\n type Reader struct {\n-\tversion version.Version\n-\tr *bufio.Reader\n-\tla... | 2025-02-13T19:45:52 |
nodejs/node | 9b105bd65688bdffcbffa110be39d18082f17861 | 15456e4e57235834b78d7f1aac5382047d4a83fd | deps: V8: cherry-pick f6bef09b3b0a
Original commit message:
[turboshaft] initialize constant_value_ to an empty value
gcc-10 seems to have a bug were not initializing this value
throws this compilation error:
```
src/compiler/turboshaft/assembler.h:680:16: error: ‘<anonymous>’ is used uninitializ... | [
{
"path": "common.gypi",
"patch": "@@ -37,7 +37,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... | 2024-05-03T13:30:02 |
facebook/react | fda1f0b902b527089fe5ae7b3aa573c633166ec9 | 7ac5e9a602347f3b7d26c60a549c483d3bc88bbf | Flow upgrade to 0.205.1 (#26796)
Just a small upgrade to keep us current and remove unused suppressions
(probably fixed by some upgrade since).
- `*` is no longer allowed and has been an alias for `any` for a while
now. | [
{
"path": "package.json",
"patch": "@@ -65,8 +65,8 @@\n \"eslint-plugin-react-internal\": \"link:./scripts/eslint-rules\",\n \"fbjs-scripts\": \"^3.0.1\",\n \"filesize\": \"^6.0.1\",\n- \"flow-bin\": \"^0.202.0\",\n- \"flow-remove-types\": \"^2.202.0\",\n+ \"flow-bin\": \"^0.205.1\",\n+... | 2023-05-09T14:45:50 |
vercel/next.js | 6f76e91dbc137a55f24a0845637ea575226aee59 | 5a4a08fdce91a038f2ed3a70568d3ed040403150 | [dev-overlay] Remove unused `onError` in /pages (#79982)
Every implementation is a no-op and we don't have any plans.
Can use the same pattern as App Router when we need it. | [
{
"path": "packages/next/src/client/components/react-dev-overlay/pages/hooks.ts",
"patch": "@@ -27,16 +27,8 @@ export const usePagesDevOverlay = () => {\n }\n }, [dispatch])\n \n- const onComponentError = React.useCallback(\n- (_error: Error, _componentStack: string | null) => {\n- // TODO: s... | 2025-06-04T08:10:31 |
electron/electron | 7d3f22dd32365d5432583d936fa4c7f3d480ef45 | fa3cd1747556b66a3e714f99e988e47334187e44 | fix: uv_os_gethostname failing on Windows 7 (libuv patch regression) (#35702)
Co-authored-by: Milan Burda <miburda@microsoft.com> | [
{
"path": "patches/node/fix_crash_caused_by_gethostnamew_on_windows_7.patch",
"patch": "@@ -6,7 +6,7 @@ Subject: fix: crash caused by GetHostNameW on Windows 7\n Backported from https://github.com/libuv/libuv/pull/3285.\n \n diff --git a/deps/uv/src/win/util.c b/deps/uv/src/win/util.c\n-index 33e874ac442f88... | 2022-09-16T05:33:01 |
golang/go | 242ef7cb05a6d406912389b6b3b6ad3bda1f7484 | c0d96f30e88b7ed541830a9d5a172f199d05399c | crypto/rsa: normalize GenerateKey benchmark
Benchmarking key generation is a pain. The number of random candidates
explored before finding a prime varies greatly, and on top of that some
rejections happen in the trial divisions step and some in the
Miller-Rabin step.
However, we can calculate on average how many cand... | [
{
"path": "src/crypto/internal/fips140/rsa/keygen.go",
"patch": "@@ -167,15 +167,17 @@ func randomPrime(rand io.Reader, bits int) ([]byte, error) {\n \t\tif err := drbg.ReadWithReader(rand, b); err != nil {\n \t\t\treturn nil, err\n \t\t}\n-\t\tif excess := len(b)*8 - bits; excess != 0 {\n-\t\t\tb[0] >>= ex... | 2024-12-28T21:32:59 |
facebook/react | 597e70d69f8a2c0023d0a001c819fed3c2c2ac3a | 8920fc0b2f82f8922c082c271503e3c156ed85cc | Improve eslint derived fixtures | [
{
"path": "compiler/forget/scripts/build-react-hooks-fixures.js",
"patch": "@@ -16,6 +16,8 @@ const path = require(\"path\");\n const prettier = require(\"prettier\");\n const prettierConfigPath = require.resolve(\"../.prettierrc\");\n const process = require(\"process\");\n+const { createHash } = require(\... | 2023-05-08T21:10:07 |
nodejs/node | 905ab3e9ecfe2881950e8485e9c5f4f48d30315f | ae8a5ffcfab6aa6b4dd23bcd2044c223af80b5d0 | watch: fix arguments parsing
PR-URL: https://github.com/nodejs/node/pull/52760
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Raz Luvaton <rluvaton@gmail.com> | [
{
"path": "lib/internal/main/watch_mode.js",
"patch": "@@ -6,7 +6,6 @@ const {\n ArrayPrototypePush,\n ArrayPrototypePushApply,\n ArrayPrototypeSlice,\n- StringPrototypeIncludes,\n StringPrototypeStartsWith,\n } = primordials;\n \n@@ -44,8 +43,10 @@ const argsWithoutWatchOptions = [];\n for (let i ... | 2024-05-02T18:45:40 |
vercel/next.js | 5a4a08fdce91a038f2ed3a70568d3ed040403150 | 1a42db2b21522ce7d0b3536a9a7edbf6b4522a0c | [dynamicIO] prioritize preprocessing RSC rows when prerendering (#80125)
When prerendering with dynamicIO we take advantage of a few things about
microtask behavior to ensure that anything prerenderable in RSC is
included in the HTML prerender. We found however that with large enough
RSC payloads certain things that s... | [
{
"path": "packages/next/errors.json",
"patch": "@@ -692,5 +692,6 @@\n \"691\": \"Accessed fallback \\\\`params\\\\` during prerendering.\",\n \"692\": \"Expected clientReferenceManifest to be defined.\",\n \"693\": \"%s must not be used within a client component. Next.js should be preventing %s from ... | 2025-06-04T05:00:27 |
electron/electron | f25c87dc7024397526bbe221efdaa0260392c243 | 5cf15cdab7f3d055a225dbc50c53d62614250468 | feat: allow custom v8 snapshots to be used in the main process and the default snapshot in the renderer process (#35266)
* Updates to allow for using a custom v8 snapshot file name
* Allow using a custom v8 snapshot file name
* Fix up patch due to merge
* Use fuse to set up custom v8 snapshot file in browser ... | [
{
"path": "build/fuses/fuses.json5",
"patch": "@@ -7,5 +7,6 @@\n \"node_options\": \"1\",\n \"node_cli_inspect\": \"1\",\n \"embedded_asar_integrity_validation\": \"0\",\n- \"only_load_app_from_asar\": \"0\"\n+ \"only_load_app_from_asar\": \"0\",\n+ \"load_browser_process_specific_v8_snapshot\": \"... | 2022-09-15T20:21:16 |
golang/go | a8487dadeb6057418ee29b3ec8d2f1af0c91a42e | 954e2c0b062d21f4914f04f0eb1aa7c5197ee92c | cmd/go: use runtime.AddCleanup instead of runtime.SetFinalizer
Replace the usage of runtime.SetFinalizer with runtime.AddCleanup.
This changes a test and how when the Go command panics when a file is
left locked.
Updates #70907
Change-Id: I8d8c56d16486728f9bd4b910b81796ae506bda74
Reviewed-on: https://go-review.googl... | [
{
"path": "src/cmd/go/internal/base/limit.go",
"patch": "@@ -52,7 +52,7 @@ func AcquireNet() (release func(), err error) {\n \t}\n \n \tchecker := new(netTokenChecker)\n-\truntime.SetFinalizer(checker, (*netTokenChecker).panicUnreleased)\n+\tcleanup := runtime.AddCleanup(checker, func(_ int) { panic(\"inter... | 2025-01-06T18:15:51 |
facebook/react | 8920fc0b2f82f8922c082c271503e3c156ed85cc | 7dedc6cc724d168a81e0e2d7e9a943a0bb31a78e | Dont count throw as an exit node (React semantics)
React will retry or abort components that throw (depending on a few conditions),
so from React's perspective a `throw` statement is not a normal exit node. Thus
the Rules of Hooks really have a caveat: the set of hooks that are called _in an
execution that returns... | [
{
"path": "compiler/forget/src/HIR/Dominator.ts",
"patch": "@@ -113,10 +113,9 @@ class Dominator<T> {\n */\n get(id: T): T | null {\n const dominator = this.#nodes.get(id);\n- invariant(\n- dominator !== undefined,\n- `Called on invalid node identifier '${id}'`\n- );\n+ if (domin... | 2023-05-08T20:58:46 |
vercel/next.js | 1a42db2b21522ce7d0b3536a9a7edbf6b4522a0c | 4e110ef3af176385d669f1a886eb46f1d169bd87 | fix(turbo-persistence): Atomically mark old versioned directories for deletion before deleting them (#80082)
This uses a trick similar to what I did in https://app.graphite.dev/github/pr/vercel/next.js/79425 to mark the directory for deletion using an atomic operation (a directory rename in this case) before deleting ... | [
{
"path": "Cargo.lock",
"patch": "@@ -2308,12 +2308,12 @@ dependencies = [\n \n [[package]]\n name = \"errno\"\n-version = \"0.3.8\"\n+version = \"0.3.12\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245\"\n... | 2025-06-04T02:13:51 |
nodejs/node | 08c3256527eb48374d8c43ba904e3f7d17f026a0 | 2cfabb11e161fe3607e62951c4cd1311f214ac61 | 2024-05-02, Version 22.1.0 (Current)
Notable changes:
buffer:
* improve `base64` and `base64url` performance (Yagiz Nizipli) https://github.com/nodejs/node/pull/52428
dns:
* (SEMVER-MINOR) add order option and support ipv6first (Paolo Insogna) https://github.com/nodejs/node/pull/52492
events,doc:
* mark CustomE... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -38,7 +38,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.0.0\">22.0.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V22.md#22.1.0\">22.1.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V22.md#22.0.0\">2... | 2024-04-30T23:09:41 |
electron/electron | 5cf15cdab7f3d055a225dbc50c53d62614250468 | 532162d2b5b0e05c1bca3d08e30c4e2b9387ac04 | build: fix building with enable_basic_printing false (#35687)
Co-authored-by: Milan Burda <miburda@microsoft.com> | [
{
"path": "shell/browser/api/electron_api_web_contents.cc",
"patch": "@@ -144,6 +144,10 @@\n #include \"shell/browser/osr/osr_web_contents_view.h\"\n #endif\n \n+#if BUILDFLAG(IS_WIN)\n+#include \"shell/browser/native_window_views.h\"\n+#endif\n+\n #if !BUILDFLAG(IS_MAC)\n #include \"ui/aura/window.h\"\n #e... | 2022-09-15T17:29:10 |
facebook/react | 7dedc6cc724d168a81e0e2d7e9a943a0bb31a78e | fd007be0d07e37ccbd38b805842a89faf7a16e04 | Fix test for hook name to match lint rule | [
{
"path": "compiler/forget/src/HIR/Environment.ts",
"patch": "@@ -28,8 +28,6 @@ import {\n import { Hook } from \"./Hooks\";\n import { FunctionSignature, ShapeRegistry } from \"./ObjectShape\";\n \n-const HOOK_PATTERN = /^_?use/;\n-\n // TODO(mofeiZ): User defined global types (with corresponding shapes).\... | 2023-05-08T19:14:30 |
golang/go | baeab452d1a00c139a5096b796d7b1780ad80f1d | 371ee1469cf30ecdbc8d1b55cf307a310ff3d630 | testing: panic in AllocsPerRun if parallel tests are running
If other tests are running, AllocsPerRun's result will be inherently flaky.
Saw this with CL 630136 and #70327.
Proposed in #70464.
Fixes #70464.
Change-Id: I190afdf26bc31299f6e5e8665b4fb420ffd554ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/6... | [
{
"path": "src/testing/allocs.go",
"patch": "@@ -18,6 +18,9 @@ import (\n // AllocsPerRun sets GOMAXPROCS to 1 during its measurement and will restore\n // it before returning.\n func AllocsPerRun(runs int, f func()) (avg float64) {\n+\tif parallelStart.Load() != parallelStop.Load() {\n+\t\tpanic(\"testing:... | 2024-11-20T16:01:27 |
nodejs/node | 8f37492b65afe82bb23d5a2426d65544755753fc | c923ce7414e2c7135afb00847d7b2e071a4f2317 | cli: move --trace-atomics-wait to eol
PR-URL: https://github.com/nodejs/node/pull/52747
Fixes: https://github.com/nodejs/node/issues/42982
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjami... | [
{
"path": "doc/api/cli.md",
"patch": "@@ -2156,39 +2156,6 @@ added: v12.0.0\n Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.3'. Use to disable support\n for TLSv1.2, which is not as secure as TLSv1.3.\n \n-### `--trace-atomics-wait`\n-\n-<!-- YAML\n-added: v14.3.0\n-deprecated:\n- - v18.8.0\n- - v16... | 2024-05-01T12:24:48 |
electron/electron | 532162d2b5b0e05c1bca3d08e30c4e2b9387ac04 | 30bdede09fbb74e652f6884942cdeb739d24e6c1 | fix: EventEmitter is missing properties in sandbox preload script. (#35522) | [
{
"path": "package.json",
"patch": "@@ -45,6 +45,7 @@\n \"eslint-plugin-node\": \"^11.1.0\",\n \"eslint-plugin-standard\": \"^4.0.1\",\n \"eslint-plugin-typescript\": \"^0.14.0\",\n+ \"events\": \"^3.2.0\",\n \"express\": \"^4.16.4\",\n \"folder-hash\": \"^2.1.1\",\n \"fs-extra\":... | 2022-09-15T16:33:08 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
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.