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 |
|---|---|---|---|---|---|
electron/electron | 6b9e61c65da7c1d373c9c0c11fa1f61dd90857d3 | 8ae459e9fa34b8c3e8c485bfcdc00d4a787b68cd | Fix flashing in WebContents we create
If the embedding app creates them it's up to them to fix this. | [
{
"path": "brightray/browser/inspectable_web_contents.cc",
"patch": "@@ -2,10 +2,18 @@\n \n #include \"browser/inspectable_web_contents_impl.h\"\n \n+#include \"content/public/browser/web_contents_view.h\"\n+\n namespace brightray {\n \n InspectableWebContents* InspectableWebContents::Create(const content::... | 2013-10-10T20:23:52 |
golang/go | ef3122e909f8c14a6bddcd77092d36710e16989f | af1789a61c02fa769fcd4ab8addcbb9a160b987b | cmd/internal/obj/x86: simplify huge frame prologue
For stack frames larger than StackBig, the stack split prologue needs
to guard against potential wraparound. Currently, it carefully
arranges to avoid underflow, but this is complicated and requires a
special check for StackPreempt. StackPreempt is no longer the only
... | [
{
"path": "src/cmd/internal/obj/x86/obj6.go",
"patch": "@@ -1021,6 +1021,12 @@ func stacksplit(ctxt *obj.Link, cursym *obj.LSym, p *obj.Prog, newprog obj.ProgA\n \t\tsub = ASUBL\n \t}\n \n+\ttmp := int16(REG_AX) // use AX for 32-bit\n+\tif ctxt.Arch.Family == sys.AMD64 {\n+\t\t// Avoid register parameters.\... | 2021-04-02T19:57:46 |
vercel/next.js | 1d58c0ab911cc3320d0c0f5c20ecfe0db230a062 | d651e2799a55e45bc173263545ea7762a14a4309 | Improve TypeScript plugin error when the configuration is not statically analyzable (#42062)
As per
https://github.com/vercel/next.js/issues/41951#issuecomment-1294199692,
this PR improves the TS plugin error message when a non-literal
configuration is used:
<img width="902" alt="CleanShot 2022-10-28 at 07 36 31... | [
{
"path": "packages/next/server/next-typescript.ts",
"patch": "@@ -130,7 +130,7 @@ function getAPIDescription(api: string): string {\n }\n \n function removeStringQuotes(str: string): string {\n- return str.replace(/^['\"]|['\"]$/g, '')\n+ return str.replace(/^['\"`]|['\"`]$/g, '')\n }\n \n export functio... | 2022-10-30T07:31:01 |
nodejs/node | 913a78936d660d6918d78a373d127d56cec6696b | 0419adc7713fb6c6a4def28542740bf9a69e7ac9 | build: export openssl TLSv1 methods again
Upstream deprecated them and moved them into categories of their own.
Add those categories to the export list. Node.js doesn't use them but
some add-ons do.
Fixes: https://github.com/nodejs/node/issues/20369
PR-URL: https://github.com/nodejs/node/pull/20712
Reviewed-By: Anna... | [
{
"path": "node.gyp",
"patch": "@@ -602,7 +602,7 @@\n # Categories to export.\n '-CAES,BF,BIO,DES,DH,DSA,EC,ECDH,ECDSA,ENGINE,EVP,HMAC,MD4,MD5,'\n 'PSK,RC2,RC4,RSA,SHA,SHA0,SHA1,SHA256,SHA512,SOCK,STDIO,TLSEXT,'\n- 'FP_API',\n+ 'FP_API,TLS1... | 2018-05-14T10:24:12 |
huggingface/transformers | 8ee50537fe7613b87881cd043a85971c85e99519 | 8eaae6bee973e2068b5ed5622a708d99ce3dd862 | Qwen2VL fix cos,sin dtypes to float when used with deepspeed (#36188)
* fix dtype of cos,sin when used with deepspeed
* move sin,cos casting withing flash attention functions
* fix cos,sin float casting in modular
---------
Co-authored-by: ardalan.mehrani <ardalan.mehrani@ardalanmehranis-MacBook-Pro.local>
Co-auth... | [
{
"path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py",
"patch": "@@ -165,8 +165,8 @@ def apply_rotary_pos_emb_flashatt(\n ) -> Tuple[torch.Tensor, torch.Tensor]:\n cos = cos.chunk(2, dim=-1)[0].contiguous()\n sin = sin.chunk(2, dim=-1)[0].contiguous()\n- q_embed = apply_rotary_emb... | 2025-02-18T18:18:29 |
electron/electron | 8ae459e9fa34b8c3e8c485bfcdc00d4a787b68cd | c0e744db789008f764e0a07b46aab1c9391da0c0 | Work around http://crbug.com/279472 for devtools views | [
{
"path": "brightray/browser/inspectable_web_contents_impl.cc",
"patch": "@@ -58,6 +58,12 @@ content::WebContents* InspectableWebContentsImpl::GetWebContents() const {\n void InspectableWebContentsImpl::ShowDevTools() {\n if (!devtools_web_contents_) {\n devtools_web_contents_.reset(content::WebConten... | 2013-10-10T18:07:20 |
golang/go | 7bfd681c2f11918c6245ad2906b2efc12eda2914 | 776d8d387c262d3dd159f7868b3c04fb0f617865 | runtime/pprof: skip tests for AIX
Most of the time, the pprof tests are passing, except
for the builder. The reason is still unknown but I'd rather release
the builder to avoid missing other more important bugs.
Updates #45170
Change-Id: I667543ee1ae309b7319c5b3676a0901b4d0ecf2e
Reviewed-on: https://go-review.google... | [
{
"path": "src/runtime/pprof/pprof_test.go",
"patch": "@@ -276,7 +276,8 @@ func testCPUProfile(t *testing.T, matches matchFunc, need []string, avoid []stri\n \n \tbroken := false\n \tswitch runtime.GOOS {\n-\tcase \"ios\", \"dragonfly\", \"netbsd\", \"illumos\", \"solaris\":\n+\t// See https://golang.org/is... | 2021-04-01T08:06:05 |
vercel/next.js | d651e2799a55e45bc173263545ea7762a14a4309 | 676be08d324f17e34654fdbbae0b5dfd2a699084 | Fix failing codemod test `url-to-withrouter` (#42109)
This test was failing when running
```
cd ./packages/next-codemod
pnpm build
pnpm test
``` | [
{
"path": "packages/next-codemod/transforms/__testfixtures__/url-to-withrouter/using-inline-class.output.js",
"patch": "@@ -1,7 +1,7 @@\n import { withRouter } from \"next/router\";\n \n-export default withRouter(class extends React.Component {\n+export default withRouter((class extends React.Component {\n ... | 2022-10-30T05:26:21 |
nodejs/node | 1d3759a33c153dc0216b53085a25922abee34c8d | c8e7f8f77e1aa57564204e6f43213813794f97a3 | fs: consistent constants use and cleanup
* only require('buffer') once
* use constants directly
* fix incorrect constants
PR-URL: https://github.com/nodejs/node/pull/20765
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@g... | [
{
"path": "lib/fs.js",
"patch": "@@ -24,16 +24,31 @@\n \n 'use strict';\n \n-const constants = process.binding('constants').fs;\n-const { S_IFIFO, S_IFLNK, S_IFMT, S_IFREG, S_IFSOCK } = constants;\n+const { fs: constants } = process.binding('constants');\n+const {\n+ S_IFIFO,\n+ S_IFLNK,\n+ S_IFMT,\n+ S... | 2018-05-14T23:36:37 |
rust-lang/rust | 38eea1b0bf8d00669db2d36af3452746a1fb92fa | d9b61b3382e83c8e3aaab0239da74e0526aed283 | Fix `llvm-profdata` extension on non Linux OSes | [
{
"path": "src/tools/rust-analyzer/xtask/src/dist.rs",
"patch": "@@ -168,7 +168,7 @@ fn gather_pgo_profile<'a>(\n .read()\n .context(\"cannot resolve target-libdir from rustc\")?;\n let target_bindir = PathBuf::from(target_libdir).parent().unwrap().join(\"bin\");\n- let llvm_profdata ... | 2025-04-15T08:47:10 |
electron/electron | 92c68797d07decae156d3a912ee0cd77420f31cb | 9a2fc8f4ea9de9f063b022a59eb8d231080f7e77 | Enable more common ASCII tokens to be used in accelerator, fixes #107. | [
{
"path": "browser/ui/accelerator_util.cc",
"patch": "@@ -57,22 +57,56 @@ bool StringToAccelerator(const std::string& description,\n } else if (tokens[i] == \"Shift\") {\n modifiers |= ui::EF_SHIFT_DOWN;\n } else if (tokens[i].size() == 1) {\n+ char token = tokens[i][0];\n+\n if (ke... | 2013-10-10T06:33:59 |
golang/go | 9e7bc80b31088dc62faf4776ffdb1a2e27afa94e | dac136f87b9d5fdda9b5c33dfa0f94dc8c9880c7 | os: reuse readdir buffers on unix with a sync.Pool
(*File).readdir allocates a fixed-size 8KiB buffer on unix systems that
cannot be reused. While it accounts for just a single allocation, it's
more than large enough to show up in profiles and make things quite a
bit slower.
Instead of allocating so often, use a sync... | [
{
"path": "src/os/dir_unix.go",
"patch": "@@ -10,30 +10,43 @@ package os\n import (\n \t\"io\"\n \t\"runtime\"\n+\t\"sync\"\n \t\"syscall\"\n \t\"unsafe\"\n )\n \n // Auxiliary information if the File describes a directory\n type dirInfo struct {\n-\tbuf []byte // buffer for directory I/O\n-\tnbuf int /... | 2021-03-16T02:05:35 |
vercel/next.js | 676be08d324f17e34654fdbbae0b5dfd2a699084 | f355dd4f4f94242886100e8ce6f6ac0e200c7954 | Warn when legacy prop detected on `next/image` (#42102)
Instead of hard error, we can try to convert legacy props to the new
props and print a warning.
We still recommend upgrading by running one (or both) codemods because
the new component no longer has a wrapping `<span>`.
<img width="616" alt="image"
src="... | [
{
"path": "packages/next/client/image.tsx",
"patch": "@@ -108,6 +108,27 @@ export type ImageProps = Omit<\n blurDataURL?: string\n unoptimized?: boolean\n onLoadingComplete?: OnLoadingComplete\n+ /**\n+ * @deprecated Use `fill` prop instead of `layout=\"fill\"` or change import to `next/legacy/imag... | 2022-10-30T05:22:08 |
nodejs/node | c8e7f8f77e1aa57564204e6f43213813794f97a3 | e6b7f0ef0c391073c9f6573a2354ec0f04b7c405 | doc: fix linter warnings and typos in manpage
Refs: https://github.com/nodejs/node/pull/19911
PR-URL: https://github.com/nodejs/node/pull/20741
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Sne... | [
{
"path": "doc/node.1",
"patch": "@@ -39,7 +39,7 @@\n .Op Ar options\n .Op Ar v8-options\n .Op Fl e Ar string | Ar script.js | Fl\n-.Op Fl \\-\n+.Op Fl -\n .Op Ar arguments ...\n .\n .Nm node\n@@ -61,11 +61,11 @@ without arguments to start a REPL.\n .\n .Sh OPTIONS\n .Bl -tag -width 6n\n-.It Sy \\-\n+.It Sy... | 2018-05-15T05:40:52 |
rust-lang/rust | d20b270b4e431a010e9149a64e816a9ff2b3dec9 | 1dd77cd24acd5a960c4ddaa7a368d1518a995407 | Don't name macro internals in "does not live long enough" errors. | [
{
"path": "compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs",
"patch": "@@ -2959,21 +2959,27 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n }\n }\n \n- let mut err = self.path_does_not_live_long_enough(borrow_span, &format!(\"`{name}`\"));\n+ let name... | 2025-03-28T08:41:31 |
golang/go | dac136f87b9d5fdda9b5c33dfa0f94dc8c9880c7 | 971c7154b04d8dd00da932a26ecb6bb8d8fc133d | archive/zip: fix character device handling in fileModeToUnixMode
The switch case for fs.ModeDevice can only be reached for block devices
while character devices match fs.ModeDevice | fs.ModeCharDevice. This
would cause character devices to wrongly be reported as regular files.
This bug has existed since the switch wa... | [
{
"path": "src/archive/zip/struct.go",
"patch": "@@ -341,11 +341,9 @@ func fileModeToUnixMode(mode fs.FileMode) uint32 {\n \tcase fs.ModeSocket:\n \t\tm = s_IFSOCK\n \tcase fs.ModeDevice:\n-\t\tif mode&fs.ModeCharDevice != 0 {\n-\t\t\tm = s_IFCHR\n-\t\t} else {\n-\t\t\tm = s_IFBLK\n-\t\t}\n+\t\tm = s_IFBLK\... | 2021-03-12T13:57:30 |
vercel/next.js | c19c10069f92274cb87e7db655fbca24181c8d96 | 0a0c8e0299e3e0519262b1c692ee44f13cabdb12 | grammar fix in adding-examples README. (#42152)
Closes https://github.com/vercel/next.js/issues/42151
This PR fixes grammar in adding-examples README. | [
{
"path": "contributing/examples/adding-examples.md",
"patch": "@@ -22,7 +22,7 @@ Also, don’t forget to add a `README.md` file with the following format:\n - Omit the `name` and `version` fields from your `package.json`.\n - Ensure all your dependencies are up to date.\n - Ensure you’re using [`next/image`]... | 2022-10-30T05:02:08 |
rust-lang/rust | 7dfb457745d7f873eb5db1c3fb39d58fa768740d | 8e6f50bb4d30801d04619a4cd6406b320eb8919f | add FIXME note in `TomlConfig::merge`
Signed-off-by: onur-ozkan <work@onurozkan.dev> | [
{
"path": "src/bootstrap/src/core/config/config.rs",
"patch": "@@ -812,6 +812,8 @@ impl Merge for TomlConfig {\n exit!(2);\n });\n \n+ // FIXME: Similar to `Config::parse_inner`, allow passing a custom `get_toml` from the caller to\n+ // improve testability ... | 2025-04-15T08:53:21 |
nodejs/node | 0ebbd764a8700f6900d4b4b88e43307b335d64a5 | 2773de52fd7fac2f6b690e9dd9411cb3a0cd365e | deps: V8: cherry-pick b49206d from upstream
Original commit message:
ThreadDataTable: Change global linked list to per-Isolate hash map.
For use cases with a large number of threads or a large number of
isolates (or both), ThreadDataTable can be a major performance
bottleneck due to O(n) lookup time of the li... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,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.7',\n+ 'v8_embedder_string': '-node.8',\n \n # Enable disassembler for `--print-code... | 2018-05-14T19:17:38 |
huggingface/transformers | 4d2de5f63c1c31af59d53351686b1f4dfa20ecf8 | c3ba53303b901230f0487c95cf2838cff56b6e8f | Fix XGLM loss computation (PyTorch and TensorFlow) (#35878)
* Fix XGLM loss computation (PyTorch and TensorFlow)
* Update expected output string in XGLM sample test
This updates the expected output string of test_xglm_sample for torch
2.0 to the correct one and removes the one for torch 1.13.1 + cu116
(transfo... | [
{
"path": "src/transformers/models/xglm/modeling_tf_xglm.py",
"patch": "@@ -969,7 +969,7 @@ def call(\n if labels is not None:\n # shift labels to the left and cut last logit token\n labels = tf.concat(\n- [labels[:, 1:], tf.fill((labels.shape[0], 1), tf.cast(s... | 2025-02-18T14:37:48 |
golang/go | 971c7154b04d8dd00da932a26ecb6bb8d8fc133d | 6986c02d72db6806a46406ef398aa10f26018c20 | io/fs: implement subFS.Sub
Calling fs.Sub with the result of fs.Sub multiple times creates a deep
call stack for Open and other methods. Enhance the fs.FS returned by
fs.Sub to implement fs.SubFS and reduce the call stack.
Fixes #45349
Change-Id: I10e10501e030176e10e2ae5ad260212e5c784bed
Reviewed-on: https://go-revi... | [
{
"path": "src/io/fs/sub.go",
"patch": "@@ -125,3 +125,14 @@ func (f *subFS) Glob(pattern string) ([]string, error) {\n \t}\n \treturn list, f.fixErr(err)\n }\n+\n+func (f *subFS) Sub(dir string) (FS, error) {\n+\tif dir == \".\" {\n+\t\treturn f, nil\n+\t}\n+\tfull, err := f.fullName(\"sub\", dir)\n+\tif e... | 2021-04-02T00:05:24 |
vercel/next.js | 9bf811eea0028dcc4f74070e8a98c5d11da97d41 | ee6601ceda4735727b96865795a27e0b21a51f0e | Fix typo in importing counterReducer (#42162)
## Bug
- [ ] Fixes type in importing counterReducer | [
{
"path": "examples/with-redux/src/store.ts",
"patch": "@@ -1,6 +1,6 @@\n import { configureStore, ThunkAction, Action } from '@reduxjs/toolkit'\n \n-import counterReducer from '../features/counter/counterSlice'\n+import counterReducer from './features/counter/counterSlice'\n \n export function makeStore() ... | 2022-10-30T00:37:32 |
rust-lang/rust | 8e6f50bb4d30801d04619a4cd6406b320eb8919f | 3f70f197f2d131a1f57912f202072b2447d3e326 | fix path and the ordering logic
Signed-off-by: onur-ozkan <work@onurozkan.dev> | [
{
"path": "src/bootstrap/src/core/config/config.rs",
"patch": "@@ -776,6 +776,30 @@ impl Merge for TomlConfig {\n }\n }\n \n+ self.change_id.inner.merge(None, &mut Default::default(), change_id.inner, replace);\n+ self.profile.merge(None, &mut Default::default(), profile, r... | 2025-04-15T07:44:19 |
nodejs/node | 2773de52fd7fac2f6b690e9dd9411cb3a0cd365e | 7bd48896e912c7d5cfd12b6e6c314d13d91e74c5 | tools, doc: fix stability index isssues
1. Do not autolink in doc stability section.
2. Do not add void wrapping elements to docs.
PR-URL: https://github.com/nodejs/node/pull/20731
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivik... | [
{
"path": "tools/doc/html.js",
"patch": "@@ -56,7 +56,7 @@ function toHTML({ input, filename, nodeVersion, analytics }, cb) {\n const section = firstHeading ? firstHeading.text : 'Index';\n \n preprocessText(lexed);\n- preprocessElements(lexed);\n+ preprocessElements(lexed, filename);\n \n // Genera... | 2018-05-14T22:23:55 |
huggingface/transformers | c3ba53303b901230f0487c95cf2838cff56b6e8f | e6cc410d5b830e280cdc5097cb6ce6ea6a943e5e | feat: add support for tensor parallel training workflow with accelerate (#34194)
* feat: add support for tensor parallel flow using accelerate
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
* fix: add tp degree to env variable
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
... | [
{
"path": "docs/source/ar/trainer.md",
"patch": "@@ -673,6 +673,29 @@ tpu_use_sudo: false\n use_cpu: false\n ```\n \n+</hfoption>\n+<hfoption id=\"Tensor Parallelism with PyTorch 2\">\n+\n+```yml\n+compute_environment: LOCAL_MACHINE\n+tp_config:\n+ tp_size: 4\n+distributed_type: TP\n+downcast_bf16: 'no'\n+... | 2025-02-18T13:05:46 |
golang/go | 01821137c24750ddc7a58d3469bfd8c5e9d6bd47 | 93dcaba1192bac57409602a2f767f9b2f70b5f3a | cmd/compile/internal/types2: review of errors.go
The changes between (equivalent, and reviewed) go/types/errors.go
and errors.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker.
The go/types version is significantly different as it handles
error codes but doesn't ... | [
{
"path": "src/cmd/compile/internal/types2/errors.go",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2012 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.",
"additions": 0,
"deletions": 1,
... | 2021-03-29T21:59:39 |
rust-lang/rust | 6242335fdb7444876abf1c3669b6aab1649a0a64 | 8887af72a0b1f37a34b02d488ca3278576e2d73d | Improve diagnostic for E0178 (bad `+` in type)
Namely, use a more sensical primary span.
Don't pretty-print AST nodes for the diagnostic message. Why:
* It's lossy (e.g., it doesn't replicate trailing `+`s in trait objects.
* It's prone to leak error nodes (printed as `(/*ERROR*/)`) since
the LHS can easily represen... | [
{
"path": "compiler/rustc_parse/messages.ftl",
"patch": "@@ -543,7 +543,7 @@ parse_maybe_recover_from_bad_qpath_stage_2 =\n .suggestion = types that don't start with an identifier need to be surrounded with angle brackets in qualified paths\n \n parse_maybe_recover_from_bad_type_plus =\n- expected a ... | 2025-04-15T05:44:24 |
huggingface/transformers | e6cc410d5b830e280cdc5097cb6ce6ea6a943e5e | fdcfdbfd221a5b35694db6fb8620eaa729a01f57 | Remove flakiness in VLMs (#36242)
* fix
* nit
* no logits processor needed
* two more tests on assisted decoding | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -113,6 +113,10 @@\n from transformers.utils import is_sklearn_available\n \n \n+# TODO: raushan remove this when VLMs start accepting input embeds\n+VLM_CLASS_NAMES = [\"llava\", \"idefics2\", \"idefics3\", \"mllama\", \"paligemma\", \"emu3\", \"gotoc... | 2025-02-18T10:41:07 |
nodejs/node | 8d38288a8099fa282f4e86657f4f7d696039cf96 | f9de6f580460d01309b5d9e4d980ed37624de1a9 | http2: fix end without read
Adjust http2 behaviour to allow ending a stream even after some
data comes in (when the user has no intention of reading that
data). Also correctly end a stream when trailers are present.
PR-URL: https://github.com/nodejs/node/pull/20621
Fixes: https://github.com/nodejs/node/issues/20060
R... | [
{
"path": "lib/internal/http2/compat.js",
"patch": "@@ -260,8 +260,6 @@ class Http2ServerRequest extends Readable {\n stream[kRequest] = this;\n \n // Pause the stream..\n- stream.pause();\n- stream.on('data', onStreamData);\n stream.on('trailers', onStreamTrailers);\n stream.on('end',... | 2018-05-09T10:12:43 |
electron/electron | 61cc0bba251c4247e62d79692a948e01f74c62a3 | 587484a5d0cb17efca26bb75e5b6ce9874bdb4a8 | :lipstick: fix typo in doc. | [
{
"path": "docs/api/browser/app.md",
"patch": "@@ -83,8 +83,8 @@ Returns the version of current bundle or executable.\n \n Append a switch [with optional value] to Chromium's command line.\n \n-**Note:** This will not affect `process.argv`, and is mainly used by\n-**developers to control some low-level Chro... | 2013-10-05T05:03:08 |
vercel/next.js | 6e734d92a1c5323cb798575989639462dbf70626 | d510204fe554561afd1cbe189cf821e7220eb21e | Fix CSS imports from outside of the app dir when src folder is present (#42108)
Previously we use `path.join(compiler.context, chunk.name)` as the entry
name, which isn't always the case especially when there is the `src`
folder. This PR fixes that by using `appDir`.
## Bug
- [ ] Related issues linked using `f... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -2094,6 +2094,7 @@ export default async function getBaseWebpackConfig(\n dev,\n })\n : new FlightClientEntryPlugin({\n+ appDir,\n dev,\n isEdgeServer,\n })... | 2022-10-29T08:38:55 |
golang/go | 93dcaba1192bac57409602a2f767f9b2f70b5f3a | a1e4657d5a89d683a2bc0c5c8d6c5d2698bb081a | cmd/compile/internal/types2: review of stmt.go
The changes between (equivalent, and reviewed) go/types/stmt.go
and stmt.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker, and minor adjustments
to get the code slightly closer to go/types/stmt.go.
The primary diffe... | [
{
"path": "src/cmd/compile/internal/types2/stmt.go",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2012 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n@@ -265,7 +264,7 @@ L:\n \t}\n }\n \n-func (che... | 2021-03-29T20:36:53 |
rust-lang/rust | 8887af72a0b1f37a34b02d488ca3278576e2d73d | 97c966bb40756903f8aa13995629128d157f6056 | Improve parse errors for lifetimes in type position | [
{
"path": "compiler/rustc_parse/messages.ftl",
"patch": "@@ -642,7 +642,9 @@ parse_mut_on_nested_ident_pattern = `mut` must be attached to each individual bi\n .suggestion = add `mut` to each binding\n parse_mut_on_non_ident_pattern = `mut` must be followed by a named binding\n .suggestion = remove ... | 2025-04-14T18:48:51 |
huggingface/transformers | fdcfdbfd221a5b35694db6fb8620eaa729a01f57 | 626666c444208557041ef7edcda6b9e78eddfdee | Fix TorchAoConfig not JSON serializable (#36206)
**Summary:** TorchAoConfig optionally contains a
`torchao.dtypes.Layout` object which is a dataclass and not
JSON serializable, and so the following fails:
```
import json
from torchao.dtypes import TensorCoreTiledLayout
from transformers import TorchAoConfig
... | [
{
"path": "src/transformers/utils/quantization_config.py",
"patch": "@@ -15,6 +15,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import copy\n+import dataclasses\n import importlib.metadata\n import json\n import os\n@@ -1539,6 +1540,21 @@ d... | 2025-02-18T10:05:42 |
nodejs/node | f9de6f580460d01309b5d9e4d980ed37624de1a9 | a18e130e597c3efc1df7bd86198c2b5762d4fbae | doc: document file mode caveats on Windows
- On Windows only the write permission (read-only bit) can be
manipulated, and there is no distinction among owner, group
or others.
- mkdir on Windows does not support the mode argument.
PR-URL: https://github.com/nodejs/node/pull/20636
Fixes: https://github.com/nodejs/... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -1089,6 +1089,10 @@ For example, the octal value `0o765` means:\n * The group may read and write the file.\n * Others may read and execute the file.\n \n+Caveats: on Windows only the write permission can be changed, and the\n+distinction among the permissions of group... | 2018-05-09T17:26:42 |
electron/electron | defb6c9882bed6bb3038730586679d83e6e3701c | 55a35d473dac37c4bfa156b0937c171888f4d5dc | Don't wait for request in http spec.
This spec is used to crash atom-shell, we don't care if http request
succeeds. | [
{
"path": "spec/web/http.coffee",
"patch": "@@ -1,7 +1,4 @@\n describe 'http', ->\n describe 'sending request of http protocol urls', ->\n- it 'should not crash', (done) ->\n- $.ajax\n- url: 'http://127.0.0.1'\n- success: -> done()\n- error: -> done()\n+ it 'should not cras... | 2013-10-04T15:39:34 |
vercel/next.js | dc3cd950174ff22ebb6d9d62a0cfad6f96b61cae | 7ef653c7942faff7e08820a84bb7f1b5573b2e0d | Fix turbo css-modules test (#42103)
fixes:
https://github.com/vercel/next.js/actions/runs/3348828100/jobs/5548326347 | [
{
"path": "test/integration/css-fixtures/dev-module/next.config.js",
"patch": "@@ -0,0 +1 @@\n+module.exports = {}",
"additions": 1,
"deletions": 0,
"language": "JavaScript"
}
] | 2022-10-29T00:39:48 |
golang/go | a1e4657d5a89d683a2bc0c5c8d6c5d2698bb081a | 6454b2720ff4854ce92567d22fc7c6c7d497e6a2 | cmd/compile/internal/types2: review of check_test.go
The changes between (equivalent, and reviewed) go/types/check_test.go
and check_test.go can be seen by comparing patchset 1 and 2. The actual
changes are removing the "// UNREVIEWED" marker, and minor adjustments
to get the code slightly closer to go/types/check_tes... | [
{
"path": "src/cmd/compile/internal/types2/check_test.go",
"patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2011 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n@@ -29,9 +28,7 @@ package types2_test\n i... | 2021-03-29T19:33:45 |
huggingface/transformers | 626666c444208557041ef7edcda6b9e78eddfdee | 429f1a682dfa2b4b5672f8c703e8c607857a18db | Au revoir flaky `test_fast_is_faster_than_slow` (#36240)
* fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/rt_detr/test_image_processing_rt_detr.py",
"patch": "@@ -16,7 +16,14 @@\n \n import requests\n \n-from transformers.testing_utils import require_torch, require_torch_gpu, require_torchvision, require_vision, slow\n+from transformers.testing_utils import (\n+ is_flaky,\n+ requir... | 2025-02-17T17:30:07 |
nodejs/node | a18e130e597c3efc1df7bd86198c2b5762d4fbae | 0d9500daedbb61770359c34383a8d4784bcabd56 | lib: mask mode_t type of arguments with 0o777
- Introduce the `validateAndMaskMode` validator that
validates `mode_t` arguments and mask them with 0o777
if they are 32-bit unsigned integer or octal string
to be more consistent with POSIX APIs.
- Use the validator in fs APIs and process.umask for
consistency.
-... | [
{
"path": "lib/fs.js",
"patch": "@@ -52,7 +52,6 @@ const internalUtil = require('internal/util');\n const {\n copyObject,\n getOptions,\n- modeNum,\n nullCheck,\n preprocessSymlinkDestination,\n Stats,\n@@ -71,6 +70,7 @@ const {\n } = require('internal/constants');\n const {\n isUint32,\n+ val... | 2018-05-09T14:44:44 |
electron/electron | bbb9c37f70f49a3e794fcd7573f332bb98dab17e | 88ce2a5390f8bdee4c477695d136aea322689055 | BrowserWindow.focus() should not make window become visible, fixed #106. | [
{
"path": "browser/native_window_mac.mm",
"patch": "@@ -209,7 +209,10 @@ - (void)mouseDragged:(NSEvent*)event {\n }\n \n void NativeWindowMac::Focus(bool focus) {\n- if (focus && [window() isVisible]) {\n+ if (!IsVisible())\n+ return;\n+\n+ if (focus) {\n [[NSApplication sharedApplication] activat... | 2013-10-03T01:39:17 |
vercel/next.js | 9fc8c13877d57db507c8d79fd1328815cea3ee02 | befc272a8cd0746636bdb0afc22779136c1f7953 | Faster source map tracing (vercel/turbo#2426)
* Store the sourcemap::SourceMap directly, instead of encoding it
* Implement GenerateSourceMap trait and use it to retrieve live maps
* Cleanup and comments!
* Update safety comment
* Rename var
* Update snapshots
* Update snapshots
* Fix tracing erro... | [
{
"path": "packages/next-swc/crates/next-core/src/nodejs/mod.rs",
"patch": "@@ -1,6 +1,5 @@\n use std::{\n collections::{BTreeMap, HashMap, HashSet},\n- ffi::OsStr,\n fmt::Write as _,\n path::PathBuf,\n };\n@@ -18,16 +17,14 @@ use turbo_tasks_fs::{to_sys_path, File, FileContent, FileSystemPat... | 2022-10-28T23:16:05 |
golang/go | 2ebe77a2fda1ee9ff6fd9a3e08933ad1ebaea039 | f25d78f8e216f5558885ffd2cea39b3ff1a3ff43 | cmd/internal/obj: use REGENTRYTMP* in a few more places
There are a few remaining places in obj6 where we hard-code
safe-on-entry registers. Fix those to use the consts.
For #40724.
Change-Id: Ie640521aa67d6c99bc057553dc122160049c6edc
Reviewed-on: https://go-review.googlesource.com/c/go/+/307009
Trust: Austin Clemen... | [
{
"path": "src/cmd/internal/obj/x86/obj6.go",
"patch": "@@ -1046,7 +1046,7 @@ func stacksplit(ctxt *obj.Link, cursym *obj.LSym, p *obj.Prog, newprog obj.ProgA\n \t\ttmp := int16(REG_AX) // use AX for 32-bit\n \t\tif ctxt.Arch.Family == sys.AMD64 {\n \t\t\t// for 64-bit, stay away from register ABI parameter... | 2021-04-02T17:32:08 |
huggingface/transformers | 77aa9fc0767439fab61108d960cec8ec37c6723e | 55493f13906acaa6fc1b90601098c50c3d0cb6a5 | [generate] Fix encoder decoder models attention mask (#36018) | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -420,6 +420,7 @@ def prepare_inputs_for_generation(\n model_inputs[input_ids_key] = input_ids.clone(memory_format=torch.contiguous_format)\n \n # 4. Create missing `position_ids` on the fly\n+ encoder_attention_mask = ... | 2025-02-17T15:42:28 |
nodejs/node | 01e2f48c077f6551dbb3acd5f5907690d9cf80bd | ea01d305f65147325866f68a93d511d076a82016 | tools: eliminate intermediate module in doctools
PR-URL: https://github.com/nodejs/node/pull/20701
Fixes: https://github.com/nodejs/node/issues/20685
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "tools/doc/common.js",
"patch": "@@ -1,6 +1,7 @@\n 'use strict';\n \n-const yaml = require('js-yaml');\n+const yaml =\n+ require(`${__dirname}/../node_modules/eslint/node_modules/js-yaml`);\n \n function isYAMLBlock(text) {\n return /^<!-- YAML/.test(text);",
"additions": 2,
"deletions"... | 2018-05-13T14:47:55 |
electron/electron | 2024ae5dbabeab9297358b1644b1d0361f2ab8c2 | aa6d5a3ff66402815b38d9a63bb866e84a9d1855 | :lipstick: Fix build on Windows. | [
{
"path": "browser/atom_browser_main_parts.cc",
"patch": "@@ -89,11 +89,8 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {\n }\n \n int AtomBrowserMainParts::PreCreateThreads() {\n-#if defined(OS_WIN)\n- net::ProxyResolverV8::CreateIsolate();\n-#else\n+ // TODO(zcbenz): Calling CreateIsolate() on W... | 2013-10-02T12:43:30 |
golang/go | 41cf18eda79be6fa8142ab2e99dc756d4b08369b | 34b87b4a1ab7562858baf74f2320ab881214229e | reflect: fix methodValueCall frame size on mips64
Fixes a mistake from golang.org/cl/298670.
Change-Id: I2f789f9fe003c856a993f7d462a2e84936743a1a
Reviewed-on: https://go-review.googlesource.com/c/go/+/306930
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Trust: Micha... | [
{
"path": "src/reflect/asm_mips64x.s",
"patch": "@@ -29,7 +29,7 @@ TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$40\n // See the comment on the declaration of methodValueCall in makefunc.go\n // for more details.\n // No arg size here; runtime pulls arg map out of the func value.\n-TEXT ·methodValueCall(SB),(NO... | 2021-04-02T19:06:33 |
huggingface/transformers | 23d6095e8f1ea3b47f2744e2ff84e570046dd87a | fae0f3dde83b7a54441f7a5bb0fc45d354fe81ce | Fix `LlavaForConditionalGenerationModelTest::test_config` after #36077 (#36230)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/llava/test_modeling_llava.py",
"patch": "@@ -198,6 +198,13 @@ def setUp(self):\n )\n \n def test_config(self):\n+ # overwritten from `tests/test_configuration_common.py::ConfigTester` after #36077\n+ # TODO: avoid overwritten once there is a better fix for #... | 2025-02-17T10:49:07 |
rust-lang/rust | 6c441cc7a53e3c9ca0dd1957b8055ccdd851b488 | 1397dabd1ec2e58f0cea27fd281dac7104083cca | canonicalize test build dir before normalizing it
Fix fixes failures of the following tests when build directory is a
symlink:
- `tests/ui/error-codes/E{0464,0523}.rs`
- `tests/ui/crate-loading/crateresolve{1,2}.rs` (those are the same tests) | [
{
"path": "src/tools/compiletest/src/runtest.rs",
"patch": "@@ -2375,9 +2375,13 @@ impl<'test> TestCx<'test> {\n let rust_src_dir = rust_src_dir.read_link_utf8().unwrap_or(rust_src_dir.to_path_buf());\n normalize_path(&rust_src_dir.join(\"library\"), \"$SRC_DIR_REAL\");\n \n+ // Canon... | 2025-04-14T17:04:34 |
nodejs/node | 3b1bf0d394811a1850bf5553d9879c82c73e9466 | 34471c79ff3a700295d71a01ae8434882e58519c | tools: fix "the the" typos in comments
PR-URL: https://github.com/nodejs/node/pull/20716
Fixes: https://github.com/nodejs/node/issues/20682
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Col... | [
{
"path": "tools/gyp/pylib/gyp/MSVSSettings.py",
"patch": "@@ -417,7 +417,7 @@ def FixVCMacroSlashes(s):\n \n \n def ConvertVCMacrosToMSBuild(s):\n- \"\"\"Convert the the MSVS macros found in the string to the MSBuild equivalent.\n+ \"\"\"Convert the MSVS macros found in the string to the MSBuild equivale... | 2018-05-14T14:16:58 |
electron/electron | 43a5453de578ca884d732a781ee9448859274c08 | 87d94ff1ae68012f7ad3cf6eb6670278d6df1f28 | :lipstick: Fix target version of atom-shell's uploading. | [
{
"path": "script/upload.py",
"patch": "@@ -131,7 +131,7 @@ def upload_node(bucket, access_key, secret_key, version):\n \n # TODO(zcbenz): Remove me when Atom starts to use Releases API.\n s3put(bucket, access_key, secret_key, DIST_DIR,\n- 'atom-shell/{0}'.format(version), [DIST_NAME])\n+ ... | 2013-09-29T12:18:55 |
rust-lang/rust | 1397dabd1ec2e58f0cea27fd281dac7104083cca | fc8df06f4feb6cc051e15e6596821d276b0797bb | fix typo | [
{
"path": "src/tools/compiletest/src/runtest.rs",
"patch": "@@ -2383,7 +2383,7 @@ impl<'test> TestCx<'test> {\n \n if json {\n // escaped newlines in json strings should be readable\n- // in the stderr files. There's no point int being correct,\n+ // in the stderr f... | 2025-04-14T17:04:34 |
golang/go | 2d88f8f21e71f73dc3aa846cdc8c413f1bb584b8 | 3651eff74efcd80519372d58eb06a0fe3f3f2808 | go/src/cmd/go/internal/work: compile "internal/abi" with "-+"
"internal/abi" package depends on runtime package and are supposed to
compile with "-+" option.Added internal/abi in the known list of package
that runtime depends on,so that "internal/abi" compiles with "-+".
Fixes #45144
Change-Id: Iad9e2589f2fbd014260c... | [
{
"path": "src/cmd/go/internal/work/gc.go",
"patch": "@@ -89,7 +89,7 @@ func (gcToolchain) gc(b *Builder, a *Action, archive string, importcfg, embedcfg\n \t}\n \tcompilingRuntime := p.Standard && (p.ImportPath == \"runtime\" || strings.HasPrefix(p.ImportPath, \"runtime/internal\"))\n \t// The runtime packa... | 2021-03-31T15:52:49 |
huggingface/transformers | fae0f3dde83b7a54441f7a5bb0fc45d354fe81ce | dd16acb8a3e93b643aa374c9fb80749f5235c1a6 | [tests] fix `EsmModelIntegrationTest::test_inference_bitsandbytes` (#36225)
fix failed test | [
{
"path": "tests/models/esm/test_modeling_esm.py",
"patch": "@@ -335,13 +335,13 @@ def test_inference_no_head(self):\n def test_inference_bitsandbytes(self):\n model = EsmForMaskedLM.from_pretrained(\"facebook/esm2_t36_3B_UR50D\", load_in_8bit=True)\n \n- input_ids = torch.tensor([[0, 6, ... | 2025-02-17T10:10:33 |
vercel/next.js | 7986c477a8cc49d02b70eed5a30d3ae7aae535f0 | 6fa485a90afddc74adf1a3c2ba13940ce536d492 | Faster source map tracing (vercel/turbo#2426)
* Store the sourcemap::SourceMap directly, instead of encoding it
* Implement GenerateSourceMap trait and use it to retrieve live maps
* Cleanup and comments!
* Update safety comment
* Rename var
* Update snapshots
* Update snapshots
* Fix tracing erro... | [
{
"path": "crates/next-core/src/nodejs/mod.rs",
"patch": "@@ -1,6 +1,5 @@\n use std::{\n collections::{BTreeMap, HashMap, HashSet},\n- ffi::OsStr,\n fmt::Write as _,\n path::PathBuf,\n };\n@@ -18,16 +17,14 @@ use turbo_tasks_fs::{to_sys_path, File, FileContent, FileSystemPathVc};\n use turbop... | 2022-10-28T23:16:05 |
rust-lang/rust | d1e82ba37c3dd1998808665971bbee4e1ae028b8 | 2da29dbe8fe23df1c7c4ab1d8740ca3c32b15526 | Setup editor file associations for non-rs extensions
.gitattributes lists *.fixed, *.pp, and *.mir as file extensions which
should be treated as Rust source code. Do the same for VS Code and Zed.
This only does syntax highlighting, which is appropriate, as MIR isn't
really Rust code.
At the same time, consistently or... | [
{
"path": "src/bootstrap/src/core/build_steps/setup.rs",
"patch": "@@ -584,6 +584,7 @@ Select which editor you would like to set up [default: None]: \";\n \"51068d4747a13732440d1a8b8f432603badb1864fa431d83d0fd4f8fa57039e0\",\n \"d29af4d949bbe2371eac928a3c31cf9496b1701aa1c45f1... | 2025-04-15T04:43:53 |
nodejs/node | 34471c79ff3a700295d71a01ae8434882e58519c | de4e0d7f6d2a52452043ffdcf13a6a3ce8f31091 | src: order C++ error list alphabetically
PR-URL: https://github.com/nodejs/node/pull/20707
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jo... | [
{
"path": "src/node_errors.h",
"patch": "@@ -22,6 +22,7 @@ namespace node {\n \n #define ERRORS_WITH_CODE(V) \\\n V(ERR_BUFFER_OUT_OF_BOUNDS, RangeError) \\\n+ V(ERR_BUFFER_TOO_LARGE, Error) ... | 2018-05-13T18:11:05 |
electron/electron | 99d901bc9ab7e8e6107ecdf0938056a068e94839 | 95e79124eb91a3cbb847c251dd1a73de38bc16d8 | Switch to use the ProxyResolverV8, fixes atom/atom#894. | [
{
"path": "browser/atom_browser_main_parts.cc",
"patch": "@@ -10,6 +10,7 @@\n #include \"browser/atom_browser_context.h\"\n #include \"browser/browser.h\"\n #include \"common/node_bindings.h\"\n+#include \"net/proxy/proxy_resolver_v8.h\"\n #include \"vendor/node/src/node.h\"\n #include \"vendor/node/src/nod... | 2013-09-29T07:06:29 |
huggingface/transformers | dd16acb8a3e93b643aa374c9fb80749f5235c1a6 | 0a9923a6090b591cdfa3dbf4ddf697dd46365465 | set `test_torchscript = False` for Blip2 testing (#35972)
* just skip
* fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/blip_2/test_modeling_blip_2.py",
"patch": "@@ -15,7 +15,6 @@\n \"\"\"Testing suite for the PyTorch BLIP-2 model.\"\"\"\n \n import inspect\n-import os\n import tempfile\n import unittest\n \n@@ -36,7 +35,7 @@\n slow,\n torch_device,\n )\n-from transformers.utils import is_tor... | 2025-02-14T16:43:32 |
golang/go | aebc0b473e364daa0fad3b45e4dc77366408f3cd | 97b3ce430bb64fb6c8dfb244d400468932f2e984 | cmd/compile: fix bug in phiopt pass
The math to invert the input index was wrong.
Fixes #45323
Change-Id: I7c68cac280e8f01a9c806ecb0f195f169267437e
Reviewed-on: https://go-review.googlesource.com/c/go/+/306431
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gob... | [
{
"path": "src/cmd/compile/internal/ssa/phiopt.go",
"patch": "@@ -213,7 +213,7 @@ func phiopt(f *Func) {\n \t\t\t\tei := b.Preds[1].i\n \t\t\t\tsb0 := pb1.Succs[1-ei].b\n \t\t\t\tif sdom.IsAncestorEq(sb0, pb0) {\n-\t\t\t\t\tconvertPhi(pb1, v, ei-1)\n+\t\t\t\t\tconvertPhi(pb1, v, 1-ei)\n \t\t\t\t\tbreak\n \t... | 2021-04-01T06:58:54 |
huggingface/transformers | 0a9923a6090b591cdfa3dbf4ddf697dd46365465 | a570e2ba87329cf3fb4b52286b33cb87d75c6c33 | Use `args.num_workers` in `check_modular_conversion.py` (#36200)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "utils/check_modular_conversion.py",
"patch": "@@ -162,7 +162,7 @@ def guaranteed_no_diff(modular_file_path, dependencies, models_in_diff):\n \n import multiprocessing\n \n- with multiprocessing.Pool(4) as p:\n+ with multiprocessing.Pool(args.num_workers) as p:\n ... | 2025-02-14T16:31:03 |
vercel/next.js | 90f0f72c6663faad4f21596a06295038dcaed704 | e2e1048b71a265b233417bfdaabddd1ccb24550e | added @latest to codemods page (#42091)
https://nextjs.org/docs/advanced-features/codemods

## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests ad... | [
{
"path": "docs/advanced-features/codemods.md",
"patch": "@@ -10,7 +10,7 @@ Codemods are transformations that run on your codebase programmatically. This al\n \n ## Usage\n \n-`npx @next/codemod <transform> <path>`\n+`npx @next/codemod@latest <transform> <path>`\n \n - `transform` - name of transform, see a... | 2022-10-28T22:44:37 |
nodejs/node | de4e0d7f6d2a52452043ffdcf13a6a3ce8f31091 | 9e4ae56cc7a81e299850c2525f8b1c071fabc6e6 | src: handle TryCatch with empty message
This bug needs a test case with a high goldilocks factor to trigger
but the synopsis is that `v8::TryCatch::Message()` returns an empty
handle when the TryCatch is declared at a time when an exception is
already pending.
We now recompute the message inside `node::ReportExceptio... | [
{
"path": "src/node.cc",
"patch": "@@ -1414,9 +1414,11 @@ static void ReportException(Environment* env,\n Local<Value> er,\n Local<Message> message) {\n CHECK(!er.IsEmpty());\n- CHECK(!message.IsEmpty());\n HandleScope scope(env->isolate());\n \n+... | 2018-05-13T21:38:07 |
electron/electron | 54b0d0c9c0ff351a6bcb6821a46b85e3bb2b457f | 10a46b4229e2a3482b0c3c564a523f34752bc998 | Free the native window's memory after the event were sent for all observers.
If we delete the window immediately other observers may get a invalid
window and cause random crashes. | [
{
"path": "browser/api/atom_api_window.cc",
"patch": "@@ -61,8 +61,9 @@ void Window::WillCloseWindow(bool* prevent_default) {\n void Window::OnWindowClosed() {\n Emit(\"closed\");\n \n- // Free memory immediately when window is closed.\n- delete this;\n+ // Free memory when native window is closed, the... | 2013-09-27T07:20:55 |
golang/go | 97b3ce430bb64fb6c8dfb244d400468932f2e984 | 41e8a9f1cf78933ebdaf9fa29694df5129f1862c | runtime: make gcTestMoveStackOnNextCall not double the stack
Currently, gcTestMoveStackOnNextCall doubles the stack allocation on
each call because stack movement always doubles the stack. That's
rather unfortunate if you're doing a bunch of stack movement tests in
a row that don't actually have to grow the stack beca... | [
{
"path": "src/runtime/gc_test.go",
"patch": "@@ -242,6 +242,23 @@ func moveStackCheck(t *testing.T, new *int, old uintptr) bool {\n \treturn true\n }\n \n+func TestGCTestMoveStackRepeatedly(t *testing.T) {\n+\t// Move the stack repeatedly to make sure we're not doubling\n+\t// it each time.\n+\tfor i := 0;... | 2021-04-01T20:50:53 |
nodejs/node | 9e4ae56cc7a81e299850c2525f8b1c071fabc6e6 | c346cb6929b0ec1140e88234ab0185b67519186c | test: improve reliability of http2-session-timeout
Check actual expired time rather than relying on a number of calls to
setTimeout() in test-http2-session-timeout more robust.
PR-URL: https://github.com/nodejs/node/pull/20692
Fixes: https://github.com/nodejs/node/issues/20628
Reviewed-By: Anatoli Papirovski <apapiro... | [
{
"path": "test/sequential/test-http2-session-timeout.js",
"patch": "@@ -7,7 +7,6 @@ const h2 = require('http2');\n \n const serverTimeout = common.platformTimeout(200);\n const callTimeout = common.platformTimeout(20);\n-const minRuns = Math.ceil(serverTimeout / callTimeout) * 2;\n const mustNotCall = comm... | 2018-05-11T03:45:44 |
electron/electron | f4f42b30eeacccf2f7495b5f403d9a87dbeb4886 | f3eef6cc2e29d66b5c05970cf2d1ea604b73fddc | :lipstick: Fix warnings of coffeelint. | [
{
"path": "browser/atom/atom.coffee",
"patch": "@@ -26,7 +26,7 @@ atom.browserMainParts =\n global.__atom = atom\n \n # Add browser/api/lib to require's search paths,\n-# which contains javascript part of Atom's built-in libraries. \n+# which contains javascript part of Atom's built-in libraries.\n globalP... | 2013-09-27T03:02:08 |
golang/go | 41e8a9f1cf78933ebdaf9fa29694df5129f1862c | 5579ee169f12815660eb9ee66afd5f2abc77864f | runtime: fix TestGCTestMoveStackOnNextCall flakes
gcTestMoveStackOnNextCall can fail to move the stack in very rare
cases if there's an unfortunately timed preemption that clobbers the
stack guard. This won't happen multiple times in quick succession, so
make the test just retry a few times.
Change-Id: I247dc0551514e... | [
{
"path": "src/runtime/gc_test.go",
"patch": "@@ -205,15 +205,24 @@ func TestGcZombieReporting(t *testing.T) {\n func TestGCTestMoveStackOnNextCall(t *testing.T) {\n \tt.Parallel()\n \tvar onStack int\n-\truntime.GCTestMoveStackOnNextCall()\n-\tmoveStackCheck(t, &onStack, uintptr(unsafe.Pointer(&onStack)))\... | 2021-03-31T16:13:58 |
huggingface/transformers | a570e2ba87329cf3fb4b52286b33cb87d75c6c33 | 7ae7e87a09b23e83adc9492d69e2546a755c7b59 | add shared experts for upcoming Granite 4.0 language models (#35894)
* Modular GraniteMoE with shared Experts.
Signed-off-by: Shawn Tan <shawntan@ibm.com>
* Modified
* Import order.
* Modified for style
* Fix space.
* Test
* Remove extra granitemoe file.
* New converted file and tests
* Modified __init__ file... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -461,6 +461,8 @@\n title: Granite\n - local: model_doc/granitemoe\n title: GraniteMoe\n+ - local: model_doc/granitemoeshared\n+ title: GraniteMoeShared\n - local: model_doc/granitevision\n title: GraniteVis... | 2025-02-14T15:55:28 |
nodejs/node | efe3784f8cc8ea16ef511a556b230d2976af5645 | 2e7ea6e0613757b46e49361ebe9f8839805cdfd2 | codeowners: fix typo in v8-inspector team name
PR-URL: https://github.com/nodejs/node/pull/20740
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ric... | [
{
"path": ".github/CODEOWNERS",
"patch": "@@ -16,7 +16,7 @@\n *http* @nodejs/http\n *http2* @nodejs/http2\n *https* @nodejs/http @nodejs/crypto @nodejs/tls @nodejs/http2\n-*inspector* @nodejs/V8-inspector\n+*inspector* @nodejs/v8-inspector\n *net* @nodejs/streams\n *node_api* @nodejs/n-api\n *repl* @nodejs/... | 2018-05-15T05:28:54 |
huggingface/transformers | bcfc9d795e1330faaa8b39ffa18732f8b40fe7c0 | 0c78ef6cd3907c6f67b073ee59beb4d6cbc57ea4 | [Bugfix] Fix reloading of pixtral/llava configs (#36077)
* add is_composition flag to LlavaConfig
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
* WIP: pixtral text config
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
* fix style
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
* add test
Sig... | [
{
"path": "src/transformers/models/llava/configuration_llava.py",
"patch": "@@ -76,6 +76,7 @@ class LlavaConfig(PretrainedConfig):\n \n model_type = \"llava\"\n sub_configs = {\"text_config\": AutoConfig, \"vision_config\": AutoConfig}\n+ is_composition = True\n \n def __init__(\n sel... | 2025-02-14T14:27:05 |
electron/electron | ef8a05be38fc0e9a5d47b53d102ba0382114110e | c029ff2055fec24fde2aabfb51e1298aca96ad4c | :lipstick: Fix violations against pylint. | [
{
"path": "script/bootstrap.py",
"patch": "@@ -1,12 +1,11 @@\n #!/usr/bin/env python\n \n import argparse\n-import errno\n import os\n import subprocess\n import sys\n \n-from lib.util import *\n+from lib.util import scoped_cwd\n \n \n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))... | 2013-09-27T02:21:27 |
golang/go | 5579ee169f12815660eb9ee66afd5f2abc77864f | 27d306281c54a89ff00e3dad6f4cea790a2f2f2d | cmd/compile: in expand calls, preserve pointer store type but decompose aggregate args
In CL 305672 we preserve the pointer type of a store by just not
decomposing it. But this can be problematic when the source of
the store is a direct interface aggregate type (e.g.
struct { x map[int]int }.
In this CL we take a dif... | [
{
"path": "src/cmd/compile/internal/ssa/expand_calls.go",
"patch": "@@ -589,6 +589,14 @@ func (x *expandState) decomposeArg(pos src.XPos, b *Block, source, mem *Value, t\n \t\t\tif w == nil {\n \t\t\t\tw = x.newArgToMemOrRegs(source, w, off, i, rt, pos)\n \t\t\t}\n+\t\t\tif t.IsPtrShaped() {\n+\t\t\t\t// Pr... | 2021-04-01T18:21:12 |
electron/electron | e37685055233a2cee146bf4d1cf346947906ec63 | 1ce61c7845c689645450c78363015e0162ef1c59 | :lipstick: Fix cpplint warnings. | [
{
"path": "script/cpplint.py",
"patch": "@@ -7,12 +7,11 @@\n \n IGNORE_FILES = [\n 'app/win/resource.h',\n- 'browser/atom_event_processing_window.h',\n 'browser/atom_application_mac.h',\n 'browser/atom_application_delegate_mac.h',\n 'browser/native_window_mac.h',\n+ 'browser/ui/atom_event_processi... | 2013-09-27T01:26:36 |
golang/go | 51cd074c59c770484e7db4788d968c408a278607 | 45ca9ef5c1235a80ceffca459cbf1bd47032b35f | reflect: undo register count increments on register assignment failure
Currently when register assignment fails we roll back all the abiParts
that were generated in the process. However, the total number of
registers also increases, but does not get rolled back. The result is
a very incorrect register assignment.
For... | [
{
"path": "src/reflect/abi.go",
"patch": "@@ -121,6 +121,7 @@ func (a *abiSeq) stepsForValue(i int) []abiStep {\n // If the value was stack-assigned, returns the single\n // abiStep describing that translation, and nil otherwise.\n func (a *abiSeq) addArg(t *rtype) *abiStep {\n+\t// We'll always be adding a... | 2021-03-30T22:33:28 |
huggingface/transformers | 0c78ef6cd3907c6f67b073ee59beb4d6cbc57ea4 | b45cf0e90afe6273584fa5265cdda1050a6a1c4a | 🔴 VLM: compile compatibility (#35724)
* llavas
* add mroe models
* fix `compile_forward` test for all models
* fix copies
* make style
* also doesn't support cache class
* fix some tests
* not copied from
* ci green?
* fix tests
* fix copies
* fix tests
* check with `numel` and rem... | [
{
"path": "src/transformers/models/blip_2/modeling_blip_2.py",
"patch": "@@ -2016,6 +2016,9 @@ def forward(\n class Blip2ForConditionalGeneration(Blip2PreTrainedModel, GenerationMixin):\n config_class = Blip2Config\n main_input_name = \"pixel_values\"\n+ _supports_cache_class = True\n+ _suppor... | 2025-02-14T14:23:49 |
vercel/next.js | e2e1048b71a265b233417bfdaabddd1ccb24550e | 984bd77bdc28a78a1a7a5840df9cec704c17f98a | fix: Data URL images with 'fill' are always triggering 'missing sizes' warning (#42030)
fixes https://github.com/vercel/next.js/issues/42006
this issue occurred because images with `data url` src start with `blob`
and `data` will be mark as `unoptimized`, then its `sizes` will be
assigned with `undefined`.
I j... | [
{
"path": "packages/next/client/image.tsx",
"patch": "@@ -245,7 +245,8 @@ function handleLoading(\n placeholder: PlaceholderValue,\n onLoadRef: React.MutableRefObject<OnLoad | undefined>,\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>,\n- setBlurComplete: (b: boolean) =... | 2022-10-28T22:08:04 |
electron/electron | 3edfb7d5c337e09208029f471906f16db52aa069 | eed2b0fd815c93ec5ce8273f44f690f4a7aab3b2 | Correctly deal with API errors. | [
{
"path": "script/lib/github.py",
"patch": "@@ -1,5 +1,6 @@\n #!/usr/bin/env python\n \n+import json\n import requests\n \n GITHUB_URL = 'https://api.github.com'\n@@ -15,10 +16,16 @@ def _http(self, method, path, **kw):\n url = '%s%s' % (GITHUB_URL, path)\n if not 'headers' in kw:\n kw['header... | 2013-09-26T11:48:48 |
huggingface/transformers | b45cf0e90afe6273584fa5265cdda1050a6a1c4a | 96f01a36ac60c57be279cb7f027eac7e37fa90e8 | Guard against unset resolved_archive_file (#35628)
* archive_file may not be specified
When loading a pre-trained model from a gguf file, resolved_archive_file may not be set. Guard against that case in the safetensors availability check.
* Remap partial disk offload to cpu for GGUF files
GGUF files don't support... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -4267,6 +4267,12 @@ def from_pretrained(\n # check if we don't have tied param in different devices\n check_tied_parameters_on_same_device(tied_params, device_map)\n \n+ if gguf_path and device_map is not None and \"... | 2025-02-14T13:44:31 |
golang/go | 45ca9ef5c1235a80ceffca459cbf1bd47032b35f | e6ac2df2b198f583780277a7cf96e3b0b61fe0a1 | cmd/compile: fix register/offset calculation for trailing empty field case.
Includes test.
Long term, need to make the offending code be more in terms
of official types package offsets, instead of duplicating that
logic.
For #40724.
Change-Id: Id33a153f10aed3289cc48d1f99a8e0f6ece9474d
Reviewed-on: https://go-review.... | [
{
"path": "src/cmd/compile/internal/abi/abiutils.go",
"patch": "@@ -211,8 +211,11 @@ func appendParamOffsets(offsets []int64, at int64, t *types.Type) ([]int64, int6\n \t\t\t\toffsets, at = appendParamOffsets(offsets, at, t.Elem())\n \t\t\t}\n \t\tcase types.TSTRUCT:\n-\t\t\tfor _, f := range t.FieldSlice()... | 2021-04-01T02:51:44 |
vercel/next.js | 984bd77bdc28a78a1a7a5840df9cec704c17f98a | 80843e1a2b043d10778ba489844756ccce907b40 | Fix css modules imports in client components (#42077) | [
{
"path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts",
"patch": "@@ -276,7 +276,31 @@ export class FlightClientEntryPlugin {\n })\n })\n \n- forEachEntryModule(({ entryModule }) => {\n+ forEachEntryModule(({ name, entryModule }) => {\n+ // To collect al... | 2022-10-28T21:43:50 |
electron/electron | 6bee4351705f630bf0bd2b15dbd85d62b1a5b79e | 5480cf58c2f8897a58535917fbd23eed327bf06a | Destroy the event object immediately after the reply is sent, fixes #102. | [
{
"path": "browser/api/atom_api_event.cc",
"patch": "@@ -96,7 +96,8 @@ v8::Handle<v8::Value> Event::SendReply(const v8::Arguments& args) {\n AtomViewHostMsg_Message_Sync::WriteReplyParams(event->message_, json);\n event->sender_->Send(event->message_);\n \n- event->message_ = NULL;\n+ delete event;\n+... | 2013-09-26T03:28:53 |
huggingface/transformers | cb586a39994ae4ca9dfca2993b8e298897fd4e5b | 5f726f8b8e1badacec5a4da1df7150671100c828 | Add require_read_token to fp8 tests (#36189)
fix | [
{
"path": "tests/quantization/finegrained_fp8/test_fp8.py",
"patch": "@@ -20,6 +20,7 @@\n from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer, FineGrainedFP8Config, OPTForCausalLM\n from transformers.testing_utils import (\n require_accelerate,\n+ require_read_token,\n requir... | 2025-02-14T11:27:35 |
golang/go | 5f646f0a984d43a2e9e99a1338145a862fef425e | ec721d92bf35cd47543acf6792acd474fdd39446 | cmd/compile: fix parameter offset calculation
For struct like { { a int64; b int16 }; c int32 }, on 64-bit
machines the offset of c is 16, as the inner struct takes 16
bytes because we round up type size to its alignment. Update the
abi package's offset calculation to include this.
We only need to do this for struct ... | [
{
"path": "src/cmd/compile/internal/abi/abiutils.go",
"patch": "@@ -214,6 +214,7 @@ func appendParamOffsets(offsets []int64, at int64, t *types.Type) ([]int64, int6\n \t\t\tfor _, f := range t.FieldSlice() {\n \t\t\t\toffsets, at = appendParamOffsets(offsets, at, f.Type)\n \t\t\t}\n+\t\t\tat = align(at, t) ... | 2021-04-01T00:02:26 |
vercel/next.js | 80843e1a2b043d10778ba489844756ccce907b40 | e2a98cdf3d6ebd03696c53d60739d2506e7d6e9a | Fix turbo custom config detection (#42022)
Fixes: https://github.com/vercel/next.js/issues/41920
## Bug
- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md` | [
{
"path": "packages/next/cli/next-dev.ts",
"patch": "@@ -11,6 +11,7 @@ import { getProjectDir } from '../lib/get-project-dir'\n import { CONFIG_FILES } from '../shared/lib/constants'\n import path from 'path'\n import type { NextConfig } from '../types'\n+import { interopDefault } from '../lib/interop-defau... | 2022-10-28T21:36:42 |
nodejs/node | b5704859d043baeeda916ee4e435c06f5e2569e6 | 4b00c4fafaa2ae8c41c1f78823c0feb810ae4723 | test: disable colors in test-assert.js
When test/parallel/test-assert.js is run with a TTY as stdout,
color codes in assertion messages cause the test to fail. This
commit disables colors when stdout is a TTY.
Fixes: https://github.com/nodejs/node/issues/18967
PR-URL: https://github.com/nodejs/node/pull/20695
Reviewe... | [
{
"path": "test/parallel/test-assert.js",
"patch": "@@ -34,6 +34,12 @@ const { writeFileSync, unlinkSync } = require('fs');\n const { inspect } = require('util');\n const a = assert;\n \n+// Disable colored output to prevent color codes from breaking assertion\n+// message comparisons. This should only be a... | 2018-05-13T02:39:09 |
huggingface/transformers | 15ec971b8ec999c6a511debe04ba32c115fb7413 | 33d1d715b0260efc1c2df1c16d864186b5bb9437 | Prepare processors for VideoLLMs (#36149)
* allow processor to preprocess conversation + video metadata
* allow callable
* add test
* fix test
* nit: fix
* add metadata frames_indices
* Update src/transformers/processing_utils.py
Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github... | [
{
"path": "src/transformers/image_utils.py",
"patch": "@@ -18,7 +18,7 @@\n from contextlib import redirect_stdout\n from dataclasses import dataclass\n from io import BytesIO\n-from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Tuple, Union\n+from typing import TYPE_CHECKING, Callable, Dict, ... | 2025-02-14T10:34:08 |
electron/electron | ac685892916b55e2c757c72eb39a34eb4eedbcbd | bc95cac3ed7b5bf524c412d54826780fc268b6bd | cocoa: Don't use Chrome's UnderlayOpenGLHostingWindow.
The UnderlayOpenGLHostingWindow would add a semi-transparent layer under
the window, I'm not very sure what does this class exactly do, but
removing it seems no harm to the renderer.
Fixes atom/atom#877. | [
{
"path": "browser/atom_event_processing_window.h",
"patch": "@@ -8,12 +8,11 @@\n #import <Cocoa/Cocoa.h>\n \n #include \"base/memory/scoped_nsobject.h\"\n-#import \"ui/base/cocoa/underlay_opengl_hosting_window.h\"\n \n // Override NSWindow to access unhandled keyboard events (for command\n // processing); ... | 2013-09-25T08:18:46 |
golang/go | ec721d92bf35cd47543acf6792acd474fdd39446 | 1f29e69bad3673aa4f9d1c4d1016170b9ced634a | runtime: fix uses of ABIInternal PCs in assembly
The covers three kinds of uses:
1. Calls of closures from assembly. These are always ABIInternal calls
without wrappers. I went through every indirect call in the runtime
and I think mcall is the only case of assembly calling a Go closure in
a way that's affected by AB... | [
{
"path": "src/cmd/internal/objabi/util.go",
"patch": "@@ -166,8 +166,8 @@ func init() {\n \tif Experiment.RegabiG && !Experiment.RegabiWrappers {\n \t\tpanic(\"GOEXPERIMENT regabig requires regabiwrappers\")\n \t}\n-\tif Experiment.RegabiArgs && !(Experiment.RegabiWrappers && Experiment.RegabiReflect && Ex... | 2021-03-29T21:38:20 |
vercel/next.js | cf18f5801446201543aa35ba6a173383ccbd396d | 8adbb755feecd7769b2c8ba50cde5c04ded38daa | Avoid recomputing all_assets_map on every change (vercel/turbo#2464)
* Avoid recomputing all_assets_map on every change
* fix snapshot test and update snapshot
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com> | [
{
"path": "crates/turbopack-ecmascript/src/chunk/source_map.rs",
"patch": "@@ -1,9 +1,10 @@\n use anyhow::Result;\n use turbo_tasks::{primitives::StringVc, ValueToString, ValueToStringVc};\n use turbo_tasks_fs::{File, FileSystemPathVc};\n-use turbo_tasks_hash::encode_hex;\n+use turbo_tasks_hash::{encode_hex... | 2022-10-28T20:27:51 |
nodejs/node | 2d4dd108296d327b874492fbd55ebbe00d003ef4 | fcc46ee5a9ea9fdc66934cbba6a5e7b1486bb1aa | build: add '-z relro -z now' linker flags
These flags could make some sections and the GOT entries of node
process read only to avoid being modified after dynamic linking is
done, thus the security could be enhanced.
Fixes: https://github.com/nodejs/node/issues/20122
PR-URL: https://github.com/nodejs/node/pull/20513
... | [
{
"path": "node.gypi",
"patch": "@@ -291,7 +291,10 @@\n [ 'OS==\"sunos\"', {\n 'ldflags': [ '-Wl,-M,/usr/lib/ld/map.noexstk' ],\n }],\n-\n+ [ 'OS in \"freebsd linux\"', {\n+ 'ldflags': [ '-Wl,-z,relro',\n+ '-Wl,-z,now' ]\n+ }],\n [ 'node_use_openssl==\"true\"',... | 2018-05-03T08:51:56 |
huggingface/transformers | 33d1d715b0260efc1c2df1c16d864186b5bb9437 | 1931a351408dbd1d0e2c4d6d7ee0eb5e8807d7bf | Add ImageProcessorFast to Qwen2.5-VL processor (#36164)
* add qwen2 fast image processor to modular file
Signed-off-by: isotr0py <2037008807@qq.com>
* fix modular
Signed-off-by: isotr0py <2037008807@qq.com>
* fix circle import
Signed-off-by: isotr0py <2037008807@qq.com>
* add docs
Signed-off-by: i... | [
{
"path": "docs/source/en/model_doc/qwen2_5_vl.md",
"patch": "@@ -264,11 +264,6 @@ model = Qwen2_5_VLForConditionalGeneration.from_pretrained(\n \n [[autodoc]] Qwen2_5_VLConfig\n \n-## Qwen2_5_VLImageProcessor\n-\n-[[autodoc]] Qwen2_5_VLImageProcessor\n- - preprocess\n-\n ## Qwen2_5_VLProcessor\n \n [[au... | 2025-02-14T09:34:55 |
golang/go | 1f29e69bad3673aa4f9d1c4d1016170b9ced634a | 3304b2235af0a88ba0bb21edaf2c60df47b6e0a8 | cmd/compile: fix outgoing calls with GOEXPERIMENT=regabiargs
The logic for constructing calls in (*state).call is based around
targeted experiments with register-based calls. However, when the
register ABI is turned on everywhere, it currently doesn't account for
direct calls to non-ABIInternal functions. This CL adds... | [
{
"path": "src/cmd/compile/internal/ssagen/ssa.go",
"patch": "@@ -4851,24 +4851,27 @@ func (s *state) call(n *ir.CallExpr, k callKind, returnResultAddr bool) *ssa.Val\n \tvar codeptr *ssa.Value // ptr to target code (if dynamic)\n \tvar rcvr *ssa.Value // receiver to set\n \tfn := n.X\n-\tvar ACArgs []*t... | 2021-03-31T21:41:07 |
vercel/next.js | 69d98a5bdefe62db9b6317126d6f2816c3067c77 | 2af748edd45b330ab1300866ddf32fa6a5f7102e | make sure to exit the process in case of errors during errors sending (vercel/turbo#2457) | [
{
"path": "packages/next-swc/crates/next-core/js/src/internal/ipc.ts",
"patch": "@@ -105,10 +105,14 @@ function createIpc<TIncoming, TOutgoing>(\n },\n \n async sendError(error: Error): Promise<never> {\n- await send({\n- type: \"error\",\n- ...structuredError(error),\n- });\... | 2022-10-28T18:56:40 |
nodejs/node | 745463a0b72c77cecff60cfda175f6185745799a | 60ef7d1a8f7f576651f4d0817e6568cc80e64f99 | test: display values in AssertionErrors
In test-module-relative-lookup, change assert.strictEqual()
calls so that values are displayed when an AssertionError occurs.
PR-URL: https://github.com/nodejs/node/pull/20545
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed... | [
{
"path": "test/parallel/test-module-relative-lookup.js",
"patch": "@@ -6,10 +6,10 @@ const _module = require('module'); // avoid collision with global.module\n const lookupResults = _module._resolveLookupPaths('./lodash');\n let paths = lookupResults[1];\n \n-assert.strictEqual(paths[0], '.',\n- ... | 2018-05-06T14:12:50 |
huggingface/transformers | 3bf02cf44079c84d5d451ae152f6554d1e1de318 | 0ae93d31ce3b2acd2ea6dab03991b126b6c80a32 | CI: fix `test-save-trainer` (#36191)
* fix
* also the docstring | [
{
"path": "tests/test_training_args.py",
"patch": "@@ -7,9 +7,9 @@\n \n class TestTrainingArguments(unittest.TestCase):\n def test_default_output_dir(self):\n- \"\"\"Test that output_dir defaults to 'tmp_trainer' when not specified.\"\"\"\n+ \"\"\"Test that output_dir defaults to 'trainer_... | 2025-02-14T09:20:56 |
golang/go | 3304b2235af0a88ba0bb21edaf2c60df47b6e0a8 | 87c6fa4f473f178f7d931ddadd10c76444f8dc7b | cmd/compile: fix incoming ABI with GOEXPERIMENT=regabiargs
When regabiargs is enabled, a function's incoming ABI should be
determined solely by the function's own definition ABI (which is
usually ABIInternal, but can be ABI0 for ABI wrappers).
For example, the current code miscompiles ABI0 -> ABIInternal wrappers
whe... | [
{
"path": "src/cmd/compile/internal/ssagen/ssa.go",
"patch": "@@ -225,13 +225,26 @@ const magicNameDotSuffix = \".MagicMethodNameForTestingRegisterABI\"\n const magicLastTypeName = \"MagicLastTypeNameForTestingRegisterABI\"\n \n // abiForFunc implements ABI policy for a function, but does not return a copy ... | 2021-03-31T20:40:52 |
vercel/next.js | a2bb03e3b411e647fd0c3400eeca4fdde89ad404 | 8be8ca6b19e2412ce8a2fdd4737bad0417894d06 | make sure to exit the process in case of errors during errors sending (vercel/turbo#2457) | [
{
"path": "crates/next-core/js/src/internal/ipc.ts",
"patch": "@@ -105,10 +105,14 @@ function createIpc<TIncoming, TOutgoing>(\n },\n \n async sendError(error: Error): Promise<never> {\n- await send({\n- type: \"error\",\n- ...structuredError(error),\n- });\n+ try {\n+ ... | 2022-10-28T18:56:40 |
nodejs/node | 60ef7d1a8f7f576651f4d0817e6568cc80e64f99 | 37461878d0d29a987bb4ec8c7cbdfc8d1464f36d | test: fix assertion in test-console
Move the assertion after the second call to `console.time()` to
actually make sure that the time is not reset.
Refs: https://github.com/nodejs/node/pull/20442
PR-URL: https://github.com/nodejs/node/pull/20557
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell ... | [
{
"path": "test/parallel/test-console.js",
"patch": "@@ -142,12 +142,12 @@ console.timeEnd(NaN);\n console.time('test');\n const time = console._times.get('test');\n setTimeout(() => {\n- assert.deepStrictEqual(console._times.get('test'), time);\n common.expectWarning(\n 'Warning',\n 'Label \\'te... | 2018-05-06T07:15:30 |
huggingface/transformers | e6a7981711304474355dfa41884e78b63b8318c8 | 8fd4bc7d1d6890195bddd7e960c2ea723bc41b38 | Fix make_batched_videos and add tests (#36143)
* add support for initial shift in video processing and other fixes
* revert modifications video loading functions | [
{
"path": "src/transformers/image_utils.py",
"patch": "@@ -314,7 +314,7 @@ def make_batched_videos(videos) -> VideoInput:\n if isinstance(videos, (list, tuple)) and isinstance(videos[0], (list, tuple)) and is_valid_image(videos[0][0]):\n # case 1: nested batch of videos so we flatten it\n ... | 2025-02-13T22:14:30 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.