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
nodejs/node
d6317d0a45a36b19336745e1e96e9ae9204b7633
c9fece38c8dc872303fd0f5d6bf0ffc44bea7f4f
module: remove usage of require('util') Use `require('internal/util/debuglog').debuglog` instead of `require('util').debuglog` in `lib/internal/modules/esm/create_dynamic_module.js`. PR-URL: https://github.com/nodejs/node/pull/26803 Refs: https://github.com/nodejs/node/issues/26546 Reviewed-By: Ruben Bridgewater <rub...
[ { "path": "lib/internal/modules/esm/create_dynamic_module.js", "patch": "@@ -3,7 +3,7 @@\n const { ArrayPrototype } = primordials;\n \n const { ModuleWrap, callbackMap } = internalBinding('module_wrap');\n-const debug = require('util').debuglog('esm');\n+const debug = require('internal/util/debuglog').debug...
2019-03-20T10:21:51
golang/go
2c5d2083e41371aa4f5aab9e86921002c1f9b504
029dfbcc83123cb62e52f2aaedc46397815e3fa6
runtime: fix riscv64 sigaction mask field offset The Linux kernel for riscv64 does not include an sa_restorer field on its sigaction struct, and expects sa_mask to come immediately after the sa_flags field. Arrange the fields of the sigaction struct that are known to the kernel so they appear at the correct byte offse...
[ { "path": "src/runtime/defs_linux_riscv64.go", "patch": "@@ -122,10 +122,12 @@ func (tv *timeval) set_usec(x int32) {\n }\n \n type sigactiont struct {\n-\tsa_handler uintptr\n-\tsa_flags uint64\n+\tsa_handler uintptr\n+\tsa_flags uint64\n+\tsa_mask uint64\n+\t// Linux on riscv64 does not have the ...
2021-11-30T00:48:34
vercel/next.js
e659653e4845093a5c30afb81f1d61d666ffdf82
2ba4dec18b6fd5e870ce3f16c1bc687156b23710
Upgrade React to 18.3.0-canary-b7972822b-20230503 (#49158) Includes the following upstream changes: - [b7972822b](https://github.com/facebook/react/commits/b7972822b) useOptimisticState -> useOptimistic ([#26772](https://github.com/facebook/react/pull/26772)) (Andrew Clark) - [388686f29](https://github.com/faceb...
[ { "path": "package.json", "patch": "@@ -197,14 +197,14 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-next-6eadbe0c4-20230425\",\n- \"react-experimental-builtin\": \"npm:react@0.0.0-experimental-6eadb...
2023-05-03T21:03:19
nodejs/node
892c51f330f99b7eb57481e183df61530a9c5956
bd9109c24165109a1d0585790f3ed963506d8ef3
util: improve inspect edge cases This makes sure `compact` number mode causes small proxies and map entries to be printed on a single line. It also fixed the line break calculation for `compact` mode when not set to `true`. It now also adds the additional whitespace, comma and quotes to the formula to prevent exceedi...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -424,7 +424,8 @@ function formatProxy(ctx, proxy, recurseTimes) {\n formatValue(ctx, proxy[1], recurseTimes)\n ];\n ctx.indentationLvl -= 2;\n- return reduceToSingleString(ctx, res, '', ['Proxy [', ']']);\n+ return reduceToSingleString(\n+ ...
2019-04-05T20:02:57
electron/electron
eac2f6fec3272dbc5fcd6724c59fb77b14fb29c9
d4de4505b83633fb9cb5e7cab14aeea53c70a931
:apple: only add sub menus to Window when they actually have menu items. fixes #3873
[ { "path": "atom/browser/ui/cocoa/atom_menu_controller.mm", "patch": "@@ -148,10 +148,11 @@ - (void)addItemToMenu:(NSMenu*)menu\n \n // Set submenu's role.\n base::string16 role = model->GetRoleAt(index);\n- if (role == base::ASCIIToUTF16(\"window\"))\n+ if (role == base::ASCIIToUTF16(\"window\...
2015-12-31T03:36:02
huggingface/transformers
75da795d8f93296ae226706f7150bee2479b5bab
080d704af11d8e0cff7fc1156166b7912b198d36
🚨 Remove torch.fx support (#41683) * remove all * fix comments * better checks * doc
[ { "path": "docs/source/ja/perf_train_gpu_many.md", "patch": "@@ -472,8 +472,6 @@ FlexFlowは、サンプル-オペレータ-属性-パラメータの4D並列化\n \n したがって、このフレームワークの約束は非常に魅力的です。選択したクラスタで30分間のシミュレーションを実行し、この特定の環境を最適に利用するための最良の戦略を提供します。部分を追加/削除/置換すると、それに対して実行して再最適化プランを作成します。その後、トレーニングできます。異なるセットアップには独自の最適化があります。\n \n-🤗 Transformersの現在...
2025-10-17T14:12:46
golang/go
ab7905540bf83b85cdbd6574e54319126df9dae8
0e1d553b4d98b71799b86b0ba9bc338de29b7dfe
cmd/go/internal/modload: fix up main-module checks from CL 334932 Some critical Version == "" checks were missing in mvs.go, causing mvs.Req to fail to retain requirements provided by older versions of main modules. A few checks also ought to be rotated to put the less expensive string-equality checks before the more...
[ { "path": "src/cmd/go/internal/modget/get.go", "patch": "@@ -1124,7 +1124,7 @@ func (r *resolver) loadPackages(ctx context.Context, patterns []string, findPack\n \t}\n \n \topts.AllowPackage = func(ctx context.Context, path string, m module.Version) error {\n-\t\tif m.Path == \"\" || m.Version == \"\" && mo...
2021-11-29T19:26:44
vercel/next.js
7092266076f1633f37e16f1b9a07f8192792ebba
1905d14d771b1a59090901285d69c9728deafc8e
Add support for app global and segment 404 pages (#49085) See https://github.com/vercel/turbo/pull/4776 This adds support for: * Default and custom global app 404 pages (`app/not-found`). * Segment-level 404 pages (`app/segment/not-found`). This also updates Turbopack: * https://github.com/vercel/turbo/pu...
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230502.4#4f6069c14b5fcb33fc5574c69fcfe3b6c0194b5c\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-03T18:10:17
rust-lang/rust
e0cb4ced0a42d137b2f85f06dd45667299863fa2
4ead403c9126c21343cf65c28351cb416c180367
Check the MSRV for `unnecessary_debug_formatting` `unnecessary_debug_formatting` suggests display() respected for MSRV but lacking of tests. This adds tests to check MSRV for OsStr. changelog: none
[ { "path": "tests/ui/unnecessary_os_str_debug_formatting.rs", "patch": "@@ -21,3 +21,16 @@ fn main() {\n let _: String = format!(\"{:?}\", os_str); //~ unnecessary_debug_formatting\n let _: String = format!(\"{:?}\", os_string); //~ unnecessary_debug_formatting\n }\n+\n+#[clippy::msrv = \"1.86\"]\n+f...
2025-06-21T05:43:00
nodejs/node
3d6533ea02d53a11f550769c70028d00b8d2d391
eb8a51a35c961fe36ec78ccb4a176e7091408ba1
test: simplify vm-module-errors test Use `assert.rejects` to test error cases. This simplifies the test. PR-URL: https://github.com/nodejs/node/pull/27123 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: James M S...
[ { "path": "test/parallel/test-vm-module-errors.js", "patch": "@@ -8,26 +8,6 @@ const assert = require('assert');\n \n const { SourceTextModule, createContext } = require('vm');\n \n-async function expectsRejection(fn, settings) {\n- const validateError = common.expectsError(settings);\n- // Retain async c...
2019-04-07T16:32:03
electron/electron
ba26a4b4e69089d7447d56e53fb6014a3b1182d8
d4de4505b83633fb9cb5e7cab14aeea53c70a931
:apple: fix #3864 where saving a file causes a crash if file extension array is empty
[ { "path": "atom/browser/ui/file_dialog_mac.mm", "patch": "@@ -34,7 +34,12 @@ void SetAllowedFileTypes(NSSavePanel* dialog, const Filters& filters) {\n [file_type_set addObject:base::mac::CFToNSCast(ext_cf.get())];\n }\n }\n- [dialog setAllowedFileTypes:[file_type_set allObjects]];\n+\n+ NSArra...
2015-12-30T20:38:02
huggingface/transformers
080d704af11d8e0cff7fc1156166b7912b198d36
c01ceffeb48157d3b7fd3f44f5a58a553b9f172d
Fix Pylint warnings (#41644) * Fix pylint warnings Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Raise with an exception Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "examples/legacy/seq2seq/run_distributed_eval.py", "patch": "@@ -252,8 +252,7 @@ def gather_results_from_each_node(num_replicas, save_dir, timeout) -> list[dict[\n return json_data\n except JSONDecodeError:\n continue\n- else:\n- raise TimeoutError(\"Rank ...
2025-10-17T13:09:42
golang/go
0e1d553b4d98b71799b86b0ba9bc338de29b7dfe
a412b5f0d803b261b8075289bf41599490f237cc
cmd/compile: fix identical to recognize any and interface{} Currently, identical handles any and interface{} by checking against Types[TINTER]. This is not always true, since when two generated interface{} types may not use the same *Type instance. Instead, we must check whether Type is empty interface or not. Fixes...
[ { "path": "src/cmd/compile/internal/types/identity.go", "patch": "@@ -59,7 +59,8 @@ func identical(t1, t2 *Type, flags int, assumedEqual map[typePair]struct{}) bool\n \t\tcase TINT32:\n \t\t\treturn (t1 == Types[TINT32] || t1 == RuneType) && (t2 == Types[TINT32] || t2 == RuneType)\n \t\tcase TINTER:\n-\t\t\...
2021-11-30T09:58:36
vercel/next.js
1905d14d771b1a59090901285d69c9728deafc8e
1e75beada24b35e312b028fa3d1797b4c2c028b2
app-router: fix stale cache handling (#49160) There was a bug reported in https://github.com/vercel/next.js/issues/42991#issuecomment-1532967037 that would hang on load. After investigation, I noticed that it was because the cache node never applied the flight payload. It was because the requested flight payload was...
[ { "path": "packages/next/src/client/components/router-reducer/reducers/navigate-reducer.ts", "patch": "@@ -288,7 +288,8 @@ export function navigateReducer(\n currentCache,\n flightSegmentPath,\n treePatch,\n- () => fetchServerResponse(url, newTree!, state.nextUrl)\n+ ...
2023-05-03T17:23:15
rust-lang/rust
29a8b831b1a2151d67ab7dbfd018349f37303128
808e066ed1ce7b066e73316235323c13c120d5b8
fix: Correct grammar in remove all unused imports assist
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/remove_unused_imports.rs", "patch": "@@ -117,7 +117,7 @@ pub(crate) fn remove_unused_imports(acc: &mut Assists, ctx: &AssistContext<'_>)\n if unused.peek().is_some() {\n acc.add(\n AssistId::quick_fix(\"remove_unused_...
2025-06-21T05:48:55
golang/go
a412b5f0d803b261b8075289bf41599490f237cc
7ccbcc90560468937f02609a43cb39a6e13ff797
runtime: skip TestSignalIgnoreSIGTRAP on all OpenBSD builders TestSignalIgnoreSIGTRAP is flaky on OpenBSD and the cause is suspected to be a kernel bug. This test is currently only skipped on the previous OpenBSD 6.2 and 6.4 builders for #17496. In the meantime the OpenBSD builders were upgraded to more recent OpenBSD...
[ { "path": "src/runtime/crash_unix_test.go", "patch": "@@ -14,7 +14,6 @@ import (\n \t\"os/exec\"\n \t\"runtime\"\n \t\"runtime/debug\"\n-\t\"strings\"\n \t\"sync\"\n \t\"syscall\"\n \t\"testing\"\n@@ -250,9 +249,7 @@ func TestSignalExitStatus(t *testing.T) {\n \n func TestSignalIgnoreSIGTRAP(t *testing.T) {...
2021-11-30T22:21:39
rust-lang/rust
e50ef68f0c617a3024dd1bcbf7941977f21028e1
62fd159a5d565aa571b70b31d5dfefc2b6fdbcfd
fix: `wildcard_enum_match_arm` suggests wrongly with raw identifiers
[ { "path": "clippy_lints/src/matches/match_wild_enum.rs", "patch": "@@ -1,4 +1,5 @@\n use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_and_then};\n+use clippy_utils::source::SpanRangeExt;\n use clippy_utils::ty::is_type_diagnostic_item;\n use clippy_utils::{is_refutable, peel_hir_pat_refs, recur...
2025-06-21T05:41:38
vercel/next.js
1e75beada24b35e312b028fa3d1797b4c2c028b2
d62755a533920a95693edb4056fd24b8f299fd5e
Fix CSS module imports not included in root not-found file (#49155) When using the `not-found.js` file to match missed routes, `serverCSSForEntries` will always be empty as the `ComponentMod.pages` itself doesn't contain any actual entry. We need to handle that as a special case. Closes #48133.
[ { "path": "packages/next/src/server/app-render/get-css-inlined-link-tags.tsx", "patch": "@@ -27,13 +27,19 @@ export function getCssInlinedLinkTags(\n }\n const chunks = new Set<string>()\n \n+ const isNotFoundPage = /(\\/|\\\\)not-found/.test(filePathWithoutExt)\n+\n for (const mod of layoutOrPageCss...
2023-05-03T16:45:12
electron/electron
20d03b10d9004787f4b5ab2b78654e1a29372a96
c0f06852963bd74bb80ca21088aed2a73da5b82a
osx: Implement clear recent documents Fixes #3932
[ { "path": "atom/browser/browser_mac.mm", "patch": "@@ -29,6 +29,7 @@\n }\n \n void Browser::ClearRecentDocuments() {\n+ [[NSDocumentController sharedDocumentController] clearRecentDocuments:nil];\n }\n \n void Browser::SetAppUserModelID(const base::string16& name) {", "additions": 1, "deletions": 0...
2015-12-30T00:35:54
rust-lang/rust
59a3399148d02d412485999dee78c0e72a54c0a5
40ba7913fc229ff2d17824fadc3b7c66a931f040
Fix some comments. As per the previous commit, generic args here can only appear on the final segment. So make the comments obey that constraint.
[ { "path": "src/rustdoc-json-types/lib.rs", "patch": "@@ -277,8 +277,8 @@ pub struct PolyTrait {\n /// A set of generic arguments provided to a path segment, e.g.\n ///\n /// ```text\n-/// std::option::Option::<u32>::None\n-/// ^^^^^\n+/// std::option::Option<u32>\n+/// ...
2025-06-14T10:22:30
golang/go
5f63f168daa9644bcc723077e9e2e1796639f6bb
931d80ec17374e52dbc5f9f63120f8deb80b355d
runtime: add invalidptr=0 for TestGcZombieReporting pointers in zombies slice may cross-span, add invalidptr=0 for avoiding the badPointer check Fixes #49613 Change-Id: Ifb1931922170e87e799e2e6081dc85dab3890205 Reviewed-on: https://go-review.googlesource.com/c/go/+/367044 Trust: Emmanuel Odeke <emmanuel@orijtech.com...
[ { "path": "src/runtime/gc_test.go", "patch": "@@ -196,7 +196,10 @@ func TestPeriodicGC(t *testing.T) {\n \n func TestGcZombieReporting(t *testing.T) {\n \t// This test is somewhat sensitive to how the allocator works.\n-\tgot := runTestProg(t, \"testprog\", \"GCZombie\")\n+\t// Pointers in zombies slice may...
2021-11-25T13:16:28
huggingface/transformers
10de06dacef06605be3296f776d4122697637d6c
def9a7ef057b13d04aeeaa150e3ce63afa151d4e
🚨 [v5] Refactor RoPE for layer types (#39847) * update * batch update model code * typos * too many diffs, dump * dump again * another dump * fix copies * make `rope_scaling_dict` self attr * fix a few more tests * another update * fix a few more tests, hopefully last ones * fox copies * fix copies again ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1253,6 +1253,8 @@\n title: Importing Utilities\n - local: internal/time_series_utils\n title: Utilities for Time Series\n+ - local: internal/rope_utils\n+ title: Rotary Embeddings Utilities\n title: Internal helpers\n - sec...
2025-10-17T12:57:27
vercel/next.js
e69f1f84b7d9919277fb3bd59eedcab69b6ff354
dc6f0fde8c338ade488ca0004b14cf865eac8863
Bugfixes for free var and binding replacement (vercel/turbo#4787) ### Description * fixes a crash in an edge case in the path visitor * fixes replacement of members of free vars * fixes esm bindings applied on member props. See example ``` js import * as Something from "somewhere"; a.Something // should no...
[ { "path": "crates/turbopack-core/src/compile_time_info.rs", "patch": "@@ -1,6 +1,5 @@\n-use std::collections::HashMap;\n-\n use anyhow::Result;\n+use indexmap::IndexMap;\n use turbo_tasks_fs::FileSystemPathVc;\n \n use crate::environment::EnvironmentVc;\n@@ -54,7 +53,7 @@ macro_rules! definable_name_map_int...
2023-05-03T15:05:52
electron/electron
4fd08cccb4318a91d76966ee3306c5050d870648
9ffe502fb1f3aa801ca7800ef69a50ff0ee72fbc
Fixing link to web contents from ipcMain
[ { "path": "docs/api/ipc-main.md", "patch": "@@ -7,7 +7,7 @@ a renderer will be emitted to this module.\n ## Sending Messages\n \n It is also possible to send messages from the main process to the renderer\n-process, see [webContents.send][webcontents-send] for more information.\n+process, see [webContents.s...
2015-12-27T03:21:10
rust-lang/rust
40ba7913fc229ff2d17824fadc3b7c66a931f040
18d742bda07d6f5d047c249cdd533c0e462b3298
rustdoc_json: Fix handling of paths with no generic args. A path without generic args, like `Reader`, currently has JSON produced like this: ``` {"path":"Reader","id":286,"args":{"angle_bracketed":{"args":[],"constraints":[]}}} ``` Even though `types::Path::args` is `Option` and allows for "no args", instead it gets r...
[ { "path": "src/librustdoc/json/conversions.rs", "patch": "@@ -579,7 +579,24 @@ impl FromClean<clean::Path> for Path {\n Path {\n path: path.whole_name(),\n id: renderer.id_from_item_default(path.def_id().into()),\n- args: path.segments.last().map(|args| Box::new(ar...
2025-06-14T10:14:51
golang/go
682435dd9991040073ae12021fac164b41376502
18934e11ba6ef2b2f21f091ddf4ab6814dcf1959
misc/cgo/test: reduce likeliness of hang in Test9400 If a GC triggers while spinning in RewindAndSetgid, it may result in this test hanging. Avoid it by disabling the collector before entering the uninterruptable ASM conditional wait. Fixes #49695 Change-Id: Ie0a03653481fb746f862469361b7840f4bfa8b67 Reviewed-on: htt...
[ { "path": "misc/cgo/test/testdata/issue9400_linux.go", "patch": "@@ -15,6 +15,7 @@ import \"C\"\n \n import (\n \t\"runtime\"\n+\t\"runtime/debug\"\n \t\"sync/atomic\"\n \t\"testing\"\n \n@@ -46,6 +47,10 @@ func test9400(t *testing.T) {\n \t\tbig[i] = pattern\n \t}\n \n+\t// Disable GC for the duration of t...
2021-11-19T22:33:42
huggingface/transformers
0beda2aa3a24fb24a5d39d0c5f1c9ba52c6587ce
0b3aef1da94c853b1070f12f4caea5d9d05e2f56
Fix MarkDown syntax (#41676) Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/source/en/executorch.md", "patch": "@@ -29,4 +29,5 @@ optimum-cli export executorch \\\n --qembedding 8w \\\n --output_dir=\"hf_smollm2\"\n ```\n+\n Run `optimum-cli export executorch --help` to see all export options. For detailed export instructions, check the [README](optimum/expo...
2025-10-17T12:44:27
nodejs/node
eb8a51a35c961fe36ec78ccb4a176e7091408ba1
1656cd2edbf566acd1c1efc299bd712df59e2847
child_process: use non-infinite maxBuffer defaults Set the default maxBuffer size to 204,800 bytes for execSync, execFileSync, and spawnSync. APIs that return the child output as a string should have non-infinite defaults for maxBuffer sizes to avoid out-of-memory error conditions. A non-infinite default used to be t...
[ { "path": "doc/api/child_process.md", "patch": "@@ -721,7 +721,7 @@ changes:\n process will be killed. **Default:** `'SIGTERM'`.\n * `maxBuffer` {number} Largest amount of data in bytes allowed on stdout or\n stderr. If exceeded, the child process is terminated. See caveat at\n- [`maxBuffer` an...
2018-09-22T18:11:21
vercel/next.js
a623653e166b171f9ae5f43156c7a2362292636e
c5468474d0bb8a2624ddd966892d9eed518a5753
Forward response to edge runtime for response modification (#49145) For edge runtime, we're modifying `res.statusCode` in actions handler, but we didn't forward the `res` object to it, previously we're using a fake `res` `{}`. This PR fixes it so that the propery status code will be returned to the client [slack-thre...
[ { "path": "packages/next/src/build/webpack/loaders/next-edge-ssr-loader/index.ts", "patch": "@@ -99,7 +99,7 @@ const edgeSSRLoader: webpack.LoaderDefinitionFunction<EdgeSSRLoaderQuery> =\n import {IncrementalCache} from 'next/dist/esm/server/lib/incremental-cache'\n \n enhanceGlobals()\n- \n+\n ...
2023-05-03T14:04:31
electron/electron
c76db0ba1d51a2100a0d920f099dfc4d9226cd4b
8ca1bea58b7397fdc7f96f33e409758396df685b
Fix coding styles
[ { "path": "atom/app/atom_content_client.cc", "patch": "@@ -19,13 +19,10 @@\n #include \"content/public/common/pepper_plugin_info.h\"\n #include \"content/public/common/user_agent.h\"\n #include \"ppapi/shared_impl/ppapi_permissions.h\"\n-#include \"url/url_constants.h\"\n-\n #include \"third_party/widevine/...
2015-12-29T08:41:44
huggingface/transformers
7370a1babde67227464d7d7fb15fb19f29c6ea86
151d6adc8697a65721764712df3908170efdf8fd
path validation for security reason (#41256) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/convert_slow_tokenizers_checkpoints_to_fast.py", "patch": "@@ -15,6 +15,7 @@\n \n import argparse\n import os\n+from pathlib import Path\n \n import transformers\n \n@@ -69,6 +70,15 @@ def convert_slow_checkpoint_to_fast(tokenizer_name, checkpoint_name, dump_path,\n i...
2025-10-17T10:36:04
golang/go
18934e11ba6ef2b2f21f091ddf4ab6814dcf1959
f463b20789c89f0d22e56663a34e57a942f945cf
net/http: eliminate arbitrary timeout in TestClientWriteShutdown This test occasionally hangs on the darwin-arm64-11_0-toothrot builder. When it does, it fails with the unhelpful error message "timeout" instead of a useful goroutine dump. This change eliminates the use of an arbitrary timeout channel, so that if (and...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -3075,22 +3075,14 @@ func TestClientWriteShutdown(t *testing.T) {\n \tif err != nil {\n \t\tt.Fatalf(\"CloseWrite: %v\", err)\n \t}\n-\tdonec := make(chan bool)\n-\tgo func() {\n-\t\tdefer close(donec)\n-\t\tbs, err := io.ReadAll(conn)\n-\t\tif err != nil...
2021-11-29T20:17:36
nodejs/node
d1413305e024ed1da97a10804f63c3de21218c2d
bf766c1b44c68b47153339b84e12bef0f33e7ee7
test: print child stderr in test-http-chunk-problem This helps with debugging test failures. PR-URL: https://github.com/nodejs/node/pull/27117 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: James M Snell ...
[ { "path": "test/parallel/test-http-chunk-problem.js", "patch": "@@ -52,6 +52,9 @@ function executeRequest(cb) {\n `\"${__filename}\"`,\n 'shasum' ].join(' '),\n (err, stdout, stderr) => {\n+ if (stderr.trim() !== '') {\n+ console.log(stderr);\n+ ...
2019-04-06T21:30:38
huggingface/transformers
151d6adc8697a65721764712df3908170efdf8fd
252d7cd9524e561171bea3b7474f96cef9fd3465
Remove require_torch_bf16_gpu (#40979) * More cleanup Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Remove more functions Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> Co-aut...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -142,7 +142,6 @@\n is_tokenizers_available,\n is_torch_available,\n is_torch_bf16_available_on_device,\n- is_torch_bf16_gpu_available,\n is_torch_fp16_available_on_device,\n is_torch_greater_or_equal,\n is_torch_hpu_avail...
2025-10-17T10:35:19
electron/electron
2bbf86c524d8d5b4dbf09a48246eaac8767cdafc
5f3c6107d5db1367e8a04ff25457f429e947d65b
tray: Support file-drop from OS X Dock A long-standing Apple bug does not call `prepareForDragOperation:sender` for file drag-and-drop operations from the Dock. So we manually call our custom `handleDrop:sender` for all drag-and-drop cases (that is, from the Dock and from Finder). References to the bug in question: -...
[ { "path": "atom/browser/ui/tray_icon_cocoa.mm", "patch": "@@ -281,14 +281,14 @@ - (void)draggingExited:(id <NSDraggingInfo>)sender {\n \n - (void)draggingEnded:(id <NSDraggingInfo>)sender {\n trayIcon_->NotifyDragEnded();\n-}\n \n-- (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender {\n- trayIcon_...
2015-12-29T09:25:21
nodejs/node
ff89670902042cc6a6d99596c7e2d34fd11ad6a2
b925379f506714e942f49789b7eed7bc4232c7ee
n-api: reduce gc finalization stress https://github.com/nodejs/node/pull/24494 fixed a crash but resulted in increased stress on gc finalization. A leak was reported in https://github.com/nodejs/node/issues/26667 which we are still investigating. As part of this investigation I realized we can optimize to reduce amoun...
[ { "path": "src/js_native_api_v8.cc", "patch": "@@ -227,24 +227,26 @@ class Reference : private Finalizer {\n // from one of Unwrap or napi_delete_reference.\n //\n // When it is called from Unwrap or napi_delete_reference we only\n- // want to do the delete if the finalizer has already run,\n+ // wa...
2019-04-04T14:24:21
golang/go
f463b20789c89f0d22e56663a34e57a942f945cf
f90a42b41080cf5a289f151f2166d0d0a795e836
runtime: keep //go:cgo_unsafe_args arguments alive to prevent GC When syscall's DLL.FindProc calls into syscall_getprocaddress with a byte slice pointer, we need to keep those bytes alive. Otherwise the GC will collect the allocation, and we wind up calling `GetProcAddress` on garbage, which showed up as various flake...
[ { "path": "src/runtime/sys_darwin.go", "patch": "@@ -105,28 +105,38 @@ func syscallNoErr()\n //go:nosplit\n //go:cgo_unsafe_args\n func pthread_attr_init(attr *pthreadattr) int32 {\n-\treturn libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_init_trampoline)), unsafe.Pointer(&attr))\n+\tret := libcCall(un...
2021-11-29T20:07:04
huggingface/transformers
252d7cd9524e561171bea3b7474f96cef9fd3465
415cb37708d915acd257a5dc0a1a2e5b791c70d1
Remove deprecated `use_auth_token` parameter (#41666) * Remove deprecated use_auth_token * code styl * fix test * Update examples/pytorch/speech-recognition/README.md
[ { "path": "docs/source/en/hpo_train.md", "patch": "@@ -37,7 +37,6 @@ def model_init(trial):\n config=config,\n cache_dir=model_args.cache_dir,\n revision=model_args.model_revision,\n- token=True if model_args.use_auth_token else None,\n )\n ```\n ", "additions": 0, ...
2025-10-17T09:57:46
nodejs/node
0911e88056618766093a086fe643949eab430fa5
f96a6608eb63f4c6710c9c2078916655e32cf003
crypto: fix rsa key gen with non-default exponent EVP_PKEY_CTX_set_rsa_keygen_pubexp() accepts ownership of the exponent on success, so do not free it. Fixes: https://github.com/nodejs/node/issues/27087 PR-URL: https://github.com/nodejs/node/pull/27092 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ann...
[ { "path": "src/node_crypto.cc", "patch": "@@ -6084,8 +6084,10 @@ class RSAKeyPairGenerationConfig : public KeyPairGenerationConfig {\n BignumPointer bn(BN_new());\n CHECK_NOT_NULL(bn.get());\n CHECK(BN_set_word(bn.get(), exponent_));\n+ // EVP_CTX acceps ownership of bn on success.\n ...
2019-04-04T22:07:51
golang/go
f90a42b41080cf5a289f151f2166d0d0a795e836
3ca57c7fb8bfc9b8b633f71a7aaa9de5fe76f63d
cmd/compile: change iexportVersionGeneric to 2 Don't expect/allow generics-related info in iexportVersion 1, now that we increased the export version to 2. Fixes #49853 Change-Id: I9bacee7f8e7cb9bb3b02a00084fad77edd220121 Reviewed-on: https://go-review.googlesource.com/c/go/+/367634 Trust: Dan Scales <danscales@goog...
[ { "path": "src/cmd/compile/internal/importer/iimport.go", "patch": "@@ -45,7 +45,7 @@ func (r *intReader) uint64() uint64 {\n const (\n \tiexportVersionGo1_11 = 0\n \tiexportVersionPosCol = 1\n-\tiexportVersionGenerics = 1 // probably change to 2 before release\n+\tiexportVersionGenerics = 2\n \tiexport...
2021-11-29T20:04:42
huggingface/transformers
415cb37708d915acd257a5dc0a1a2e5b791c70d1
1eb45cd61dd9068e9ce53a216bd0bfa6f62d0548
torch 2.9 still don't ❤️ torchcodec 0.8 💔 (#41686) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/examples-torch.dockerfile", "patch": "@@ -5,7 +5,7 @@ USER root\n RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git-lfs ffmpeg curl\n ENV UV_PYTHON=/usr/local/bin/python\n RUN pip --no-cache-dir inst...
2025-10-17T09:57:28
vercel/next.js
79ef1d69ac30a52cc61ecb78690faba22ead8582
70c6f94d95c85d8f32e1d3c057316b03d432ccad
fix(ts): make `ReadonlyHeaders` more compatible with `Headers` (#49075) ### What? Make it possible to pass `headers()` where the `Headers` type is expected. An example would be `fetch`: ```ts import { headers } from "next/headers" // ... fetch("https://example.com", { headers: headers() }) ``` ### Wh...
[ { "path": "packages/next/src/server/web/spec-extension/adapters/headers.ts", "patch": "@@ -17,8 +17,14 @@ export class ReadonlyHeadersError extends Error {\n }\n }\n \n-export type ReadonlyHeaders = Omit<Headers, 'append' | 'delete' | 'set'>\n-\n+export type ReadonlyHeaders = Headers & {\n+ /** @deprecat...
2023-05-03T12:33:51
nodejs/node
f96a6608eb63f4c6710c9c2078916655e32cf003
93df0853866bbdf40cc5877ac893e2fae1479d39
test: fix test-worker-memory.js for large cpu #s This test consistently failed on a system with a large number of cores (~120). Cap the number of concurrent workers so we'll stay consistently within the "slack" allowed with respect to rss. PR-URL: https://github.com/nodejs/node/pull/27090 Reviewed-By: Ruben Bridgewat...
[ { "path": "test/parallel/test-worker-memory.js", "patch": "@@ -4,7 +4,13 @@ const assert = require('assert');\n const util = require('util');\n const { Worker } = require('worker_threads');\n \n-const numWorkers = +process.env.JOBS || require('os').cpus().length;\n+let numWorkers = +process.env.JOBS || requ...
2019-04-04T17:03:48
electron/electron
ffc2870ccb6767378f0eb188a642d23bf00c2939
3d2163230b4b43b420d72b4073fd2ab8b35389d5
Fix circular reference caused by Object.defineProperty
[ { "path": "atom/renderer/api/lib/remote.coffee", "patch": "@@ -75,18 +75,7 @@ metaToValue = (meta) ->\n if member.type is 'function'\n ret[member.name] = createRemoteMemberFunction meta.id, member.name\n else\n- do (member) ->\n- Object.defineProperty ret, membe...
2015-12-29T02:17:35
golang/go
3ca57c7fb8bfc9b8b633f71a7aaa9de5fe76f63d
186f375ecfdd0f9eae109464a93bb0ba8c993f45
go/types, types2: handle case of no specific target types in conversion Avoid a panic by handling the case of no specific target type in a type parameter to type parameter conversions. Fixes #49864 Change-Id: I117dd80cc9d47c8c1e168f1caf0f281726270c84 Reviewed-on: https://go-review.googlesource.com/c/go/+/367616 Trus...
[ { "path": "src/cmd/compile/internal/types2/conversions.go", "patch": "@@ -233,6 +233,9 @@ func (x *operand) convertibleTo(check *Checker, T Type, cause *string) bool {\n \t\t\t}\n \t\t\tx.typ = V.typ\n \t\t\treturn Tp.is(func(T *term) bool {\n+\t\t\t\tif T == nil {\n+\t\t\t\t\treturn false // no specific ty...
2021-11-29T22:39:19
vercel/next.js
70c6f94d95c85d8f32e1d3c057316b03d432ccad
1e9e8b2666def724f9345a03819cd585c117719e
Revert "Revert "Fix cross-worker revalidate API" (#49138)" (#49141) Revert #49138 and split the server-ipc file into smaller modules.
[ { "path": "packages/next/src/server/api-utils/node.ts", "patch": "@@ -27,7 +27,6 @@ import {\n SYMBOL_PREVIEW_DATA,\n RESPONSE_LIMIT_DEFAULT,\n } from './index'\n-import { createRequestResponseMocks } from '../lib/mock-request'\n import { getTracer } from '../lib/trace/tracer'\n import { NodeSpan } from...
2023-05-03T11:42:21
nodejs/node
93df0853866bbdf40cc5877ac893e2fae1479d39
0a25ace9c35b62ece4d32fd90b326d8063265109
test: fix this scope bug in test-stream2-writable.js PR-URL: https://github.com/nodejs/node/pull/27111 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng...
[ { "path": "test/parallel/test-stream2-writable.js", "patch": "@@ -322,13 +322,14 @@ for (let i = 0; i < chunks.length; i++) {\n assert.strictEqual(this.writing, undefined);\n wrote = true;\n this.writing = true;\n- setTimeout(function() {\n+ setTimeout(() => {\n this.writing = false;...
2019-04-06T03:01:23
electron/electron
b5fd491c2dd60a3d5f8c527891d7fdaa72f06cdc
6fe39e79f44714559460ae1420fd677d983942f3
Fix circular reference caused by RemoteMemberFunction
[ { "path": "atom/renderer/api/lib/remote.coffee", "patch": "@@ -72,32 +72,21 @@ metaToValue = (meta) ->\n \n # Polulate delegate members.\n for member in meta.members\n- do (member) ->\n- if member.type is 'function'\n- ret[member.name] =\n- class RemoteMembe...
2015-12-28T14:31:14
golang/go
186f375ecfdd0f9eae109464a93bb0ba8c993f45
c402d64f37f819b0f2d9949c6895e342191d11d6
go/types: ensure that constructed type parameters are immutable TypeParam.iface may mutate TypeParam.bound in the event that the type parameter bound is not an interface. Ensure that iface() is called before the type-checking pass returns, and before NewTypeParam or TypeParam.SetConstraint exits. Fixes #49788 Chang...
[ { "path": "src/cmd/compile/internal/types2/typeparam.go", "patch": "@@ -21,7 +21,7 @@ type TypeParam struct {\n \tid uint64 // unique id, for debugging only\n \tobj *TypeName // corresponding type name\n \tindex int // type parameter index in source order, starting at 0\n-\tbound Type // ...
2021-11-29T19:52:54
huggingface/transformers
1eb45cd61dd9068e9ce53a216bd0bfa6f62d0548
354567d955fbc5fbd70fc841b7a7bcc654bea3f1
Fix ckpt in docs (#41659) * fix ckpt in docs * fix config ckpt
[ { "path": "docs/source/en/model_doc/florence2.md", "patch": "@@ -70,8 +70,8 @@ from transformers import AutoProcessor, Florence2ForConditionalGeneration\n url = \"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg?download=true\"\n image = Image.open(req...
2025-10-17T09:00:34
vercel/next.js
1e9e8b2666def724f9345a03819cd585c117719e
cfd27e96a47d121df74f3e84da2923b82914feaf
Revert "Fix cross-worker revalidate API" (#49138) Reverts vercel/next.js#49101 It breaks Turbopack
[ { "path": "packages/next/src/server/api-utils/node.ts", "patch": "@@ -27,6 +27,7 @@ import {\n SYMBOL_PREVIEW_DATA,\n RESPONSE_LIMIT_DEFAULT,\n } from './index'\n+import { createRequestResponseMocks } from '../lib/mock-request'\n import { getTracer } from '../lib/trace/tracer'\n import { NodeSpan } from...
2023-05-03T10:53:58
nodejs/node
cd2987f83f0e2feff5e7abf849703acbfcbbace8
1302e0174a6d6917b7c2708bf1f9cb4841a041d0
tools: refloat 4 Node.js patches to cpplint.py * Add 3 Node.js checks * Adjest cpplint.py header rules to Node.js convention Cherry-pick 12c8b4d15471cb6211b39c3a2ca5b10fa4b9f12b Original commit message: This commit is a suggestion for adding a rule for NULL usages in the code base. This will currently report ...
[ { "path": "tools/cpplint.py", "patch": "@@ -280,6 +280,7 @@\n 'build/include',\n 'build/include_subdir',\n 'build/include_alpha',\n+ 'build/include_inline',\n 'build/include_order',\n 'build/include_what_you_use',\n 'build/namespaces_literals',\n@@ -294,11 +295,13 @@\n 'readab...
2019-01-28T23:34:46
huggingface/transformers
354567d955fbc5fbd70fc841b7a7bcc654bea3f1
4dd4133d3226d5b7a01ede9c4284384f1d62e532
Adding superglue fast image processing (#41394) * Default implementation - no time improvement * Improved implementation - apparently 2 times faster with only simple function refactor * elementary torch first approach, still need further implementation of torch first method * torch-first approach finished * refact...
[ { "path": "docs/source/en/model_doc/superglue.md", "patch": "@@ -88,16 +88,16 @@ processed_outputs = processor.post_process_keypoint_matching(outputs, image_size\n import torch\n from PIL import Image\n import requests\n- \n+\n processor = AutoImageProcessor.from_pretrained(\"magic-leap-c...
2025-10-16T19:34:09
golang/go
c402d64f37f819b0f2d9949c6895e342191d11d6
ebd0b778c92c4dfc71195ef83d71116957e173ad
go/types: consider structural restrictions in Implements Fixes #49786 Change-Id: I4559d013399deda48bcb97aef3427ecf87a3ef26 Reviewed-on: https://go-review.googlesource.com/c/go/+/367515 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>...
[ { "path": "src/cmd/compile/internal/types2/api.go", "patch": "@@ -440,8 +440,16 @@ func ConvertibleTo(V, T Type) bool {\n \n // Implements reports whether type V implements interface T.\n func Implements(V Type, T *Interface) bool {\n-\tf, _ := MissingMethod(V, T, true)\n-\treturn f == nil\n+\tif T.Empty() ...
2021-11-29T17:21:46
vercel/next.js
cfd27e96a47d121df74f3e84da2923b82914feaf
c09b0a0890b6562c800b3cf7e2c75e6fb14c240c
Remove writing vscode config (#49133) ## What? Removes writing the `.vscode/settings.json` config. This config is needed in order to leverage the new Next.js TypeScript plugin. What we'll do instead is add a message in the docs on how to enable it. We'll also explore a VSCode extension that warns when you don't ...
[ { "path": "packages/next/src/lib/typescript/writeVscodeConfigurations.ts", "patch": "@@ -1,61 +0,0 @@\n-import path from 'path'\n-import isError from '../is-error'\n-import { promises as fs } from 'fs'\n-import * as Log from '../../build/output/log'\n-import * as CommentJson from 'next/dist/compiled/comment...
2023-05-03T10:15:59
huggingface/transformers
4dd4133d3226d5b7a01ede9c4284384f1d62e532
eefbf4ac8b1f34e30e8eaeb0130f75666a60e57e
:globe_with_meridians: [i18n-KO] Translated `ko-LFM2.md` to Korean (#41502) * feat: nmt draft * fix: manual edits * Update docs/source/ko/model_doc/lfm2.md Co-authored-by: Yijun Lee <119404328+yijun-lee@users.noreply.github.com> * Update docs/source/ko/model_doc/lfm2.md Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail....
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -603,7 +603,7 @@\n title: Jukebox\n - local: in_translation\n title: LED\n- - local: in_translation\n+ - local: model_doc/lfm2\n title: LFM2\n - local: in_translation\n title: LFM2-VL", "additions...
2025-10-16T18:29:04
nodejs/node
d834275a48bc1f85e2289bf7e52a5035a4d97f7e
fadcb2d85088c0763907b2d41034f7cd67842ed8
buffer: fix custom inspection with extra properties This broke due to a recent change that prevents exposing inspect internals. It now relies on the public API instead and should be a bit more robust due to that. PR-URL: https://github.com/nodejs/node/pull/27074 Reviewed-By: Michaël Zasso <targos@protonmail.com> Revi...
[ { "path": "lib/buffer.js", "patch": "@@ -59,8 +59,7 @@ const {\n isUint8Array\n } = require('internal/util/types');\n const {\n- formatProperty,\n- kObjectType\n+ inspect: utilInspect\n } = require('internal/util/inspect');\n \n const {\n@@ -665,13 +664,24 @@ Buffer.prototype[customInspectSymbol] = fun...
2019-04-03T17:54:37
rust-lang/rust
1e30fa253be8aa18fd3d36568be7435c26d3a80c
35026c7ea8aab0e7680e7f84740fafcdeb6f11a9
Fix typo in tests/ui/missing_const_for_fn/const_trait.rs
[ { "path": "tests/ui/missing_const_for_fn/const_trait.fixed", "patch": "@@ -25,7 +25,7 @@ const fn can_be_const() {\n 0u64.method();\n }\n \n-// False negative, see FIXME comment in `clipy_utils::qualify_min_const`\n+// False negative, see FIXME comment in `clippy_utils::qualify_min_const_fn`\n fn could_...
2025-06-20T23:17:35
golang/go
ebd0b778c92c4dfc71195ef83d71116957e173ad
bc32dd1b69b0629a54cfe50626e42eb4b75eb017
go/types: better error message for missing ~ in constraint This is a port of CL 366758 from types2 to go/types. For #49179. Change-Id: I7e1c6ffb392d5c535cf901004b7acbe8c3be9b0f Reviewed-on: https://go-review.googlesource.com/c/go/+/367199 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@gol...
[ { "path": "src/go/types/instantiate.go", "patch": "@@ -239,9 +239,28 @@ func (check *Checker) implements(V, T Type, qf Qualifier) error {\n \t}\n \n \t// Otherwise, V's type must be included in the iface type set.\n-\tif !Ti.typeSet().includes(V) {\n-\t\t// TODO(gri) report which type is missing\n-\t\tretur...
2021-11-26T21:27:12
huggingface/transformers
eefbf4ac8b1f34e30e8eaeb0130f75666a60e57e
50ca781d7857ef72f7e9185fe9efbe7aed2691a4
🌐 [i18n-KO] Translated llama4.md to Korean (#40396) * docs: ko: llama4.md * feat: nmt draft * fix: manual edits * Update docs/source/ko/model_doc/llama4.md Co-authored-by: YONGSANG <71686691+4N3MONE@users.noreply.github.com> * Update docs/source/ko/model_doc/llama4.md Co-authored-by: YONGSANG <71686691+4N3MONE@...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -1101,7 +1101,7 @@\n title: LayoutXLM\n - local: in_translation\n title: LiLT\n- - local: in_translation\n+ - local: model_doc/llama4\n title: Llama4\n - local: in_translation\n title: Llava", "ad...
2025-10-16T18:28:27
vercel/next.js
ffa23d28d44ba99584b02ecbe6829964ab564c4c
05cd5157e5c055b34cab8f5278e1ab7427678f99
Only read digest from error instance (#49132) ## What? Changes onRecoverableError to no longer read `errorInfo.digest`. In an earlier version of react@next the digest was provided on the errorInfo object but this is no longer the case and triggers a warning when read. Fixes https://twitter.com/devcassa/statu...
[ { "path": "packages/next/src/client/index.tsx", "patch": "@@ -509,7 +509,6 @@ function renderReactElement(\n if (!reactRoot) {\n // Unlike with createRoot, you don't need a separate root.render() call here\n reactRoot = ReactDOM.hydrateRoot(domEl, reactEl, {\n- // @ts-expect-error Missing err...
2023-05-03T09:21:13
nodejs/node
5a8c55f078fabe23c1c47ad3421899b445a83567
557bd861aad28f737d7e83d4bfd035ad84c3d5be
lib: fix outdated comment PR-URL: https://github.com/nodejs/node/pull/27122 Refs: https://github.com/nodejs/node/commit/7e2088f773d97e00e29cacdc20e1a36b80528be0 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -15,7 +15,7 @@\n // many dependencies are invoked lazily.\n //\n // Scripts run before this file:\n-// - `lib/internal/bootstrap/context.js`: to setup the v8::Context with\n+// - `lib/internal/per_context/setup.js`: to setup the v8::Context with\n // ...
2019-04-07T16:01:37
golang/go
bc32dd1b69b0629a54cfe50626e42eb4b75eb017
1ab677a797ab5cdb5c0248b2d63b753820e6ed49
go/types: better error position for instantiation failure This is a port of CL 366757 from types2 to go/types, adjusted for the different handling of index expressions in go/types. For #49179. Change-Id: Ic859eb09683134d055e28c8e0cb1f3814a87dc5c Reviewed-on: https://go-review.googlesource.com/c/go/+/367198 Trust: Ro...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -130,7 +130,7 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\t\targ(&x, i)\n \t\t\txlist = append(xlist, &x)\n \t\t}\n-\t\tcheck.arguments(call, sig, nil, xlist) // discard result (we know the result type)\n+\t\tche...
2021-11-26T21:14:01
vercel/next.js
05cd5157e5c055b34cab8f5278e1ab7427678f99
931c10129913a847cf6c4ba5f561b2ebf5b8edcc
app router: Fix infinite redirect loop in MPA navigation (#49058) Not 100% convinced that this is the correct fix but it's the best I can think of. Previously, we would sometimes call location.assign()/.replace() hundreds of times (or more) as I described in https://github.com/vercel/next.js/issues/48438 and ht...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -1,7 +1,7 @@\n 'use client'\n \n import type { ReactNode } from 'react'\n-import React, { useEffect, useMemo, useCallback } from 'react'\n+import React, { use, useEffect, useMemo, useCallback } from 'react'\n import {\n AppRouter...
2023-05-03T09:04:53
nodejs/node
75463a9004a62d120e0590f86adb923f28c9cd13
eb2d4161f56efa7d82a6364734c674757f1f3ea4
assert: fix rejects stack trace and operator This makes sure the stack trace is not removed due to a wrong stack start function being used. It also fixes the wrong operator caused by the same reason. This only applies in case an validation object was used to validate the rejection passed to `assert.reject()` as first ...
[ { "path": "lib/assert.js", "patch": "@@ -502,7 +502,7 @@ class Comparison {\n }\n }\n \n-function compareExceptionKey(actual, expected, key, message, keys) {\n+function compareExceptionKey(actual, expected, key, message, keys, fn) {\n if (!(key in actual) || !isDeepStrictEqual(actual[key], expected[key]...
2019-04-02T01:12:42
golang/go
2f6d3820501b34ce530be8193789659c18db0867
1970e3e3b7b6c42676acc22071ced887ac68b520
go/types: report types for mismatched call and return statements This is a port of CL 364874 from types2 to go/types with various adjustments: - the error position for "not enough arguments" in calls is the closing ) rather than the position of the last provided argument - the ERROR comments in tests are positione...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -9,7 +9,7 @@ package types\n import (\n \t\"fmt\"\n \t\"go/ast\"\n-\t\"go/token\"\n+\t\"strings\"\n )\n \n // assignment reports whether x can be assigned to a variable of type T,\n@@ -238,6 +238,58 @@ func (check *Checker) assignVar(lhs ast.Expr, x *ope...
2021-11-25T00:48:00
huggingface/transformers
50ca781d7857ef72f7e9185fe9efbe7aed2691a4
8739fc05c463dfdf5729a69891cebfb7e52a6d60
🌐 [i18n-KO] Translated `code_llama.md` to Korean (#40558) * docs: ko: code_llama.md * feat: nmt draft * fix: manual edits * Apply suggestions from code review Co-authored-by: Harheem Kim <49297157+harheem@users.noreply.github.com> Co-authored-by: HyunZ118 <156191095+HyunZ118@users.noreply.github.com> * Apply sug...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -485,7 +485,7 @@\n title: CANINE\n - local: model_doc/codegen\n title: CodeGen\n- - local: in_translation\n+ - local: model_doc/code_llama\n title: CodeLlama\n - local: model_doc/cohere\n title: Coher...
2025-10-16T18:27:46
vercel/next.js
931c10129913a847cf6c4ba5f561b2ebf5b8edcc
e54e38a5a675f5fa498b43066e89cc9eb650c220
Fix cross-worker revalidate API (#49101) Currently we invoke the revalidate request directly in the current server when `res.revalidate()` is called. However app needs to be rendered in a separate worker so this results in an error of React. This PR fixes it by sending the request via IPC so the main process will ...
[ { "path": "packages/next/src/server/api-utils/node.ts", "patch": "@@ -27,7 +27,6 @@ import {\n SYMBOL_PREVIEW_DATA,\n RESPONSE_LIMIT_DEFAULT,\n } from './index'\n-import { createRequestResponseMocks } from '../lib/mock-request'\n import { getTracer } from '../lib/trace/tracer'\n import { NodeSpan } from...
2023-05-03T08:35:34
nodejs/node
58aaf58406ab52599d51d4e91249776b260487cc
3d8532f851f2f7a2f8380e717281eaa08b02fb35
test: fix test-repl-require-after-write Currently, the test creates a file in the cwd and doesn't clean it up. Use a temporary directory instead. PR-URL: https://github.com/nodejs/node/pull/27088 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinc...
[ { "path": "test/parallel/test-repl-require-after-write.js", "patch": "@@ -1,16 +1,22 @@\n 'use strict';\n \n const common = require('../common');\n+const tmpdir = require('../common/tmpdir');\n const assert = require('assert');\n-\n const spawn = require('child_process').spawn;\n+const path = require('path'...
2019-04-04T15:31:14
golang/go
1970e3e3b7b6c42676acc22071ced887ac68b520
f598e2962d3a358b59faa68471b6ed378fc68806
go/types: restore original assignment error messages This is the missing portion of the port of CL 351669 from types2 to go/types, now that we have a local flag to control for compiler error messages. Mostly a clean port but for adjustments to error reporting which requires error codes in go/types. Prerequisite for ...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -7,6 +7,7 @@\n package types\n \n import (\n+\t\"fmt\"\n \t\"go/ast\"\n \t\"go/token\"\n )\n@@ -237,6 +238,28 @@ func (check *Checker) assignVar(lhs ast.Expr, x *operand) Type {\n \treturn x.typ\n }\n \n+func (check *Checker) assignError(rhs []ast.Expr, ...
2021-11-25T00:18:57
huggingface/transformers
8739fc05c463dfdf5729a69891cebfb7e52a6d60
77b5ad65ee78d8089c61169c8473bece7c34a53f
[i18n-KO] Translated `big_bird.md` to Korean (#40445) * docs: ko: BigBird.md * feat: nmt draft * fix: manual edits
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -461,7 +461,7 @@\n title: BertJapanese\n - local: model_doc/bertweet\n title: BERTweet\n- - local: in_translation\n+ - local: model_doc/big_bird\n title: BigBird\n - local: in_translation\n title: Big...
2025-10-16T18:23:56
vercel/next.js
e54e38a5a675f5fa498b43066e89cc9eb650c220
56de0b2ba81591e7e24cb37d5499dafe281ec091
Fix edge runtime detection from layouts (#49126) This ensures we properly handle edge runtime during build when loading pages as currently we are only check the page itself for the runtime flag although it can be nested higher up but we already have the relevant info in the middleware-manifest so we can use that durin...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1394,7 +1394,12 @@ export default async function build(\n })\n : undefined\n \n- const pageRuntime = staticInfo?.runtime\n+ const pageRuntime = middlewareManifest.functions[\n+ ...
2023-05-03T08:01:58
golang/go
f598e2962d3a358b59faa68471b6ed378fc68806
61ff5019687c125910c48c22d672a9b6985ee61e
runtime: fix preemption sensitivity in TestTinyAllocIssue37262 TestTinyAllocIssue37262 assumes that all of its allocations will come from the same tiny allocator (that is, the same P), and that nothing else will allocate from that tiny allocator while it's running. It can fail incorrectly if these assumptions aren't m...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -1307,3 +1307,12 @@ func escape(x interface{}) interface{} {\n \tescapeSink = nil\n \treturn x\n }\n+\n+// Acquirem blocks preemption.\n+func Acquirem() {\n+\tacquirem()\n+}\n+\n+func Releasem() {\n+\treleasem(getg().m)\n+}", "additions": 9, "dele...
2021-11-22T20:33:01
huggingface/transformers
77b5ad65ee78d8089c61169c8473bece7c34a53f
a9731a725eb1d7b3b7e11f0ad35a819fa4ee8b20
🌐 [i18n-KO] Translated sam_hq.md to Korean (#41340) * fix: manual edits * Apply suggestions from code review Apply suggestions from code review Co-authored-by: HyunSang Jang <tasker.dev103@gmail.com> * Apply suggestions from code review Apply suggestions from code review Co-authored-by: Woojun Jung <4688005...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -883,6 +883,8 @@\n title: SegFormer\n - local: in_translation\n title: SegGpt\n+ - local: model_doc/sam_hq\n+ title: Segment Anything High Quality (SAM-HQ)\n - local: in_translation\n title: SuperGlue\n ...
2025-10-16T18:10:16
nodejs/node
c86883cfacc927c2433af9554ee103b1e6b00589
f13733d12d69077c9312371a966bef11f01b2816
test: fix test-benchmark-module A recent commit broke test-benchmark-module. This fixes it. PR-URL: https://github.com/nodejs/node/pull/27094 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
[ { "path": "test/benchmark/test-benchmark-module.js", "patch": "@@ -5,7 +5,11 @@ require('../common');\n const runBenchmark = require('../common/benchmark');\n \n runBenchmark('module', [\n+ 'cache=true',\n+ 'dir=rel',\n+ 'ext=',\n+ 'fullPath=true',\n 'n=1',\n+ 'name=/',\n 'useCache=true',\n- 'full...
2019-04-04T23:05:49
huggingface/transformers
a9731a725eb1d7b3b7e11f0ad35a819fa4ee8b20
bdbc2d037b1751c71b30a488f0a168deabef9a90
🌐 [i18n-KO] Translated `chat_extras.md` to Korean (#39863) * docs: ko: chat_extras.md * feat: nmt draft * fix: manual edits * Apply suggestions from code review * Apply suggestions from code review * Update docs/source/ko/chat_extras.md
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -84,6 +84,8 @@\n title: Transformers로 채팅하기\n - local: chat_templating\n title: 챗봇 템플릿 익히기\n+ - local: chat_extras\n+ title: Tools 와 RAG\n - local: in_translation\n title: (번역중) Multimodal templates\n - local: in_tran...
2025-10-16T17:41:03
vercel/next.js
0bc1b7ec1cd04ee4acf3fc27c874b8afe2a84086
194da0b3e3cfaa0ebdcd708918b004486a6b7f3b
Skip handler for POST requests when no action ID is found (#49119) Closes #48204. This shouldn't be a hard error but we should just silently ignore.
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -95,7 +95,8 @@ export async function handleAction({\n actionId = formData.get('$$id') as string\n \n if (!actionId) {\n- throw new Error('Invariant: missing action ID.')\n+ ...
2023-05-03T04:43:47
golang/go
37a5d720d4c4ebf3fd0c8a089a3bde347d72c01a
4325c37d6789aff6f24b05526080b011dda86477
spec: corrections to various sections - fix definition of "specific types" and add more examples - state that a parameterized function must be instantiated when used as a function value - remove duplicate word ("can can" -> "can") Thanks to @danscales for finding these. Change-Id: Ideb41efc35a3e67694d3bc97e462454f...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification - Go 1.18 Draft (incomplete)\",\n-\t\"Subtitle\": \"Version of Nov 24, 2021\",\n+\t\"Subtitle\": \"Version of Nov 29, 2021\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1971,39 +1971,38...
2021-11-28T22:17:11
nodejs/node
af03de48d89175a9ef712228786a83968ff788df
2f1ed5c0637a7bdd079136d2cb80f6a4184ae299
build: don't use lint-ci on Travis The `lint-ci` Makefile target differs from `lint` in that it writes to a tap file and not stdout and also stops execution when an error is found (e.g. if JavaScript linting fails the C++ and docs linting are not run). The switch to `lint-ci` was to enable Python linting. Revert to `...
[ { "path": ".travis.yml", "patch": "@@ -18,7 +18,7 @@ jobs:\n install:\n - make lint-py-build || true\n script:\n- - NODE=$(which node) make lint-ci\n+ - NODE=$(which node) make lint lint-py\n \n - name: \"Compile V8\"\n language: cpp", "additions": 1, "del...
2019-04-02T22:25:28
electron/electron
7bd9f2e5d07eb7a38912ddeb6f64379d6032161e
aa85258d5613a6fd83e9579e62e66b3d31be9585
Fix converting string to NSURL
[ { "path": "atom/common/platform_util_mac.mm", "patch": "@@ -12,6 +12,7 @@\n #include \"base/mac/mac_logging.h\"\n #include \"base/mac/scoped_aedesc.h\"\n #include \"base/strings/sys_string_conversions.h\"\n+#include \"net/base/mac/url_conversions.h\"\n #include \"url/gurl.h\"\n \n namespace platform_util {\...
2015-12-24T04:43:07
huggingface/transformers
bdbc2d037b1751c71b30a488f0a168deabef9a90
fe11cbb808b4301399240e40c5cb6cca9bb00d4d
[Trainer] [Breaking change] `use_cache` default to `False` (#41585) * use_cache default to `False` when training * style * Fix comment * add checks * style * set * switch
[ { "path": "src/transformers/trainer.py", "patch": "@@ -738,6 +738,10 @@ def __init__(\n self._train_batch_size = args.train_batch_size\n self._created_lr_scheduler = False\n \n+ # Set use_cache for the model\n+ if getattr(self.model, \"config\", None) is not None:\n+ ...
2025-10-16T16:51:36
vercel/next.js
3cb15a064be676d98cdb984695345684ffd05c3d
2994668bbb7458fa26b107f056f75d090ac6ff99
Update create-next-app App Router question (#49111) <!-- 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: ## For Contrib...
[ { "path": "docs/api-reference/create-next-app.md", "patch": "@@ -57,9 +57,9 @@ Options:\n \n Initialize with ESLint config.\n \n- --app-dir\n+ --app\n \n- Initialize as an `app/` directory project.\n+ Initialize as an App Router project.\n \n --src-dir\n ", "additions": 2, "deletions":...
2023-05-03T00:28:31
golang/go
4325c37d6789aff6f24b05526080b011dda86477
a59ab29bf2164730e3e6d5439c6ec4b1e46adcc4
vendor: update golang.org/x/net to tip This brings in a fix for OpenBSD that lets it correctly gather network interface information. For #42064 Change-Id: Ib88fd2f494bb2ee86fd2725d8375b2df1404c4ca Reviewed-on: https://go-review.googlesource.com/c/go/+/366756 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian ...
[ { "path": "src/go.mod", "patch": "@@ -4,7 +4,7 @@ go 1.18\n \n require (\n \tgolang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa\n-\tgolang.org/x/net v0.0.0-20211108170745-6635138e15ea\n+\tgolang.org/x/net v0.0.0-20211123203042-d83791d6bcd9\n )\n \n require (", "additions": 1, "deletions": 1, ...
2021-11-23T20:34:04
nodejs/node
73bca57988c847a4b17b923686eee8e04e4fa13c
608878c95692e12a42d97f2b7cfd839453bc815d
crypto: fail early if passphrase is too long This causes OpenSSL to fail early if the decryption passphrase is too long, and produces a somewhat helpful error message. PR-URL: https://github.com/nodejs/node/pull/27010 Refs: https://github.com/nodejs/node/pull/25208 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1826,6 +1826,9 @@ Creates and returns a new key object containing a private key. If `key` is a\n string or `Buffer`, `format` is assumed to be `'pem'`; otherwise, `key`\n must be an object with the properties described above.\n \n+If the private key is encrypted,...
2019-03-29T23:19:39
huggingface/transformers
fe11cbb808b4301399240e40c5cb6cca9bb00d4d
6344371a91e7aab4106a80f65ab6156180e35d29
Erroring when KernelConfig is passed without use_kernels = True (#41657) * update * update
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4430,6 +4430,12 @@ def from_pretrained(\n \"loaded from GGUF files.\"\n )\n \n+ if kernel_config is not None and not use_kernels:\n+ logger.warning_once(\n+ \"A kernel_config wa...
2025-10-16T16:08:46
golang/go
0fa53e41f122b1661d0678a6d36d71b7b5ad031d
9f2a075df905d873e3e426b2f549c327d228ac26
spec: fix link for instantiations This change corrects the link `Instantiantions` to `Instantiations` in the spec. Change-Id: Ib0ed03420ae401d20af1ea723c5487018b2f462d GitHub-Last-Rev: b84316c818b4aba022362fd09fac0d2b85da1a81 GitHub-Pull-Request: golang/go#49816 Reviewed-on: https://go-review.googlesource.com/c/go/+/...
[ { "path": "doc/go_spec.html", "patch": "@@ -2883,7 +2883,7 @@ <h3 id=\"Method_declarations\">Method declarations</h3>\n \n <p>\n Syntactically, this type parameter declaration looks like an\n-<a href=\"#Instantiantions\">instantiation</a> of the receiver base type, except that\n+<a href=\"#Instantiations\">...
2021-11-27T11:16:57
nodejs/node
608878c95692e12a42d97f2b7cfd839453bc815d
04355eff5bc604cb639f91d159ce21971e2c3bb4
build: fix inspector dependency resolution It was reported that parallel builds on Windows sometimes error because of missing intermediate files. On closer inspection I noticed that some files are copied from src/ to the intermediate build directory in a way where they don't participate in dependency resolution. Put ...
[ { "path": "src/inspector/node_inspector.gypi", "patch": "@@ -1,7 +1,6 @@\n {\n 'variables': {\n 'protocol_tool_path': '../../tools/inspector_protocol',\n- 'node_inspector_path': '../../src/inspector',\n 'node_inspector_generated_sources': [\n '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector...
2019-03-31T08:50:44
vercel/next.js
2994668bbb7458fa26b107f056f75d090ac6ff99
9102771c655e511382a16e49837c5bd4c8b2cfa4
Allow setting `runtime` in layouts in type declarations (#49117) Since we're allowing setting `runtime` in layout files, this PR fixes the type guard plugin. Closes #49079.
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -67,11 +67,7 @@ checkFields<Diff<{\n dynamicParams?: boolean\n fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'\n preferredRegion?: 'auto...
2023-05-02T23:14:46
huggingface/transformers
a408384a888fe341aa1ea343a41f486df5819bdb
f7c33abab3a6233a51d7d4fd116625be14df68ff
Improve package version check (#41661) fix
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -52,7 +52,10 @@ def _is_package_available(pkg_name: str, return_version: bool = False) -> Union[\n try:\n # importlib.metadata works with the distribution package, which may be different from the import\n # name...
2025-10-16T15:31:58
rust-lang/rust
a759f05a71fa9faf79087f8621865462aa166a48
bedc0eaa9d63f4fae716e7f737b50dde2ff2b59d
configure.py: fix edge case
[ { "path": "src/bootstrap/configure.py", "patch": "@@ -591,7 +591,7 @@ def parse_example_config(known_args, config):\n with open(rust_dir + \"/bootstrap.example.toml\") as example_config:\n example_lines = example_config.read().split(\"\\n\")\n for line in example_lines:\n- if line.cou...
2025-06-20T21:17:31
huggingface/transformers
9839d57a0244f86125c89981f6301b48309b4913
e85d5ab2bb7e45f8fbcbef5ff1e66c2997de855c
Fix serving continuous batching (#41624) * udpate-serving-cb * style * style * check none * Apply suggestions from code review Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "docs/source/en/serving.md", "patch": "@@ -380,7 +380,7 @@ CB is opt-in and currently applies to chat completions.\n ```sh\n transformers serve \\\n --continuous-batching\n- --attn_implementation sdpa_paged\n+ --attn_implementation \"sdpa\"\n ```\n \n ### Performance tips\n@@ -390,11 +390,10 @...
2025-10-16T15:24:21
golang/go
9f2a075df905d873e3e426b2f549c327d228ac26
7e1260f62b7447c36d9f3ff95365d761592323c4
cmd/go: fix a typo in mod_lazy_new_import.txt x/y -> a/y Change-Id: If24970623731098bb72345b8f4c8518b563bbec8 GitHub-Last-Rev: 8a35dddbc155d97f03c08c06d945596584bc2e6d GitHub-Pull-Request: golang/go#49813 Reviewed-on: https://go-review.googlesource.com/c/go/+/367202 Reviewed-by: Ian Lance Taylor <iant@golang.org> Rev...
[ { "path": "src/cmd/go/testdata/script/mod_lazy_new_import.txt", "patch": "@@ -7,7 +7,7 @@\n # \\\n # ---- a/y (new) ---- c\n #\n-# Where a/x and x/y are disjoint packages, but both contained in module a.\n+# Where a/x and a/y are disjoint packages, but both contained in module a.\n #\n # The module...
2021-11-27T05:20:05
electron/electron
d3d8ab7c66a3d0b36e7d4cc0e3d8bc808d34ffd4
c9fafc0c3a5d568d04972110b4e76b9fc16ed2de
linux: Fix pressing Alt not toggling window menu bar
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -60,12 +60,7 @@ const int kMenuBarHeight = 25;\n #endif\n \n bool IsAltKey(const content::NativeWebKeyboardEvent& event) {\n-#if defined(USE_X11)\n- // 164 and 165 represent VK_LALT and VK_RALT.\n- return event.windowsKeyCode == 164 || event.wi...
2015-12-24T03:43:14
nodejs/node
b2bb6c2b80e250e5b9dfd27662797fc7b3d12713
6fb32ac2552a0a03b8e7d54ef9bda06909823b6b
crypto: fix crash of encrypted private key export without cipher PR-URL: https://github.com/nodejs/node/pull/27041 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/internal/crypto/keys.js", "patch": "@@ -186,14 +186,18 @@ function parseKeyEncoding(enc, keyType, isPublic, objName) {\n if (isPublic !== true) {\n ({ cipher, passphrase } = enc);\n \n- if (!isInput && cipher != null) {\n- if (typeof cipher !== 'string')\n+ if (!isInput) {\n+...
2019-04-01T15:00:11
rust-lang/rust
d59518d9ba15faf698a41f0235df35e55412b69f
a536d89775c46192d4d68f0fa10f4e190b325d51
error rework
[ { "path": "src/tools/miri/src/shims/trace/child.rs", "patch": "@@ -204,7 +204,7 @@ pub unsafe fn init_sv() -> Result<(), SvInitError> {\n let code = sv_loop(listener, child, event_tx, confirm_tx).unwrap_err();\n // If a return code of 0 is not explicit...
2025-06-20T20:31:11
vercel/next.js
9102771c655e511382a16e49837c5bd4c8b2cfa4
9dc0c1e2ffb0b2398906de8589b8d701b30cf1f9
Optimize non-dynamic metadata routes to static in production build (#49109) * For sitemap if they're not using dynamic routes generation `generateSitemaps`, should optimize them as static sitemap * For icons and social images, if they're not using `generateImageMetadata`, should optimize them as static path Closes NE...
[ { "path": "packages/next/src/build/analysis/get-page-static-info.ts", "patch": "@@ -83,13 +83,23 @@ function checkExports(swcAST: any): {\n ssg: boolean\n runtime?: string\n preferredRegion?: string | string[]\n+ generateImageMetadata?: boolean\n+ generateSitemaps?: boolean\n } {\n+ const exportsSe...
2023-05-02T21:36:44
huggingface/transformers
e85d5ab2bb7e45f8fbcbef5ff1e66c2997de855c
1c36d407d5ce0712c702e4314c62705c012bb700
Fix dtype casting with quantization (#41665) fix dtype casting
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -557,7 +557,7 @@ def _infer_parameter_dtype(\n is_param_float8_e4m3fn = is_torch_e4m3fn_available and empty_param.dtype == torch.float8_e4m3fn\n if empty_param.dtype.is_floating_point and not is_param_float8_e4m3fn:\n # dtype that ...
2025-10-16T15:19:32
golang/go
1d47a1184a4718a34ab1df4d9bf05a284aba4c70
bf88adadac9bbb1b190ba7af1010373823dabb06
bufio: mention that panic at slicing means underlying reader is broken Fixes #49795 Change-Id: I2b4fd14f0ed36b643522559bebf5ce52b1d7b304 Reviewed-on: https://go-review.googlesource.com/c/go/+/367214 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.or...
[ { "path": "src/bufio/bufio.go", "patch": "@@ -244,6 +244,8 @@ func (b *Reader) Read(p []byte) (n int, err error) {\n \t}\n \n \t// copy as much as we can\n+\t// Note: if the slice panics here, it is probably because\n+\t// the underlying reader returned a bad count. See issue 49795.\n \tn = copy(p, b.buf[b....
2021-11-26T15:36:09
rust-lang/rust
d20f3a83c2dcd36904a0c45d17be1a9d4747deae
fdc2d52bc803ca559d6553afc178be0243846dfa
fix dumb mistake
[ { "path": "src/tools/miri/src/shims/trace/parent.rs", "patch": "@@ -555,7 +555,7 @@ fn handle_segfault(\n // - Continue\n \n // Ensure the stack is properly zeroed out!\n- for a in (ch_stack..ch_stack.strict_add(page_size)).step_by(ARCH_WORD_SIZE) {\n+ for a in (ch_stack..ch_st...
2025-06-19T13:47:47
nodejs/node
6fb32ac2552a0a03b8e7d54ef9bda06909823b6b
b965ac22ca81a449c9e88f066cadcb8abf93f94b
src: prevent crash in TTYWrap::Initialize When console.log is called for the first time it initializes TTYWrap object. However, if there is not enough space on the V8 stack, creating function template fails and triggers empty maybe local exception. PR-URL: https://github.com/nodejs/node/pull/26832 Reviewed-By: Ruben ...
[ { "path": "src/tty_wrap.cc", "patch": "@@ -32,6 +32,7 @@ namespace node {\n \n using v8::Array;\n using v8::Context;\n+using v8::Function;\n using v8::FunctionCallbackInfo;\n using v8::FunctionTemplate;\n using v8::Integer;\n@@ -40,7 +41,6 @@ using v8::Object;\n using v8::String;\n using v8::Value;\n \n-\n ...
2019-03-21T01:01:19