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
huggingface/transformers
1c2e50a72e310d315cd84920c4c55660c6b8f0a3
5aa7dd07dace2dbe5d419613ec9b43b36df35f89
Fix missing arg in check_docstring (#42054) fix missing arg in check_docstring
[ { "path": "src/transformers/utils/auto_docstring.py", "patch": "@@ -240,6 +240,14 @@ class ImageProcessorArgs:\n \"shape\": None,\n }\n \n+ image_seq_length = {\n+ \"description\": \"\"\"\n+ The number of image tokens to be used for each image in the input.\n+ Added for backward ...
2025-11-06T14:38:04
golang/go
fc8ae9860a820e2d5179fc3b15b247e0545f2a28
0f05ed3b7821db1d73954aa9e7fd49e5a19ec12a
doc/go1.18: move debug/buildinfo to core library section It is a new package and seems a major change. Updates #47694. Change-Id: If854e494e28bcd1e79c99e59119755b9cb6793d6 Reviewed-on: https://go-review.googlesource.com/c/go/+/371816 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Bryan Mills <bcmills@google.co...
[ { "path": "doc/go1.18.html", "patch": "@@ -393,6 +393,18 @@ <h3 id=\"constraints\">New <code>constraints</code> package</h3>\n generic functions.\n </p>\n \n+<h3 id=\"debug/buildinfo\">New <code>debug/buildinfo</code> package</h3>\n+\n+<p><!-- golang.org/issue/39301 -->\n+ The new <a href=\"/pkg/debug/bu...
2021-12-14T21:15:30
huggingface/transformers
5aa7dd07dace2dbe5d419613ec9b43b36df35f89
5c1df12fa5d3f9fa5e19b72e1ba34903813d1ce7
Revert back to use GitHub context (#42066) * check * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr_slow_ci_suggestion.yml", "patch": "@@ -28,13 +28,15 @@ jobs:\n with:\n fetch-depth: \"0\"\n \n+ # We need to use `${{ ... }}` here to avoid `Argument list too long` error when a PR changes a lot of files.\n+ # (We could also try to use artifact app...
2025-11-06T13:41:58
vercel/next.js
85c2921bf530ab7d191423c226af59f094c82783
062fbf6d2d1629ffa240b87af35955c51f5eaeaa
app-router: add support for parallel routes in useParams (#49595) This PR changes `useParams` to return all dynamic params present in the tree as opposed to only those on the canonical/URL path <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as po...
[ { "path": "packages/next/src/client/components/navigation.ts", "patch": "@@ -129,26 +129,29 @@ export function useRouter(): import('../../shared/lib/app-router-context').AppRo\n interface Params {\n [key: string]: string\n }\n-// TODO-APP: handle parallel routes\n+\n+// this function performs a depth-firs...
2023-05-11T08:32:41
golang/go
d407a8c3c49f11980f224d204147eff8fcb087f4
265fbaa94b8614cbd861711d7f7c6d278dc1ddba
testing: retry spurious errors from RemoveAll for temp directories This works around what appears to be either a kernel bug or a Go runtime or syscall bug affecting certain Windows versions (possibly all pre-2016?). The retry loop is a simplified version of the one used in cmd/go/internal/robustio. We use the same 2-...
[ { "path": "src/runtime/syscall_windows_test.go", "patch": "@@ -770,6 +770,7 @@ func TestSyscallN(t *testing.T) {\n \tfor arglen := 0; arglen <= runtime.MaxArgs; arglen++ {\n \t\targlen := arglen\n \t\tt.Run(fmt.Sprintf(\"arg-%d\", arglen), func(t *testing.T) {\n+\t\t\tt.Parallel()\n \t\t\targs := make([]str...
2021-12-13T19:28:17
huggingface/transformers
5c1df12fa5d3f9fa5e19b72e1ba34903813d1ce7
fe5ca9ddaa07fac2872407e75c7a7661216ac956
Fix KeyError in _is_package_available for packages with dotted names (#42050) Fixes #41981 When checking for packages with dotted names like 'optimum.quanto', the function was crashing with KeyError because these packages aren't always in PACKAGE_DISTRIBUTION_MAPPING (it might only have 'optimum' as a key, not 'optim...
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -58,7 +58,7 @@ def _is_package_available(pkg_name: str, return_version: bool = False) -> tuple[\n # pick the first item of the list as best guess (it's almost always a list of length 1 anyway)\n distribution_name = pkg_...
2025-11-06T13:32:43
vercel/next.js
bc4515d8b69bb2361ce67bc43d899b93aa6652e6
e6d50ec6b413a3fcfb100491aeaf33939b3a17a5
Ensure initialHeaders are normalized (#49643) This makes sure we have the initial headers in the correct shape during build. Fixes: https://github.com/vercel/next.js/issues/49374
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -2490,8 +2490,29 @@ export default async function build(\n if (exportRouteMeta.status !== 200) {\n routeMeta.initialStatus = exportRouteMeta.status\n }\n- if (Object.keys(exportRouteMe...
2023-05-11T04:44:11
huggingface/transformers
fe5ca9ddaa07fac2872407e75c7a7661216ac956
76fea9b482a2e8b8d104e66675afabcb1173c80d
Fix KeyError in GPT-OSS weight conversion script (#42007) * Fix KeyError in GPT-OSS weight conversion script * Fix code quality: remove trailing whitespace * Address review: use pop with defaults, remove commented code
[ { "path": "src/transformers/models/gpt_oss/convert_gpt_oss_weights_to_hf.py", "patch": "@@ -157,14 +157,24 @@ def write_model(\n original_config = json.loads((Path(input_base_path) / \"config.json\").read_text())\n \n num_local_experts = original_config.pop(\"num_experts\")\n- rope_parameters = {...
2025-11-06T12:43:39
golang/go
c1f012a0d9b4c7bc9f2a1474f4935e53eccd1794
1afa432ab93aa9adb2e0f04b6c15eb654762d652
cmd/compile: fix any in -G=0 mode Fixes go test -gcflags=all=-G=0 -short std, except for the packages with generics in their tests (constraints, encoding/xml), and except for the go/internal/gcimporter and go/types tests, because the compiler does not preserve any in its -G=0 export information. (That's probably accep...
[ { "path": "src/cmd/compile/internal/types/universe.go", "patch": "@@ -57,7 +57,7 @@ func InitTypes(defTypeName func(sym *Sym, typ *Type) Object) {\n \t\tSimType[et] = et\n \t}\n \n-\tTypes[TANY] = newType(TANY)\n+\tTypes[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias...
2021-12-14T15:49:07
nodejs/node
f5e2ad784ff8d51db275a7268660fc72cf58289d
c3d49332101abc68e64f13c96f4c165d4716d416
test: add mustCallAtLeast to test-fs-read-stream-inherit PR-URL: https://github.com/nodejs/node/pull/27457 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott ...
[ { "path": "test/parallel/test-fs-read-stream-inherit.js", "patch": "@@ -26,7 +26,7 @@ const rangeFile = fixtures.path('x.txt');\n file.resume();\n }));\n \n- file.on('data', function(data) {\n+ file.on('data', common.mustCallAtLeast(function(data) {\n assert.ok(data instanceof Buffer);\n ass...
2019-04-28T08:53:17
huggingface/transformers
76fea9b482a2e8b8d104e66675afabcb1173c80d
8a96f5fbe814ad88e333855b2ef39c62cd961c6f
Fix another `Argument list too long` in `pr_slow_ci_suggestion.yml` (#42061) * fix * trigger --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr_slow_ci_suggestion.yml", "patch": "@@ -29,12 +29,12 @@ jobs:\n fetch-depth: \"0\"\n \n - name: Write pr_files file\n- env:\n- PR_FILES: ${{ needs.get-pr-info.outputs.PR_FILES }}\n- run: |\n- cat > pr_files.txt << EOF\n- ...
2025-11-06T12:33:23
vercel/next.js
e6d50ec6b413a3fcfb100491aeaf33939b3a17a5
2eeb1c1bd1d49d163e9d76b8c3a1c56d5de0dc33
interception routes: fix rewrites order (#49615) This PR fixes an issue where the rewrites were applied too early and thus not working with other beforeFiles rewrites <!-- 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 f...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -557,7 +557,7 @@ export default async function build(\n }\n \n // Interception routes are modelled as beforeFiles rewrites\n- rewrites.beforeFiles.unshift(\n+ rewrites.beforeFiles.push(\n ...generateInterceptionRoutesRe...
2023-05-11T04:07:34
golang/go
1afa432ab93aa9adb2e0f04b6c15eb654762d652
006d4e627812816123a5bb86ebf5a2fa57af8b4a
go/types, types2: record (top-level) union types Fixes #50093. Change-Id: Ibebeda542d2a81c979670f9098c4a6d2c3e73abb Reviewed-on: https://go-review.googlesource.com/c/go/+/371514 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/api.go", "patch": "@@ -202,6 +202,12 @@ type Info struct {\n \t// identifier z in a variable declaration 'var z int' is found\n \t// only in the Defs map, and identifiers denoting packages in\n \t// qualified identifiers are collected in the Uses map.\n+\t//\n+\t//...
2021-12-13T23:04:43
nodejs/node
c3d49332101abc68e64f13c96f4c165d4716d416
eecf100049dd2d3ce6e4864a553cca43561a6a91
test: add mustCall to test-dgram-implicit-bind.js PR-URL: https://github.com/nodejs/node/pull/27452 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zha...
[ { "path": "test/parallel/test-dgram-implicit-bind.js", "patch": "@@ -36,11 +36,11 @@ target.on('message', common.mustCall(function(buf) {\n }\n }, 2));\n \n-target.on('listening', function() {\n+target.on('listening', common.mustCall(function() {\n // Second .send() call should not throw a bind error.\n...
2019-04-28T08:49:45
huggingface/transformers
21ecb5b0b8be61a51c476856589c45f10d3e8568
40929ec4fdc5708520eef134b9b86f5393e1b59e
Fix transformers serve following chat template output update
[ { "path": "src/transformers/cli/serve.py", "patch": "@@ -813,7 +813,7 @@ def continuous_batching_chat_completion(self, req: dict, request_id: str) -> Str\n # TODO (Joao, Lysandre): this should also work with tool support\n inputs = processor.apply_chat_template(req[\"messages\"], return_tens...
2025-11-05T16:20:58
vercel/next.js
2eeb1c1bd1d49d163e9d76b8c3a1c56d5de0dc33
f3222471c67134f2cbd094682bcb3673166de7d5
Fix fetchCache and no-store handling (#49638) Follow-up to https://github.com/vercel/next.js/pull/49628 this updates the `export const fetchCache` handling and `cache: 'no-store'` handling as discussed which also aligns with our docs here https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-conf...
[ { "path": "packages/next/src/client/components/static-generation-async-storage.ts", "patch": "@@ -15,6 +15,7 @@ export interface StaticGenerationStore {\n fetchCache?:\n | 'only-cache'\n | 'force-cache'\n+ | 'default-cache'\n | 'force-no-store'\n | 'default-no-store'\n | 'only-no-st...
2023-05-11T03:42:25
golang/go
006d4e627812816123a5bb86ebf5a2fa57af8b4a
5b9207ff67bd3df43a95fd403b2e06e2aa4c33bf
cmd/compile: fix case where we didn't delay transformAssign in varDecl We delay all transformations on generic functions, and only do them on instantiated functions, for several reasons, of which one is that otherwise the compiler won't understand the relationship between constrained type parameters. In an instantiati...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -286,22 +286,26 @@ func (g *irgen) varDecl(out *ir.Nodes, decl *syntax.VarDecl) {\n \t\t\t\t} else if ir.CurFunc == nil {\n \t\t\t\t\tname.Defn = as\n \t\t\t\t}\n-\t\t\t\tlhs := []ir.Node{as.X}\n-\t\t\t\trhs := []ir.Node{}\n-\t\t\t\tif as.Y !=...
2021-12-14T00:15:52
rust-lang/rust
659da5843bd0c176c47ca190d2b1cfaa690ffa09
fcb718b25fbda2bec2255babe212654ba2f4e8c9
Fix a bunch of missing unwinder related definitions cg_llvm likely just optimizes out their references for these tests, but cg_clif doesn't and would thus give a linker error.
[ { "path": "tests/ui/allocator/no_std-alloc-error-handler-custom.rs", "patch": "@@ -6,13 +6,14 @@\n //@ compile-flags:-C panic=abort\n //@ aux-build:helper.rs\n \n-#![feature(rustc_private, lang_items)]\n+#![feature(rustc_private, lang_items, panic_unwind)]\n #![feature(alloc_error_handler)]\n #![no_std]\n #...
2025-06-24T09:04:36
huggingface/transformers
40929ec4fdc5708520eef134b9b86f5393e1b59e
17fdaf9b7a8a172474675e1d7fe89c78385fa79b
Annoying typo in attention error message (#42037) annoying typo
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2424,7 +2424,7 @@ def get_correct_attn_implementation(self, requested_attention: Optional[str], is\n if self._supports_flash_attn or getattr(self, \"_supports_flash_attn_2\", False):\n message += ', `\"attn_implementat...
2025-11-06T08:57:17
nodejs/node
eecf100049dd2d3ce6e4864a553cca43561a6a91
77b9007395b68c5858356f790fef7e90f60a731b
test: add common.mustCall test-dgram-listen-after-bind PR-URL: https://github.com/nodejs/node/pull/27454 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ouyang Yado...
[ { "path": "test/parallel/test-dgram-listen-after-bind.js", "patch": "@@ -21,6 +21,7 @@\n \n 'use strict';\n require('../common');\n+const common = require('../common');\n const assert = require('assert');\n const dgram = require('dgram');\n \n@@ -33,12 +34,12 @@ const timer = setTimeout(() => {\n socket.c...
2019-04-28T08:51:43
electron/electron
cc560a39008a8eb2b7645d00f4b20fded42edaf0
8239f69139735a37a230b1716cc9aafc69c356d3
spec: Fix failing tests on Windows
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -158,7 +158,7 @@ NativeWindowViews::NativeWindowViews(\n // The given window is most likely not rectangular since it uses\n // transparency and has no standard frame, don't show a shadow for it.\n if (transparent() && !has_frame())\n- pa...
2016-01-23T12:03:56
vercel/next.js
2f3a503d8b7e308a48e88d19ba50ade3774cf156
2f9ff160aa5fa2d0521685119bb108f075cbad92
Allow export decl with any init value in the actions compiler (#49600) Because of the flexibility of export declarations, we can't know the exact export type of exported values so we should allow all of them. Especially when we already have runtime checks. fix #49378 fix NEXT-1137
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -717,13 +717,9 @@ impl<C: Comments> VisitMut for ServerActions<C> {\n \n for decl in &mut var.decls {\n if let Some(init) = &decl.init {\n- ...
2023-05-10T17:46:21
rust-lang/rust
fcb718b25fbda2bec2255babe212654ba2f4e8c9
77232fb9350dbe09821df27f184301475829f1e4
Fix function signature for rust_eh_personality While cg_llvm is very lax about mismatched function signatures, cg_clif will crash when there is any mismatch. It could be turned into an error, but without Cranelift changes can't just be ignored.
[ { "path": "tests/run-make/bin-emit-no-symbols/app.rs", "patch": "@@ -12,7 +12,15 @@ fn panic(_: &PanicInfo) -> ! {\n }\n \n #[lang = \"eh_personality\"]\n-fn eh() {}\n+fn eh(\n+ _version: i32,\n+ _actions: i32,\n+ _exception_class: u64,\n+ _exception_object: *mut (),\n+ _context: *mut (),\n+)...
2025-06-24T09:03:16
huggingface/transformers
85c50557b97590538229f99a321ea88d03d6eaa7
32e49f2884cdc23c172513d1a2cafe0f03255591
Fix Qwen3-Omni RoPE (#41778) * fix qwen rope * not sure it fits in runners, let's see * fix some tests * use input ids device everywhere * fix rope in wav2code and the test * I remember pushing these changes yesterday
[ { "path": "src/transformers/models/qwen3_omni_moe/configuration_qwen3_omni_moe.py", "patch": "@@ -347,6 +347,7 @@ def __init__(\n tie_word_embeddings=tie_word_embeddings,\n **kwargs,\n )\n+ rope_config_validation(self, ignore_keys={\"mrope_section\", \"interleaved\", \...
2025-11-06T08:30:39
golang/go
5b9207ff67bd3df43a95fd403b2e06e2aa4c33bf
67917c3d78002ebca7de697f4ede74e602701554
cmd/compile: avoid re-instantiating method that is already imported We can import an shape-instantiated function/method for inlining purposes. If we are instantiating the methods of a instantiated type that we have seen, and it happens to need a shape instantiation that we have imported, then don't re-create the insta...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -684,7 +684,22 @@ func (g *genInst) getInstantiation(nameNode *ir.Name, shapes []*types.Type, isMe\n \t\t}\n \t\tinfo.dictInfo.shapeToBound = make(map[*types.Type]*types.Type)\n \n-\t\t// genericSubst fills in info.dictParam and info.tparam...
2021-12-13T20:42:38
nodejs/node
4cf8b4212c9b6be3d606dbb4da94f56ac9dc756c
274364580a218f331b10e832d0face7a713bb8f0
test: add mustCallAtLeast to test-fs-read-stream-fd test PR-URL: https://github.com/nodejs/node/pull/27461 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anto Aravin...
[ { "path": "test/parallel/test-fs-read-stream-fd.js", "patch": "@@ -20,7 +20,7 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const fs = require('fs');\n const assert = require('assert');\n const path = require('path');\n@@ -...
2019-04-28T08:57:43
electron/electron
ae7e96f181cdb6329e4892e83bc2aa21843b08f0
5372b6cd9137c18310836be947ee28d8cd0fd434
Fix fullscreenable on EL Capitan
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -371,13 +371,10 @@ - (void)drawRect:(NSRect)dirtyRect {\n \n bool minimizable = true;\n options.Get(options::kMinimizable, &minimizable);\n- \n+\n bool maximizable = true;\n options.Get(options::kMaximizable, &maximizable);\n \n- bool ful...
2016-01-23T07:51:52
huggingface/transformers
32e49f2884cdc23c172513d1a2cafe0f03255591
bb65d2d953a512609a86727b6de64035717b1d45
Fix AutoImageProcessor.register and documentation in auto processing modules (#41864)
[ { "path": "src/transformers/models/auto/feature_extraction_auto.py", "patch": "@@ -93,7 +93,7 @@ def feature_extractor_class_from_name(class_name: str):\n if getattr(extractor, \"__name__\", None) == class_name:\n return extractor\n \n- # We did not fine the class, but maybe it's beca...
2025-11-06T07:43:07
rust-lang/rust
aaea8ebdba45344e1f012b396d2e26b457261c1b
e3882618c887f6a6049a99edcf91094a64bd57f3
Fix normalization in linker-warning Ensure rustc_codegen_cranelift doesn't get normalized to rustc. And handle -Cpanic=abort.
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -151,20 +151,6 @@ rm tests/ui/process/process-panic-after-fork.rs # same\n cp ../dist/bin/rustdoc-clif ../dist/bin/rustdoc # some tests expect bin/rustdoc to exist\n \n cat <<EOF | git apply -\n-diff --git a/tests/run-make/linker-warning/rmake.rs b/tests...
2025-06-24T09:00:20
vercel/next.js
2f9ff160aa5fa2d0521685119bb108f075cbad92
824c7fdb4ab01cb4cca278aa1114f91bb7c86c20
interception route: fix route groups breaking the referrer computation (#49602) This PR fixes a bug during path normalisation where `/(foo)/` would break because it would return `` per the function logic. A simple fix is to just ensure we always return a `/` as the default if the normalisation returns an empty stri...
[ { "path": "packages/next/src/client/components/router-reducer/compute-changed-path.test.ts", "patch": "@@ -0,0 +1,60 @@\n+import { computeChangedPath } from './compute-changed-path'\n+\n+describe('computeChangedPath', () => {\n+ it('should return the correct path', () => {\n+ expect(\n+ computeChan...
2023-05-10T15:30:14
golang/go
67917c3d78002ebca7de697f4ede74e602701554
9e85dc5f183d688f5297203dd76f281a6d87d94f
cmd/internal/obj: fix tail call in non-zero frame leaf function on MIPS and S390X A "RET f(SB)" wasn't assembled correctly in a leaf function with non-zero frame size. Follows CL 371034, for MIPS(32/64)(be/le) and S390X. Other architectures seem to do it right. Add a test. Change-Id: I41349a7ae9862b924f3a3de2bcb55b78...
[ { "path": "src/cmd/internal/obj/mips/obj0.go", "patch": "@@ -466,9 +466,15 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {\n \t\t\t\tq = c.newprog()\n \t\t\t\tq.As = AJMP\n \t\t\t\tq.Pos = p.Pos\n-\t\t\t\tq.To.Type = obj.TYPE_MEM\n-\t\t\t\tq.To.Offset = 0\n-\t\t\t\tq.To.Reg = R...
2021-12-13T15:24:07
nodejs/node
274364580a218f331b10e832d0face7a713bb8f0
d69f00465790f1ac7788ac111bb61689543536ae
test: skip fs-copyfile-respect-permission if root Currently, if this test is run as the root user the following failure will occur: === release test-fs-copyfile-respect-permissions === Path: parallel/test-fs-copyfile-respect-permissions assert.js:89 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]:...
[ { "path": "test/parallel/test-fs-copyfile-respect-permissions.js", "patch": "@@ -5,6 +5,9 @@\n \n const common = require('../common');\n \n+if (!common.isWindows && process.getuid() === 0)\n+ common.skip('as this test should not be run as `root`');\n+\n const tmpdir = require('../common/tmpdir');\n tmpdir....
2019-04-24T04:28:34
huggingface/transformers
bb65d2d953a512609a86727b6de64035717b1d45
57bdb4a680b2f82ad739ef741996be04e3764eea
Fix `pr_slow_ci_suggestion.yml` after #42023 (#42049) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr_slow_ci_suggestion.yml", "patch": "@@ -23,11 +23,26 @@ jobs:\n outputs:\n jobs: ${{ steps.get_jobs.outputs.jobs_to_run }}\n steps:\n+ # This checkout to the main branch\n+ - uses: actions/checkout@v4\n+ with:\n+ fetch-depth: \"0\"\n+\n+...
2025-11-05T21:10:12
rust-lang/rust
77232fb9350dbe09821df27f184301475829f1e4
99b18d6c5062449db8e7ccded4cb69b555a239c3
Fix normalization in linker-warning Ensure rustc_codegen_cranelift doesn't get normalized to rustc. And handle -Cpanic=abort.
[ { "path": "compiler/rustc_codegen_cranelift/scripts/test_rustc_tests.sh", "patch": "@@ -151,20 +151,6 @@ rm tests/ui/process/process-panic-after-fork.rs # same\n cp ../dist/bin/rustdoc-clif ../dist/bin/rustdoc # some tests expect bin/rustdoc to exist\n \n cat <<EOF | git apply -\n-diff --git a/tests/run-mak...
2025-06-24T09:00:20
electron/electron
d6f2b7c9829f88c59a5c8f59052dea4251feecfb
6ab236f9c01d651c61c716da853eb87adfc0f1c5
:memo: Update as upstream * Update as upstream * Fix typos * Improve grammar [ci skip]
[ { "path": "README-ko.md", "patch": "@@ -70,7 +70,8 @@ API 레퍼런스가 있습니다. Electron을 빌드 하는 방법과 프로젝\n - Atom 포럼의 [`electron`](http://discuss.atom.io/c/electron) 카테고리\n - Freenode 채팅의 `#atom-shell` 채널\n - Slack의 [`Atom`](http://atom-slack.herokuapp.com/) 채널\n-- [`electron-br`](https://electron-br.slack.com) *(브라질 ...
2016-01-23T17:33:45
vercel/next.js
824c7fdb4ab01cb4cca278aa1114f91bb7c86c20
958e34e012a3880d2d6e4e3ad0ef6f4bccdc5d7b
actions: make cookies.set revalidate (#49582) This PR adds revalidation for the current page you're on when you call cookies.set. <!-- 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. ...
[ { "path": "packages/next/src/server/web/spec-extension/adapters/request-cookies.ts", "patch": "@@ -1,6 +1,7 @@\n import type { RequestCookies } from '../cookies'\n import type { BaseNextResponse } from '../../../base-http'\n import type { ServerResponse } from 'http'\n+import { StaticGenerationStore } from ...
2023-05-10T15:29:54
golang/go
9e85dc5f183d688f5297203dd76f281a6d87d94f
7bdbc73be1d10a9b32cb5edc6b9d0c93805f059c
net/http: revert h2_bundle.go formatting change from CL 368254 h2_bundle.go is automatically generated from x/net/http2. Any formatting changes within that file need to be first made upstream. This brings the contents of h2_bundle.go back in line with the upstream generator, fixing the cmd/internal/moddeps test that ...
[ { "path": "src/net/http/h2_bundle.go", "patch": "@@ -1049,11 +1049,11 @@ var (\n \t\t16 << 10,\n \t}\n \thttp2dataChunkPools = [...]sync.Pool{\n-\t\t{New: func() any { return make([]byte, 1<<10) }},\n-\t\t{New: func() any { return make([]byte, 2<<10) }},\n-\t\t{New: func() any { return make([]byte, 4<<10) }...
2021-12-13T21:12:50
huggingface/transformers
57bdb4a680b2f82ad739ef741996be04e3764eea
1a0ae4bb81caf000e655cd326712377f777a7a74
Cleanup workflow - part 1 (#42023) * part 1 * part 2 * part 3 * part 4 * part 5 * fix 1 * check 1 * part 6 * part 7 * part 8 * part 9 * part 10: rename file * OK: new_model_pr_merged_notification.yml * part 11 * fix 2 * revert check * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users...
[ { "path": ".github/workflows/check_failed_tests.yml", "patch": "@@ -64,13 +64,15 @@ jobs:\n - name: Check file\n id: check_file\n working-directory: /transformers\n+ env:\n+ job: ${{ inputs.job }}\n run: |\n- if [ -f ci_results_${{ inputs.job }}/new_fai...
2025-11-05T20:01:06
nodejs/node
377939eef847d2475768c0db0b3eb1a699f545f1
2c7b5332d6be2e729a5699dab33481864e13d08e
deps: V8: cherry-pick 5d0cf6b Original commit message: [snapshot] Use Handle to track name in `CodeSerializer::Deserialize` The `Script::InitLineEnds(Handle<Script>(script, isolate));` line may lead to objects being moved around on the heap, so it’s necessary to use a `Handle` to track that. Thi...
[ { "path": "common.gypi", "patch": "@@ -38,7 +38,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.16',\n+ 'v8_embedder_string': '-node.17',\n \n ##### V8 defaults for Node.js #####\n...
2019-04-26T11:28:16
huggingface/transformers
2418196ef41255cb686125a5f148ac44619c8622
561233cabf480b0f884700be3aebf42dbe6a7b20
Fix the order of methods in processor loading (#42031) * fix the order * add a test
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -1370,8 +1370,8 @@ def from_pretrained(\n if token is not None:\n kwargs[\"token\"] = token\n \n- processor_dict, kwargs = cls.get_processor_dict(pretrained_model_name_or_path, **kwargs)\n args = cls._get_argum...
2025-11-05T14:33:07
vercel/next.js
958e34e012a3880d2d6e4e3ad0ef6f4bccdc5d7b
a7fd95e3cdb744f882b05e85f1fbedddc648c753
actions: forward fetch rejections to the action handler (#49577) Pretty edge case-y but this PR fixes the case where a fetch error happens for an action and we want to handle at the action handler level. link NEXT-1123
[ { "path": "packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts", "patch": "@@ -107,54 +107,62 @@ export function serverActionReducer(\n fetchServerAction(state, action)\n )\n }\n+ try {\n+ // suspends until the server action is resolved.\n+ const { actionR...
2023-05-10T15:07:03
golang/go
3e8aa5dd495d30ff29cd4fb78aabe8fc0ebb1eda
f909f813a0c12fde089a6c5e18fdcb9e71759cf7
cmd/compile/internal/amd64: fix for coverage testing Fix up a unit test to make it more friendly for coverage runs. Currently on tip if you do cd ${GOROOT}/src ; go test -cover cmd/compile/... it will cause a failure in the TestGoAMD64v1 testpoint of cmd/compile/internal/amd64, the reason being that this testpoin...
[ { "path": "src/cmd/compile/internal/amd64/versions_test.go", "patch": "@@ -74,8 +74,18 @@ func TestGoAMD64v1(t *testing.T) {\n \tif err != nil {\n \t\tt.Fatalf(\"couldn't execute test: %s\", err)\n \t}\n-\tif string(out) != \"PASS\\n\" {\n-\t\tt.Fatalf(\"test reported error: %s\", string(out))\n+\t// Expect...
2021-12-13T17:03:13
nodejs/node
2c7b5332d6be2e729a5699dab33481864e13d08e
54c973cee7536cc534679c223098fd39ded2199c
test: add mustCall to net-can-reset-timeout PR-URL: https://github.com/nodejs/node/pull/27462 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Colin Ihrig <cjih...
[ { "path": "test/parallel/test-net-can-reset-timeout.js", "patch": "@@ -37,13 +37,13 @@ const server = net.createServer(common.mustCall(function(stream) {\n stream.write('WHAT.');\n }));\n \n- stream.on('end', function() {\n+ stream.on('end', common.mustCall(function() {\n console.log('server sid...
2019-04-28T08:56:12
huggingface/transformers
561233cabf480b0f884700be3aebf42dbe6a7b20
36b640562b11f54044841ae3665930023d4ff27d
Change trigger time for AMD CI (#42034) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-scheduled-amd-caller.yml", "patch": "@@ -2,7 +2,7 @@ name: Self-hosted runner (AMD scheduled CI caller)\n \n on:\n schedule:\n- - cron: \"17 2 * * *\"\n+ - cron: \"17 5 * * *\"\n \n jobs:\n run_scheduled_amd_ci:", "additions": 1, "deletions": 1, "langu...
2025-11-05T13:17:12
vercel/next.js
a7fd95e3cdb744f882b05e85f1fbedddc648c753
428342dbdf8cb0f6c6af60ddfa59a9f67369ea30
Fix unexpected object mutation while resolving Open Graph (#49514) Modifying an object passed from external sources can unintentionally lead to unpredictable behavior. By changing the implementation from in-place object modification to returning a new object, we can make the method more predictable. fixes #495...
[ { "path": "packages/next/src/lib/metadata/resolvers/resolve-opengraph.test.ts", "patch": "@@ -0,0 +1,23 @@\n+import { resolveImages } from './resolve-opengraph'\n+\n+describe('resolveImages', () => {\n+ const image1 = 'https://www.example.com/image1.jpg'\n+ const image2 = 'https://www.example.com/image2.j...
2023-05-10T12:51:48
nodejs/node
54c973cee7536cc534679c223098fd39ded2199c
7cbbd51479a9637694ab14e985880758ee24c656
test: add mustCall to test-fs-readfile-pipe-large PR-URL: https://github.com/nodejs/node/pull/27460 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ouyang Yadong <o...
[ { "path": "test/parallel/test-fs-readfile-pipe-large.js", "patch": "@@ -29,7 +29,7 @@ const exec = require('child_process').exec;\n const f = JSON.stringify(__filename);\n const node = JSON.stringify(process.execPath);\n const cmd = `cat ${filename} | ${node} ${f} child`;\n-exec(cmd, { maxBuffer: 1000000 },...
2019-04-28T08:56:57
huggingface/transformers
36b640562b11f54044841ae3665930023d4ff27d
0c4a202408365681c114b127bf46aa2bbb4bcf8a
extend fp_quant cases to xpu (#41833) * extend fp_quant UTs to xpu Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * Update tests/quantization/fp_quant_integration/test_fp_quant.py Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> -...
[ { "path": "src/transformers/quantizers/quantizer_fp_quant.py", "patch": "@@ -20,7 +20,7 @@\n if TYPE_CHECKING:\n from ..modeling_utils import PreTrainedModel\n \n-from ..utils import is_fp_quant_available, is_qutlass_available, is_torch_available, logging\n+from ..utils import is_fp_quant_available, is_...
2025-11-05T10:50:31
electron/electron
d938dd68b01c5753e4bc7665c583b539b28e68f8
3a60ab386c0d67d2126cff859ddbf20029001431
wrap debugger for lazy initialization
[ { "path": "atom/browser/api/atom_api_debugger.cc", "patch": "@@ -6,12 +6,15 @@\n \n #include <string>\n \n+#include \"atom/browser/atom_browser_main_parts.h\"\n #include \"atom/common/native_mate_converters/callback.h\"\n #include \"atom/common/native_mate_converters/value_converter.h\"\n+#include \"atom/co...
2016-01-23T04:02:21
rust-lang/rust
1d3b517a7829db0223a48f9bce94d0a8264dbc6c
b8cc80565f65c931d7bc221bbc0861e7259a29a4
Do not default to 'static for trait object lifetimes We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/lower.rs", "patch": "@@ -711,7 +711,7 @@ impl<'a> TyLoweringContext<'a> {\n .unwrap_or(it),\n None => it,\n },\n- None => static_lifetime(),\n+ N...
2025-06-18T12:28:04
vercel/next.js
428342dbdf8cb0f6c6af60ddfa59a9f67369ea30
54ea0d95a04d280abe33bd533bd9f9b152738cb8
Add `--use-yarn` flag to `create-next-app` (#49407) # Add `--use-yarn` flag to `create-next-app` fixes #49405 - [x] Implement `--use-yarn` flag - [x] Update docs - [x] Add tests Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "docs/api-reference/create-next-app.md", "patch": "@@ -77,6 +77,10 @@ Options:\n \n Explicitly tell the CLI to bootstrap the app using pnpm\n \n+ --use-yarn\n+\n+ Explicitly tell the CLI to bootstrap the app using Yarn\n+\n -e, --example [name]|[github-url]\n \n An example to bootstr...
2023-05-10T12:51:12
huggingface/transformers
0c4a202408365681c114b127bf46aa2bbb4bcf8a
20396951afaf35e12979e8ef54b2289936921ac6
[tests] Add Context-parallel CI tests (#41860) * intial * simplify tests * add test_cp_equivalence * removed fsdp_transformer_layer_cls_to_wrap * use DataCollatorForLanguageModeling * remove use_cache=False. * changes from review * make script self contained * moved to fsdp folder * fix class name
[ { "path": "tests/fsdp/test_context_parallel.py", "patch": "@@ -0,0 +1,224 @@\n+# Copyright 2025 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy ...
2025-11-05T10:40:51
nodejs/node
7cbbd51479a9637694ab14e985880758ee24c656
a4fff9a72f036a5e5dfa88757d1dd0796e1e2dad
test: add "mustCall" for test-net-buffersize PR-URL: https://github.com/nodejs/node/pull/27451 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Colin Ihrig <cji...
[ { "path": "test/parallel/test-net-buffersize.js", "patch": "@@ -20,7 +20,7 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n const net = require('net');\n \n@@ -36,17 +36,17 @@ const server =...
2019-04-28T08:50:37
golang/go
2580d0e08d5e9f979b943758d3c49877fb2324cb
083ef5462494e81ee23316245c5d65085a3f62d9
all: gofmt -w -r 'interface{} -> any' src And then revert the bootstrap cmd directories and certain testdata. And adjust tests as needed. Not reverting the changes in std that are bootstrapped, because some of those changes would appear in API docs, and we want to use any consistently. Instead, rewrite 'any' to 'inte...
[ { "path": "src/archive/tar/common.go", "patch": "@@ -538,7 +538,7 @@ type headerFileInfo struct {\n func (fi headerFileInfo) Size() int64 { return fi.h.Size }\n func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }\n func (fi headerFileInfo) ModTime() time.Time { return fi.h.ModTi...
2021-12-01T17:15:45
electron/electron
000af78d41fdf344d92e2c7bd01dc4fedd90f17f
ff41b4a2677a5bcb4e48052e150607b96d8f5236
doc fix
[ { "path": "docs/api/browser-window.md", "patch": "@@ -77,7 +77,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.\n like `#66CD00` or `#FFF`. Default is `#000` (black) for Linux and Windows,\n `#FFF` for Mac (or clear if transparent).\n * `hasShadow` Boolean - Wh...
2016-01-23T00:37:05
huggingface/transformers
3c4cdd549d2b57c7f9d484122076f1bca9463d91
020e713ac8e70bd2e72bcd12dc6bd1ada6162562
fix `deeepspeed` in AMD docker file (#42025) fix deeepspeed in AMD docker Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-pytorch-deepspeed-amd-gpu/Dockerfile", "patch": "@@ -29,7 +29,7 @@ RUN python3 -m pip uninstall -y apex torch torchvision torchaudio\n RUN python3 -m pip install torch==$PYTORCH torchvision==$TORCH_VISION torchaudio==$TORCH_AUDIO --index-url https://download.pytorch.org/whl/ro...
2025-11-05T09:40:29
vercel/next.js
4743dc6124888d253aa9b98132e8492f46febf1c
6a3f96e6b338ab8c5163987d9eb015bf81036f3e
Add stub Route type for typedRoutes (#48099) ### What? Why? How? Add a stub `Route` type to avoid TS errors with `typedRoutes: true` before `next dev` and `next build` are run Ref: https://github.com/vercel/next.js/pull/47931#issuecomment-1500476147 <!-- Thanks for opening a PR! Your contribution is much ap...
[ { "path": "packages/next/types/index.d.ts", "patch": "@@ -37,6 +37,18 @@ export type {\n ResolvingMetadata, // @ts-ignore This path is generated at build time and conflicts otherwise\n } from '../dist/lib/metadata/types/metadata-interface'\n \n+/**\n+ * Stub route type for typedRoutes before `next dev` or...
2023-05-10T10:34:27
nodejs/node
558e5c43676d4d2ca7d6903a5399964381d93c1b
fa3714d721e32acd16776d262ab970da405dbda4
test: add mustcall in test-dgram-connect-send-callback-buffer-length add mustcall() on client.bind callback PR-URL: https://github.com/nodejs/node/pull/27464 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Girees...
[ { "path": "test/parallel/test-dgram-connect-send-callback-buffer-length.js", "patch": "@@ -17,8 +17,8 @@ const messageSent = common.mustCall(function messageSent(err, bytes) {\n client.close();\n });\n \n-client.bind(0, () => {\n+client.bind(0, common.mustCall(() => {\n client.connect(client.address().p...
2019-04-28T08:58:20
rust-lang/rust
8b1abd6578dea3e7632014b38dbc0acadb5f0861
111e9bc64bbdce14122e3676978f2ceefa5bff1a
Make stats code nicer. Taking inspiration from `-Zmacro-stats`: - Use "{prefix}" consistently. - Use names for column widths. - Write output in a single `eprint!` call, in an attempt to minimize interleaving of output from different rustc processes. - Use `repeat` for the long `---` banners.
[ { "path": "compiler/rustc_interface/src/passes.rs", "patch": "@@ -370,7 +370,7 @@ fn early_lint_checks(tcx: TyCtxt<'_>, (): ()) {\n let mut lint_buffer = resolver.lint_buffer.steal();\n \n if sess.opts.unstable_opts.input_stats {\n- input_stats::print_ast_stats(krate, \"POST EXPANSION AST STA...
2025-06-24T00:11:52
golang/go
083ef5462494e81ee23316245c5d65085a3f62d9
acc65b47e12e2ba061b8ab4f86b183d039072776
spec: fix conversion rules (match implementation) As written, the conversion P(x), where P and the type of x are type parameters with identical underlying types (i.e., identical constraints), is valid. However, unless the type of x and P are identical (which is covered with the assignability rule), such a conversion i...
[ { "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 29, 2021\",\n+\t\"Subtitle\": \"Version of Dec 13, 2021\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -4782,14 +4782,16...
2021-12-10T23:35:46
electron/electron
85991d312a64c542795205fcd4d73060653d3d26
318250496942990ca42cede28b8c6f3206d9022b
mac: SetResizable fix
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -649,13 +649,17 @@ - (void)drawRect:(NSRect)dirtyRect {\n }\n \n void NativeWindowMac::SetResizable(bool resizable) {\n+ bool maximizable = IsMaximizable();\n // Change styleMask for frameless causes the window to change size, so we have\n // ...
2016-01-22T22:44:05
huggingface/transformers
371ef0f4a2c5264f0b04270f07ee86c104c76f0a
6efc1799c1d0665c41717c555f3551d974e4d61a
[v5] Deprecate Text2Text and related pipelines (#41996) * Deprecate Text2Text and related pipelines * Try a restructure * make fixup * logging -> logger
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -59,6 +59,7 @@\n get_default_model_and_revision,\n load_model,\n )\n+from .deprecated import SummarizationPipeline, Text2TextGenerationPipeline, TranslationPipeline\n from .depth_estimation import DepthEstimationPipeline\n from .docume...
2025-11-04T16:47:06
vercel/next.js
ac6addbf6337cb331ca9e390f4379f13cbb01551
1ed7544696a6f9f2dbdc838627e9b2bcf8aab130
fix: a11y issues in react-dev-overlay (#49460) This is a part of fix of #47351 This fixes two issues #47351 mentioned. 1. Buttons must have discernible text - https://dequeuniversity.com/rules/axe/4.6/button-name?application=axe-puppeteer Before: <img width="549" alt="Screenshot 2023-05-08 at 22 37 00" sr...
[ { "path": "packages/react-dev-overlay/src/internal/components/LeftRightDialogHeader/LeftRightDialogHeader.tsx", "patch": "@@ -114,6 +114,7 @@ const LeftRightDialogHeader: React.FC<LeftRightDialogHeaderProps> =\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >...
2023-05-10T10:27:43
nodejs/node
fa3714d721e32acd16776d262ab970da405dbda4
73a686f1bbacbdb40d552388d22a815340ae012a
test: add mustCall to test-fs-readfile-pipe PR-URL: https://github.com/nodejs/node/pull/27450 Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-fs-readfile-pipe.js", "patch": "@@ -31,10 +31,10 @@ const assert = require('assert');\n const fs = require('fs');\n \n if (process.argv[2] === 'child') {\n- fs.readFile('/dev/stdin', function(er, data) {\n+ fs.readFile('/dev/stdin', common.mustCall(function(er, data) {\n ...
2019-04-28T08:51:00
golang/go
acc65b47e12e2ba061b8ab4f86b183d039072776
4b3d8d1a390a51ea6a1b3f66ef9d56ef7203bbe7
net: refactor TestWriteToTimeout The test cases for this test had listed specific errors, but the specific error values were ignored in favor of just calling isDeadlineExceeded. Moreover, ENOBUFS errors (which can legitimately occur in the test if the network interface also happens to be saturated when the timeout oc...
[ { "path": "src/net/error_plan9_test.go", "patch": "@@ -17,3 +17,7 @@ func isPlatformError(err error) bool {\n \t_, ok := err.(syscall.ErrorString)\n \treturn ok\n }\n+\n+func isENOBUFS(err error) bool {\n+\treturn false // ENOBUFS is Unix-specific\n+}", "additions": 4, "deletions": 0, "language"...
2021-12-10T19:13:52
electron/electron
df5bad3f89a2946691416121b47af3b8cfae190f
0e2323c9c8753e6eb61e10b90a5a06357f2ec749
fix api and docs
[ { "path": "atom/browser/api/atom_api_debugger.cc", "patch": "@@ -1,4 +1,4 @@\n-// Copyright (c) 2015 GitHub, Inc.\n+// Copyright (c) 2016 GitHub, Inc.\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n@@ -33,8 +33,7 @@ void Debugger::AgentHostClosed(...
2016-01-22T04:57:25
huggingface/transformers
6efc1799c1d0665c41717c555f3551d974e4d61a
325810e7fccf8273599c58a525ae0011ea8ba3e6
[kernels] Fix XPU layernorm kernel (#41583) * fix * add comment * better fix * style * Update src/transformers/modeling_utils.py Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/hub_kernels.py", "patch": "@@ -19,6 +19,7 @@\n \n from ..modeling_flash_attention_utils import lazy_import_flash_attention\n from ..utils import logging\n+from ..utils.import_utils import is_kernels_available\n from .flash_attention import flash_attention_forward\n \...
2025-11-04T15:59:07
nodejs/node
73a686f1bbacbdb40d552388d22a815340ae012a
757f3f8b2cf9854292caaa143a1b0a7fbac5e0ea
test: add mustCall to net-connect-buffer test PR-URL: https://github.com/nodejs/node/pull/27446 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Colin Ihrig <cj...
[ { "path": "test/parallel/test-net-connect-buffer.js", "patch": "@@ -33,11 +33,11 @@ const tcp = net.Server(common.mustCall((s) => {\n buf += d;\n });\n \n- s.on('end', function() {\n+ s.on('end', common.mustCall(function() {\n console.error('SERVER: end', buf);\n assert.strictEqual(buf, \"L'...
2019-04-28T08:39:49
vercel/next.js
ef2b8f8696d7e93bd69945f0f1b5acedb0a5298c
064e0c25d778d27fbe7f6258273a6e702cae5fcf
Fix canonical url for dynamic routes (#49512) The `pathname` in app-render was actually "page" (e.g. `/blog/[slug]`), with special url conventions. Instead we should use actual request url as pathname. Rename previous `pathname` arg to `pagePath` for better readability Also improved the url validation
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -138,11 +138,12 @@ function findDynamicParamFromRouterState(\n export async function renderToHTMLOrFlight(\n req: IncomingMessage,\n res: ServerResponse,\n- pathname: string,\n+ pagePath: string,\n query: NextParsedUrlQuery...
2023-05-09T23:31:06
rust-lang/rust
8469966710a16fd11af832d592569bcdf2298081
706f244db581212cabf2e619e0113d70999b2bbe
Account for beta revisions when normalizing versions Several UI tests have a `normalize-stderr` for "you are using x.y.z" rustc versions, and that regex is flexible enough for suffixes like "-nightly" and "-dev", but not for "-beta.N". We can just add '.' to that trailing pattern to include this.
[ { "path": "tests/ui/deprecation/deprecated_no_stack_check.rs", "patch": "@@ -1,4 +1,4 @@\n-//@ normalize-stderr: \"you are using [0-9]+\\.[0-9]+\\.[0-9]+(-[a-zA-Z0-9]+)?( \\([^)]*\\))?\" -> \"you are using $$RUSTC_VERSION\"\n+//@ normalize-stderr: \"you are using [0-9]+\\.[0-9]+\\.[0-9]+(-[a-zA-Z0-9.]+)?( \...
2025-06-23T20:30:14
golang/go
b55cbbb9e76969d67fbc6e264a584ad18c2f95fa
d198a36d8c1d0a251449a1cc2355485a177310c4
net: pass a testing.TB to newLocal* helpers Passing in an explicit testing.TB gives two benefits: 1. It allows the helper to fail the test itself, instead of returning an error to the caller. A non-nil error invariably fails the calling test, and none of these callers bother to add detail to the error when l...
[ { "path": "src/net/conn_test.go", "patch": "@@ -26,10 +26,7 @@ func TestConnAndListener(t *testing.T) {\n \t\t\tcontinue\n \t\t}\n \n-\t\tls, err := newLocalServer(network)\n-\t\tif err != nil {\n-\t\t\tt.Fatal(err)\n-\t\t}\n+\t\tls := newLocalServer(t, network)\n \t\tdefer ls.teardown()\n \t\tch := make(ch...
2021-12-09T16:42:42
electron/electron
ed34e33fbfd3b1ad45f9c648a69717eb9eb2dfe1
b9d62d2cab4f28b4451a3580a6728b6ecc20d4e0
Fix typos in environment-variables.md
[ { "path": "docs/api/environment-variables.md", "patch": "@@ -27,8 +27,8 @@ Prints Chrome's internal logging to console.\n \n ## `ELECTRON_LOG_ASAR_READS`\n \n-When Electron reads from an ASAR file, log the the read offset and file path\n-to the system `tmpdir`. Th resulting file can be provided to the ASAR ...
2016-01-21T18:57:50
vercel/next.js
064e0c25d778d27fbe7f6258273a6e702cae5fcf
71d8064b3d048454c620796bc4b80b02bf183f17
chore: fix flaky middleware matcher test (#49555) ``` ✕ should match query path (2857 ms) ● Middleware custom matchers basePath › should match query path expect(received).toBe(expected) // Object.is equality Expected: "random" Received: "" ``` https://github.com/vercel/next.js/actions/runs/492933...
[ { "path": "test/e2e/middleware-dynamic-basepath-matcher/test/index.test.ts", "patch": "@@ -3,7 +3,7 @@\n \n import { join } from 'path'\n import webdriver from 'next-webdriver'\n-import { fetchViaHTTP } from 'next-test-utils'\n+import { check, fetchViaHTTP } from 'next-test-utils'\n import { createNext, Fil...
2023-05-09T22:37:03
huggingface/transformers
325810e7fccf8273599c58a525ae0011ea8ba3e6
9a19171fad3025f57fae72d8f3598f44b68102e5
add fuyu fast image processors (#41817) * added fast processor for fuyu (#36978) * updated docs for fuyu model (#36978) * updated test_image_processing and image_processing_fuyu_fast * updated fuyu.md and image_processing_fuyu_fast (#36978) * updated test_image_processing_fuyu (#36978) * formatted image_processi...
[ { "path": "docs/source/en/model_doc/fuyu.md", "patch": "@@ -75,11 +75,11 @@ A processor requires an image_processor and a tokenizer. Hence, inputs can be lo\n from PIL import Image\n from transformers import AutoTokenizer\n from transformers.models.fuyu.processing_fuyu import FuyuProcessor\n-from transforme...
2025-11-04T15:45:02
nodejs/node
757f3f8b2cf9854292caaa143a1b0a7fbac5e0ea
c5817abff5033da7c09302256a331e64473422a8
process: reduce the number of internal frames in async stack trace Previously, we call the JS land `runNextTicks` implementation immediately from JS land after evaluating the main module or the input, so these synchronous JS call frames would show up in the stack trace of the async errors, which can be confusing. This...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -819,13 +819,9 @@ Module.runMain = function() {\n true /* fromPromise */\n );\n });\n- // Handle any nextTicks added in the first tick of the program\n- process._tickCallback();\n return;\n }\n Module._load(process....
2019-04-24T19:03:48
electron/electron
0e2323c9c8753e6eb61e10b90a5a06357f2ec749
2e8a2c3a7f978a655eae21b0481e4b4b776f8910
browser: add webContents.debugger api
[ { "path": "atom/browser/api/atom_api_debugger.cc", "patch": "@@ -0,0 +1,152 @@\n+// Copyright (c) 2015 GitHub, Inc.\n+// Use of this source code is governed by the MIT license that can be\n+// found in the LICENSE file.\n+\n+#include \"atom/browser/api/atom_api_debugger.h\"\n+\n+#include <string>\n+\n+#incl...
2016-01-21T18:22:23
golang/go
d198a36d8c1d0a251449a1cc2355485a177310c4
f4ca598c9f08a4d00942a1c6a6b8cc7d8f162b66
cmd/asm,cmd/compile: fix tail call in leaf functions on PPC64 In some leaf functions using "RET foo(SB)", the jump may be incorrectly translated into "JMP LR" instead of "JMP foo(SB)". Such is the case when compiling the autogenerated function in k8s k8s.io/kubernetes/pkg/kubelet/server/stats.(*resourceAnalyzer).GetP...
[ { "path": "src/cmd/internal/obj/ppc64/obj9.go", "patch": "@@ -884,8 +884,13 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {\n \t\t\t\tq = c.newprog()\n \t\t\t\tq.As = ABR\n \t\t\t\tq.Pos = p.Pos\n-\t\t\t\tq.To.Type = obj.TYPE_REG\n-\t\t\t\tq.To.Reg = REG_LR\n+\t\t\t\tif retTarg...
2021-12-10T22:58:43
huggingface/transformers
9a19171fad3025f57fae72d8f3598f44b68102e5
26fca863126f6255a23eb47a2a77db938f87ef58
Add GLPNImageProcessorFast (#41725) * Add GLPNImageProcessorFast for torch backend * Address review feedback - Simplified to_dict() method - Keep tensors as torch instead of converting to numpy for heterogeneous shapes - Removed unnecessary shape guards in post_process_depth_estimation - Improved variable names (tg...
[ { "path": "docs/source/en/model_doc/glpn.md", "patch": "@@ -61,6 +61,11 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h\n [[autodoc]] GLPNImageProcessor\n - preprocess\n \n+## GLPNImageProcessorFast\n+\n+[[autodoc]] GLPNImageProcessorFast\n+ - preprocess\n+\n ## GLPN...
2025-11-04T15:44:52
vercel/next.js
71d8064b3d048454c620796bc4b80b02bf183f17
0dce75f642365cc52c08a0ff1be83092b422b670
feat(next-core): relay transform plugin (#48899) <!-- 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 Contributo...
[ { "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-230504.3#a68486bd15982ba1634a3f672d0808b061f72e28\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-09T18:09:34
nodejs/node
31b3dd28429df7ea7ebc84bdfaf8d9eb9e417b41
38f3526f27c91181ec80ea488c177a49252aeb12
tools: prohibit `assert.doesNotReject()` in Node.js core This makes sure we do not use `assert.doesNotReject()` anywhere in our code base. This is just a simple wrapper that catches the rejection and then rejects it again in case of an error. Thus, it is not useful to do that. The error message for `assert.doesNotThr...
[ { "path": ".eslintrc.js", "patch": "@@ -184,7 +184,11 @@ module.exports = {\n },\n {\n selector: \"CallExpression[callee.property.name='doesNotThrow']\",\n- message: 'Please replace `assert.doesNotThrow()` and add a comment next to the code instead.',\n+ message: 'Do not us...
2019-04-24T22:46:40
huggingface/transformers
26fca863126f6255a23eb47a2a77db938f87ef58
900cf9d33bc091f3e47f8e598cba464f8b93bdd7
Fix default image_rows and image_cols initialization in Idefics3 and SmolVLM processors (#41871) * Fix default image_rows and image_cols initialization in Idefics3 and SmolVLM processors * Fix default initialization of image_rows and image_cols in Idefics3 and SmolVLM processors
[ { "path": "src/transformers/models/idefics3/processing_idefics3.py", "patch": "@@ -286,8 +286,8 @@ def __call__(\n f\"The number of images in the text {n_images_in_text} and images {n_images_in_images} should be the same.\"\n )\n \n- image_rows = in...
2025-11-04T15:42:47
electron/electron
16b4b58de10fe04669b0bf9754c30d733b1f7df4
b1f679ff6d9d002ac1980c377c82d31c0c760494
e -> error
[ { "path": "atom/browser/lib/rpc-server.js", "patch": "@@ -200,7 +200,7 @@ var callFunction = function(event, func, caller, args) {\n // them with the function name so it's easier to trace things like\n // `Error processing argument -1.`\n funcName = (ref = func.name) != null ? ref : \"anonymous\...
2016-01-19T23:11:55
vercel/next.js
0dce75f642365cc52c08a0ff1be83092b422b670
000d022b4e83b7e9022af085911abd9bbf85f7e2
ci(test): enable turbopack test (#49466) <!-- 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 Contributors ##...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -822,16 +822,12 @@ jobs:\n TEST_TIMINGS_TOKEN: ${{ secrets.TEST_TIMINGS_TOKEN }}\n # Enabling backtrace will makes snapshot tests fail\n RUST_BACKTRACE: 0\n- # Path to the custom next-swc bindings located in **docker co...
2023-05-09T17:46:54
golang/go
f4ca598c9f08a4d00942a1c6a6b8cc7d8f162b66
6f42be78bbc107beef8b6eb61a794355e07120ca
net: don't check "invalid.invalid" lookup errors in TestLookupHostCancel The exact error isn't actually relevant to the test, and may depend on whether the Go or cgo resolver is used. Also run the test in parallel, because it spends most of its time sleeping in between lookups. Fixes #38767 Fixes #43140 Change-Id: ...
[ { "path": "src/net/lookup_test.go", "patch": "@@ -925,6 +925,8 @@ func TestNilResolverLookup(t *testing.T) {\n // canceled lookups (see golang.org/issue/24178 for details).\n func TestLookupHostCancel(t *testing.T) {\n \tmustHaveExternalNetwork(t)\n+\tt.Parallel() // Executes 600ms worth of sequential sleep...
2021-12-03T16:44:00
huggingface/transformers
900cf9d33bc091f3e47f8e598cba464f8b93bdd7
154d5101a4c1ad91153ece4dc233333f208ac754
Fix issue with from pretrained and kwargs in image processors (#41997) * accept kwargs in image proc from_pretrained * only use kwargs that are in cls.valid_kwargs * remove specific logic for _from_auto * add image_seq_length to Images_kwargs for backward compatibility * fix missing image kwargs in pix2struct
[ { "path": "src/transformers/image_processing_base.py", "patch": "@@ -362,25 +362,13 @@ def from_dict(cls, image_processor_dict: dict[str, Any], **kwargs):\n \"\"\"\n image_processor_dict = image_processor_dict.copy()\n return_unused_kwargs = kwargs.pop(\"return_unused_kwargs\", False...
2025-11-04T15:35:39
electron/electron
b1f679ff6d9d002ac1980c377c82d31c0c760494
70bcb0ac5af853d1bd3c5f633b76b42bf137f741
Clean up semicolon lint errors
[ { "path": "atom/browser/default_app/main.js", "patch": "@@ -144,23 +144,29 @@ app.once('ready', function() {\n submenu: [\n {\n label: 'Learn More',\n- click: function() { shell.openExternal('http://electron.atom.io') }\n+ click: function() {\n+ shell.ope...
2016-01-19T22:53:59
nodejs/node
31ac8b9080d6c5808f1f47ffa7a33d2ca09fa6f2
617c55ebe510adb06e511016bd054840e593c760
deps: backport ICU-20575 to fix err/crasher - Floating patch for ICU 64.x - includes test case ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575 Backport of: https://github.com/unicode-org/icu/pull/634 Fixes: https://github.com/nodejs/node/issues/27418 PR-URL: https://github.com/nodejs/node/pull/27435 Revi...
[ { "path": "test/parallel/test-intl.js", "patch": "@@ -136,4 +136,15 @@ if (!common.hasIntl) {\n common.mustCall((e) => assert.ifError(e))\n );\n }\n+\n+ {\n+ // Regression test for https://github.com/nodejs/node/issues/27418\n+ const env = { ...process.env, LC_ALL: 'fr@EURO' };\n+ exec...
2019-04-25T16:09:42
huggingface/transformers
154d5101a4c1ad91153ece4dc233333f208ac754
e3d4fa692ea3a6b844a28ddc100a418a32e72130
add back `logging_dir` (#42013) * add back * Apply style fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[ { "path": "src/transformers/training_args.py", "patch": "@@ -885,6 +885,12 @@ class TrainingArguments:\n )\n },\n )\n+ logging_dir: Optional[str] = field(\n+ default=None,\n+ metadata={\n+ \"help\": \"Deprecated and will be removed in v5.2. Set env var `TE...
2025-11-04T15:22:58
golang/go
6f42be78bbc107beef8b6eb61a794355e07120ca
36db10f3cb916a1b97af3bfd4be7e3a2932185f8
net: do not try to remove the LocalAddr of a unix socket TestUnixAndUnixpacketServer deferred a call to os.Remove on the local address of a dialed unix domain socket, in an attempt to remove the socket from the server. However, that call appears to be neither necessary nor correct. In this test, the file that needs t...
[ { "path": "src/net/server_test.go", "patch": "@@ -7,9 +7,7 @@\n package net\n \n import (\n-\t\"fmt\"\n \t\"os\"\n-\t\"reflect\"\n \t\"testing\"\n )\n \n@@ -190,32 +188,9 @@ func TestUnixAndUnixpacketServer(t *testing.T) {\n \t\t\t\tt.Fatal(err)\n \t\t\t}\n \n-\t\t\t// We really just want to defer os.Remove...
2021-12-09T16:54:46
vercel/next.js
000d022b4e83b7e9022af085911abd9bbf85f7e2
d9b82a9535e5d5d4bcd238da7cfd8d1154b7d2de
Support `.bind` syntax with Action functions (#49422) This PR implements initial support for `.bind` syntax for inline actions (not top-level `"use server"` files yet). For example: ```js export default function Page({ foo, x, y }) { async function action(a, b, c, d) { 'use server' console.log(a, b, ...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -38,16 +38,15 @@ pub fn server_actions<C: Comments>(\n in_export_decl: false,\n in_default_export_decl: false,\n has_action: false,\n- top_level: false,\n \n ident_cnt: 0,\n in_module...
2023-05-09T17:05:20
electron/electron
70bcb0ac5af853d1bd3c5f633b76b42bf137f741
ccce284a5b937acffe749b9689f57b9f9e36a587
Clean up no-unused-vars lint errors
[ { "path": "atom/browser/api/lib/app.js", "patch": "@@ -60,9 +60,8 @@ var fn = function(name) {\n return webContents.emit.apply(webContents, [name, event].concat(slice.call(args)));\n });\n };\n-var i, len, name;\n+var i, len;\n for (i = 0, len = ref1.length; i < len; i++) {\n- name = ref1[i];\n fn(...
2016-01-19T22:49:40
huggingface/transformers
e3d4fa692ea3a6b844a28ddc100a418a32e72130
dd4e048e75d61512a92faba59d7651aad1ce9519
Fix continuous batching tests (#42012) * Fix continuous batching tests * make fixup
[ { "path": "tests/generation/test_continuous_batching.py", "patch": "@@ -350,9 +350,9 @@ def test_streaming_request(self) -> None:\n \n messages = [{\"content\": \"What is the Transformers library known for?\", \"role\": \"user\"}]\n \n- inputs = tokenizer.apply_chat_template(messages, return_...
2025-11-04T15:10:35
nodejs/node
617c55ebe510adb06e511016bd054840e593c760
f4c77f9118327da5cbd29656a93f08de7ea5b74a
deps: backport ICU-20558 to fix Intl crasher - Floating patch for ICU 63.x and 64.x - fixing crash in Intl when ICU data not found. - Regression test from refack included. Background: - ICU-13778 (landed in ICU 63.1) fixed a bug but added a regression. - a recent v8 land in Node v12 (which one?) exposes this bug to c...
[ { "path": "test/parallel/test-intl.js", "patch": "@@ -22,6 +22,7 @@\n 'use strict';\n const common = require('../common');\n const assert = require('assert');\n+const { execFile } = require('child_process');\n \n // Does node think that i18n was enabled?\n let enablei18n = process.config.variables.v8_enable...
2019-04-25T16:09:42
golang/go
36db10f3cb916a1b97af3bfd4be7e3a2932185f8
9bfe09d78bd1b3ab97bc6e1c31395f0822875fba
net: remove erroneous Dial check in TestListenerClose TestListenerClose had been asserting that a Dial to the newly-closed address always fails, on the assumption that the listener's address and port would not be reused by some other listener that could then accept the connection. As far as I can tell, that assumptio...
[ { "path": "src/net/net_test.go", "patch": "@@ -243,7 +243,6 @@ func TestListenerClose(t *testing.T) {\n \t\t\t\tdefer os.Remove(ln.Addr().String())\n \t\t\t}\n \n-\t\t\tdst := ln.Addr().String()\n \t\t\tif err := ln.Close(); err != nil {\n \t\t\t\tif perr := parseCloseError(err, false); perr != nil {\n \t\t...
2021-12-09T22:00:51
vercel/next.js
d9b82a9535e5d5d4bcd238da7cfd8d1154b7d2de
881d202962b4226330b6fe4986d0cc943e4f40e6
Fix HMR support for server layer imported SASS and SCSS (#49534) Closes #43396. https://github.com/vercel/next.js/issues/43396#issuecomment-1538638785 fix NEXT-684
[ { "path": "packages/next/src/server/dev/hot-reloader.ts", "patch": "@@ -958,7 +958,7 @@ export default class HotReloader {\n // components are tracked.\n if (\n key.startsWith('app/') &&\n- mod.resource?.endsWith('.cs...
2023-05-09T16:28:37
huggingface/transformers
6ff4fabd9d1d02b8de1a0019e0dc48af09da5de4
6d4450e341da386c47ebfd4f37374693d2788257
Correct syntax error in trainer.md (#42001) A comma is missing between two parameters in the signature of compute_loss function.
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -187,7 +187,7 @@ from torch import nn\n from transformers import Trainer\n \n class CustomTrainer(Trainer):\n- def compute_loss(self, model: nn.Module, inputs: dict[str, Union[torch.Tensor, Any]], return_outputs: bool = False num_items_in_batch: Optiona...
2025-11-04T12:36:54
electron/electron
ccce284a5b937acffe749b9689f57b9f9e36a587
4f4456bde8475fbfd3a45c6b554e5c87d5c00f9b
Clean up no-empty lint errors
[ { "path": "script/eslintrc-spec.json", "patch": "@@ -1,7 +1,4 @@\n {\n- \"rules\": {\n- \"no-empty\": 0\n- },\n \"env\": {\n \"jquery\": true,\n \"mocha\": true", "additions": 0, "deletions": 3, "language": "JSON" }, { "path": "spec/api-browser-window-spec.js", "patch"...
2016-01-19T19:31:47
nodejs/node
f4c77f9118327da5cbd29656a93f08de7ea5b74a
66cf4b5d6e029f747d8c3ab0dc29b39bbf37eed9
src: refactor deprecated UVException in node_file.cc PR-URL: https://github.com/nodejs/node/pull/27280 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "src/node_file.cc", "patch": "@@ -607,8 +607,8 @@ void AfterScanDir(uv_fs_t* req) {\n if (r == UV_EOF)\n break;\n if (r != 0) {\n- return req_wrap->Reject(\n- UVException(r, nullptr, req_wrap->syscall(), req->path));\n+ return req_wrap->Reject(UVException(\n+ ...
2019-04-17T15:35:09
golang/go
9bfe09d78bd1b3ab97bc6e1c31395f0822875fba
49b7c9caec6b96d0b327624efee61bd8a72cf68c
cmd/compile: fix identity case relating to 'any' and shape types In identical(), we don't want any to match a shape empty-interface type for the identStrict option, since IdenticalStrict() is specifically not supposed to match a shape type with a non-shape type. There is similar code in (*Type).cmp() (TINTER case), b...
[ { "path": "src/cmd/compile/internal/types/identity.go", "patch": "@@ -59,7 +59,11 @@ 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-12-12T19:08:59
vercel/next.js
881d202962b4226330b6fe4986d0cc943e4f40e6
201ab71ee74b58484806c13b794023965210967b
Fix server CSS imports and HMR not working properly in specific conditions (#49462) In Hot Reloader we use `mod.resource.replace(/\\/g, '/').includes(key)` to see if the module is the entry. However that `includes` check isn't solid. Say the entry key is `app/path/page`, these will all be matched: ``` app/path/p...
[ { "path": "packages/next/src/server/dev/hot-reloader.ts", "patch": "@@ -885,6 +885,10 @@ export default class HotReloader {\n const prevEdgeServerPageHashes = new Map<string, string>()\n const prevCSSImportModuleHashes = new Map<string, string>()\n \n+ const pageExtensionRegex = new RegExp(\n+ ...
2023-05-09T15:48:19
huggingface/transformers
6d4450e341da386c47ebfd4f37374693d2788257
aee5c2384a176e110377af6259c799ea8cc29696
Fix `torch+deepspeed` docker file (#41985) * fix * delete --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -97,7 +97,7 @@ jobs:\n latest-torch-deepspeed-docker:\n name: \"Latest PyTorch + DeepSpeed\"\n runs-on:\n- group: aws-g4dn-2xlarge-cache\n+ group: aws-general-8-plus\n steps:\n -\n name: Set up Docker B...
2025-11-04T10:41:22