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
641c99512a3aa462ca69dd351e75f16000de0532
70baf07712c01d59912471b744d5270f3140668d
Fix silent loading error (#42525) fix
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -594,7 +594,6 @@ def set_param_for_module(\n missing_keys.discard(target_name)\n if ref is not None and ref.shape != param_value.shape and hf_quantizer is None:\n mismatch_keys.add((target_name, param_va...
2025-12-01T16:40:12
rust-lang/rust
0920486fa6c0a3c08e23a867b1e6ca6a5563849b
428208eb9b61f44e5bbab70feea42a8d55994230
Do not autofix comments containing bare CR
[ { "path": "clippy_lints/src/four_forward_slashes.rs", "patch": "@@ -1,4 +1,6 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n+use clippy_utils::source::SpanRangeExt as _;\n+use itertools::Itertools;\n use rustc_errors::Applicability;\n use rustc_hir::Item;\n use rustc_lint::{LateContext, LateLintPa...
2025-06-29T20:28:39
golang/go
55589e7531c7e576a26f5610241a278caf6e4a4e
0f4bd92c4d9a16efe05e397354dec87737338d2c
cmd/go: fix retrieving Mercurial commit timestamp under Windows Use "hgdate" since the strftime filter is unsupported by Mercurial under Windows. Fixes #49841 Change-Id: I300898e51e324147aaf1bfe12ed17dea4bdd183d Reviewed-on: https://go-review.googlesource.com/c/go/+/380077 Reviewed-by: Bryan Mills <bcmills@google.co...
[ { "path": "src/cmd/go/internal/vcs/vcs.go", "patch": "@@ -164,7 +164,7 @@ func hgRemoteRepo(vcsHg *Cmd, rootDir string) (remoteRepo string, err error) {\n \n func hgStatus(vcsHg *Cmd, rootDir string) (Status, error) {\n \t// Output changeset ID and seconds since epoch.\n-\tout, err := vcsHg.runOutputVerbose...
2022-01-22T05:33:28
huggingface/transformers
70baf07712c01d59912471b744d5270f3140668d
6316a9e176d22f8f09d44ef72ec0aaa2ce7b8780
avoid `afmoe` job crashing (#42524) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/afmoe/test_modeling_afmoe.py", "patch": "@@ -47,7 +47,7 @@ def __init__(\n num_key_value_heads=16,\n head_dim=128,\n hidden_act=\"silu\",\n- max_position_embeddings=16384,\n+ max_position_embeddings=128,\n initializer_range=0.02,\n ...
2025-12-01T16:39:19
nodejs/node
c49e378f9e352933e301aa8b3473a9c468e39fff
6925f4185175e3b404662c1481ddac1bfcbba572
test: remove uneeded alice certs in fixtures/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/alice.crt", "patch": "@@ -1,24 +0,0 @@\n------BEGIN CERTIFICATE-----\n-MIID8DCCAtigAwIBAgIJALmw0zKhqlY1MA0GCSqGSIb3DQEBBQUAMFgxDjAMBgNV\n-BAMTBWFsaWNlMUYwRAYDVR0RFD11bmlmb3JtUmVzb3VyY2VJZGVudGlmaWVyOmh0\n-dHA6Ly9sb2NhbGhvc3Q6ODAwMC9hbGljZS5mb2FmI21lMB4XDTExMDgyNDA1NTUx\n-NFoXDTExMDk...
2019-05-29T20:39:33
vercel/next.js
9a9d095b54a67ca74c6c32a19df2debffd067089
a035224dc3c1232d75d18d2d40645cc2d56c9ddc
Bump to `typescript@5.1` (#50557) We need to upgrade TypeScript to land the following fixes: - https://github.com/vercel/next.js/pull/50289 - https://github.com/vercel/next.js/pull/48018 And it should fix async components: - https://twitter.com/sebsilbermann/status/1664356039876124672 Also see this related TS 5.0 i...
[ { "path": "package.json", "patch": "@@ -90,7 +90,7 @@\n \"@types/jest\": \"24.0.13\",\n \"@types/node\": \"20.2.5\",\n \"@types/node-fetch\": \"2.6.1\",\n- \"@types/react\": \"18.2.7\",\n+ \"@types/react\": \"18.2.8\",\n \"@types/react-dom\": \"18.2.4\",\n \"@types/relay-runtime\":...
2023-06-08T17:18:37
huggingface/transformers
6316a9e176d22f8f09d44ef72ec0aaa2ce7b8780
eb399a95f0368b8d23f085859f8214ce57c1f2de
Fix MoE for V5 (#42456) * remove zero_like + scatter * fix mixtral moe * fix other moe models as well * fix ci * fix modular mixtral * fix qwen2_moe + qwen3_next * fix device mismatch for qwen3_vl_moe to pass tests * fix modular mixtral * fix other models * rm slow tokenizers (#40936) * fixes missed * gemma...
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -175,6 +175,8 @@ def _build_checkpoint_conversion_mapping():\n mapping[\"qwen3_vl_moe\"] = mapping[\"qwen2_moe\"].copy()\n mapping[\"hunyuan_v1_moe\"] = mapping[\"qwen2_moe\"].copy()\n mapping[\"minimax\"] = mapping[\"mixtral\"].co...
2025-12-01T16:34:55
golang/go
0f4bd92c4d9a16efe05e397354dec87737338d2c
a9eedc0789085f55193bdbf0d777b8eaeccb1890
cmd/go: avoid recording GOROOT_FINAL in precompiled C archives C archives for packages in GOROOT are shipped along with binary releases of the Go toolchain. Although we build the toolchain with GOROOT_FINAL set, we don't know actually know where the release will be installed: the user's real GOROOT can differ arbitrar...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -236,11 +236,13 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \t\t}\n \t} else if p.Goroot {\n \t\t// The Go compiler always hides the exact value of $GOROOT\n-\t\t// when building things in GOROOT, but the C compiler\n-\t\t// mer...
2022-01-26T14:18:14
vercel/next.js
a035224dc3c1232d75d18d2d40645cc2d56c9ddc
ea63e92e87962f712492d7284890dd45e7a6d9cb
Pick esm main fields and condition names first for RSC server layer (#50548) For RSC server layer so far we bundle all dependencies, ESM format is the better one rather than CJS to analyze and tree-shake out the unused parts. This PR changes pick the condition names that are in ESM format first for server layer. Also...
[ { "path": "package.json", "patch": "@@ -224,7 +224,7 @@\n \"semver\": \"7.3.7\",\n \"shell-quote\": \"1.7.3\",\n \"strip-ansi\": \"6.0.0\",\n- \"styled-components\": \"6.0.0-beta.5\",\n+ \"styled-components\": \"6.0.0-rc.3\",\n \"styled-jsx\": \"5.1.1\",\n \"styled-jsx-plugin-postc...
2023-06-08T16:24:03
nodejs/node
6925f4185175e3b404662c1481ddac1bfcbba572
b4225615ad05e8f791d69ceb67c7481b753d22cd
test: remove uneeded certs in fixtures/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/cert.pem", "patch": "@@ -1,35 +0,0 @@\n------BEGIN CERTIFICATE-----\n-MIIDNDCCAp2gAwIBAgIJAJvXLQpGPpm7MA0GCSqGSIb3DQEBBQUAMHAxCzAJBgNV\n-BAYTAkdCMRAwDgYDVQQIEwdHd3luZWRkMREwDwYDVQQHEwhXYXVuZmF3cjEUMBIG\n-A1UEChMLQWNrbmFjayBMdGQxEjAQBgNVBAsTCVRlc3QgQ2VydDESMBAGA1UEAxMJ\n-bG9jYWxob3N0...
2019-05-29T19:11:34
huggingface/transformers
eb399a95f0368b8d23f085859f8214ce57c1f2de
3ea7ecd5ba19c669b8d08aca78063fc50f9d8331
feat(cb): use context manager in `generate_batch` (#42190) * feat(cb): use context manager in `generate_batch` * refactor(cb): group `with` stmts * refactor(cb): move log line before `stop` call Co-authored-by: Rémi Ouazan <83456801+remi-or@users.noreply.github.com> * fix: lint --------- Co-authored-by: Rémi Oua...
[ { "path": "src/transformers/generation/continuous_batching/continuous_api.py", "patch": "@@ -26,6 +26,7 @@\n import torch\n from torch import nn\n from tqdm import tqdm\n+from tqdm.contrib.logging import logging_redirect_tqdm\n \n from ...configuration_utils import PretrainedConfig\n from ...generation.conf...
2025-12-01T16:21:53
rust-lang/rust
d69b8e2b48cd5e3ac4f8ee7af995241ea7c3a010
85357d1e5cf56d8aca54e7d4f6cc365b006f484a
Add shims for `gettid`-esque functions Various platforms provide a function to return the current OS thread ID, but they all use a slightly different name. Add shims for these functions for Apple, FreeBSD, and Windows, with tests to account for those and a few more platforms that are not yet supported by Miri. The sys...
[ { "path": "src/tools/miri/src/helpers.rs", "patch": "@@ -1337,7 +1337,6 @@ where\n \n /// Check that the number of varargs is at least the minimum what we expect.\n /// Fixed args should not be included.\n-/// Use `check_vararg_fixed_arg_count` to extract the varargs slice from full function arguments.\n pu...
2025-06-13T00:08:58
golang/go
5b1b80beb1a2a9a353738e80777d1e25cfdfa095
827babf6aa602c76e45fabfdc2efe8d3f30edabd
cmd/go: remove mercurial from bitbucket vcs options Mercurial was deprecated as of July 1, 2020 as per https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket Fixes #50810. Change-Id: I0d40f84aaa393905cae7c4bed8919b15de9a5f6d Reviewed-on: https://go-review.googlesource.com/c/go/+/371720 Trust: Russ Cox ...
[ { "path": "src/cmd/go/internal/vcs/vcs.go", "patch": "@@ -6,7 +6,6 @@ package vcs\n \n import (\n \t\"bytes\"\n-\t\"encoding/json\"\n \t\"errors\"\n \t\"fmt\"\n \texec \"internal/execabs\"\n@@ -1437,8 +1436,9 @@ var vcsPaths = []*vcsPath{\n \t{\n \t\tpathPrefix: \"bitbucket.org\",\n \t\tregexp: lazyrege...
2021-12-14T16:59:06
vercel/next.js
b8e08abf9e2a9faccd9532c940700dc9237ba245
d52c030d945c199da818d363244b32a50ad1dc15
fix: add missed / at useSelectedLayoutSegment at App routing/Pages and Layout (#50956) ## Why? - When i click `red box` in following image, page returns 404 page. <img width="1728" alt="스크린샷 2023-06-08 오후 7 31 37" src="https://github.com/vercel/next.js/assets/63336958/903b11e3-17af-426e-8787-b6e033c14a24"> ##...
[ { "path": "docs/02-app/01-building-your-application/01-routing/02-pages-and-layouts.mdx", "patch": "@@ -112,7 +112,7 @@ export default function DashboardLayout({\n > - Layouts are [Server Components](/docs/getting-started/react-essentials) by default but can be set to a [Client Component](/docs/getting-star...
2023-06-08T15:33:25
nodejs/node
b4225615ad05e8f791d69ceb67c7481b753d22cd
6adeae686c60bbc22e678d9276471d5f8216a2c2
test: move dherror.pem to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -24,6 +24,7 @@ all: \\\n dh512.pem \\\n dh1024.pem \\\n dh2048.pem \\\n+\tdherror.pem \\\n \tdsa_params.pem \\\n \tdsa_private.pem \\\n \tdsa_private_encrypted.pem \\\n@@ -578,6 +579,9 @@ dh1024.pem:\n dh2048.pem:\n \topenssl dhparam -out dh2048.pe...
2019-05-29T19:07:53
rust-lang/rust
ab2443cbad0d0e2b40f9c862756e4233a17174bb
33f1700cfc4f6416447e14b6535f8e5038ad85b5
fix type mismatches in native-lib/scalar_arguments test
[ { "path": "src/tools/miri/tests/native-lib/scalar_arguments.c", "patch": "@@ -22,11 +22,11 @@ EXPORT uint32_t get_unsigned_int(void) {\n return -10;\n }\n \n-EXPORT short add_int16(int16_t x) {\n+EXPORT int16_t add_int16(int16_t x) {\n return x + 3;\n }\n \n-EXPORT long add_short_to_long(int16_t x, int6...
2025-06-29T12:47:44
electron/electron
f7a82987f43fcaf4ba01abb6c409646dfe69b7bc
6041c7edf9fc8ff4d73b0c311200c3953127da3e
fix translation
[ { "path": "docs-translations/zh-CN/api/chrome-command-line-switches.md", "patch": "@@ -22,7 +22,7 @@ app.on('ready', function() {\n \n ## --disable-http-cache\n \n-禁用 HTTP 请求.\n+禁止请求 HTTP 时使用磁盘缓存.\n \n ## --remote-debugging-port=`port`\n \n@@ -137,4 +137,4 @@ app.commandLine.appendSwitch('proxy-bypass-list'...
2016-03-24T07:30:46
golang/go
6eb58cdffa1ab334493776a25ccccfa89c2ca7ac
38729cff96ad38b2d5b530c1009ff0403ebff903
all: update vendored golang.org/x/tools Update the vendored x/tools to pick up CL 380014, which updates the ifaceassert vet analyzer to remove spurious errors for assertions involving interfaces with type parameters. This also picks up some superficial changes related to refactoring of the x/tools/internal/typeparams...
[ { "path": "src/cmd/go.mod", "patch": "@@ -8,7 +8,7 @@ require (\n \tgolang.org/x/mod v0.6.0-dev.0.20211102181907-3a5865c02020\n \tgolang.org/x/sync v0.0.0-20210220032951-036812b2e83c\n \tgolang.org/x/term v0.0.0-20210927222741-03fcf44c2211\n-\tgolang.org/x/tools v0.1.9-0.20211207220608-fd2bfb79a16a\n+\tgola...
2022-01-25T22:31:52
huggingface/transformers
2375ddb426147f9e94e12be8d6a54f7a418e1e98
11e0fc12cd070732737e86951678496da635f09e
T5gemma2 (#41834) * Fix small bug in T5Gemma 1 in __init__ * Add t5gemma2 model & configurations. * Add auto support * Add test case. * Add doctree. * Update positional embeddings to match latest update. * Style fix & add use of final_logit_softcapping for attributes check. * Update tests and embedding design. ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -704,6 +704,8 @@\n title: T5\n - local: model_doc/t5gemma\n title: T5Gemma\n+ - local: model_doc/t5gemma2\n+ title: T5Gemma2\n - local: model_doc/t5v1.1\n title: T5v1.1\n - local: model_doc/ul2", ...
2025-12-01T16:07:53
vercel/next.js
9a3e76377aef3a2e9883e394e18fc19642401da2
63d5cf1c1d5fa5e4eb526e7a58bbd789891fd94d
Fix windows build check
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -249,6 +249,7 @@ jobs:\n \n - name: 'check build cache status'\n id: check-did-build\n+ shell: bash\n run: if [[ ! -z $(ls .turbo/runs) ]]; then echo \"DID_BUILD=yup\" >> $GITHUB_OUTPUT; fi\n \n # Trying to u...
2023-06-08T14:38:38
nodejs/node
5d0869744d32fe7901daa568403396a1af12aff9
b250085df30a1dc64bef51c88d76ed13597b4088
test: move test_[key|ca|cert] to fixtures/keys/ Lots of changes, but mostly just search/replace of fixtures.readSync(...) to fixtures.readKey([new key]...) Benchmarks modified to use fixtures.readKey(...): benchmark/tls/throughput.js benchmark/tls/tls-connect.js benchmark/tls/secure-pair.js Also be sure to review th...
[ { "path": "benchmark/tls/secure-pair.js", "patch": "@@ -6,21 +6,19 @@ const bench = common.createBenchmark(main, {\n size: [2, 1024, 1024 * 1024]\n });\n \n-const fs = require('fs');\n+const fixtures = require('../../test/common/fixtures');\n const tls = require('tls');\n const net = require('net');\n-con...
2019-05-29T18:43:44
huggingface/transformers
11e0fc12cd070732737e86951678496da635f09e
ffc485f548979d482ee210f0c55e2b7de52e32da
another way of fix for #42400 (#42509) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/ernie4_5_moe/test_modeling_ernie4_5_moe.py", "patch": "@@ -89,15 +89,14 @@ def test_flash_attn_2_equivalence(self):\n # higher tolerance, not sure where it stems from\n assert torch.allclose(logits_fa, logits, atol=1e-2, rtol=1e-2)\n \n- # Ignore co...
2025-12-01T16:06:48
electron/electron
7f787818004dfbc6ad8ca7fec47b237bcab61a80
6041c7edf9fc8ff4d73b0c311200c3953127da3e
Improve error reporting when using invalid argument types for dialog API methods
[ { "path": "lib/browser/api/dialog.js", "patch": "@@ -67,9 +67,13 @@ module.exports = {\n }\n if (options.title == null) {\n options.title = '';\n+ } else if (typeof options.title !== 'string') {\n+ throw new TypeError('Title need to be string');\n }\n if (options.defaultPath ==...
2016-03-23T07:44:11
golang/go
b66bc0a9d5eba193f7d7f4977ca64a77527f4b3b
078ddecc327a20cec4751e66911197409e01f6d9
go/types, types2: make each method instantiation independently lazy Method signatures can introduce a significant number of edges into the type graph. One can imagine a generic type with many methods, each of which may use other instantiated types, etc. For performance, when type checking generic code, we should avoid...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -640,6 +640,11 @@ func TestDefsInfo(t *testing.T) {\n \t\t{`package p3; type x int`, `x`, `type p3.x int`},\n \t\t{`package p4; func f()`, `f`, `func p4.f()`},\n \t\t{`package p5; func f() int { x, _ := 1, 2; return x }`, `_`, `var _ int`...
2022-01-24T15:37:59
nodejs/node
b250085df30a1dc64bef51c88d76ed13597b4088
198162a2e311da105995d901ef36041e66ad6bab
test: move spkac certs to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -46,6 +46,8 @@ all: \\\n \trsa_private_b.pem \\\n \tI_AM_THE_WALRUS_sha256_signature_signedby_rsa_private_b.sha256 \\\n \trsa_public_b.pem \\\n+\trsa_spkac.spkac \\\n+\trsa_spkac_invalid.spkac \\\n rsa_private_1024.pem \\\n rsa_private_2048.pem \\\n ...
2019-05-29T17:16:07
rust-lang/rust
9cba70b2838a2c3d6fe9bbe9eb4a5c6a8f4dda92
c5dbd1de07e0407b9687619a868384d6de06253f
fix: `cast_possible_truncation` should not suggest inside const context
[ { "path": "clippy_lints/src/casts/cast_possible_truncation.rs", "patch": "@@ -3,7 +3,7 @@ use clippy_utils::diagnostics::{span_lint, span_lint_and_then};\n use clippy_utils::source::snippet;\n use clippy_utils::sugg::Sugg;\n use clippy_utils::ty::{get_discriminant_value, is_isize_or_usize};\n-use clippy_uti...
2025-06-28T14:12:01
vercel/next.js
63d5cf1c1d5fa5e4eb526e7a58bbd789891fd94d
23649623d74df03e5b3fe145e15d90890aa4888f
Fix workflow check
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -249,12 +249,12 @@ jobs:\n \n - name: 'check build cache status'\n id: check-did-build\n- run: if [[ ! -z $(ls .turbo/runs) ]]; then echo \"DID_BUILD=true\" >> $GITHUB_OUTPUT; fi\n+ run: if [[ ! -z $(ls .turbo/runs)...
2023-06-08T14:16:31
huggingface/transformers
e2f08ea579c7dfa6951b2b4f9234149288f53747
afd039d1caa1a11dcc03d21bc0bb5c114bf927c2
Attempt to fix VLM gradient enabling (#41993) * attempt to fix gradients * Improve tests, use PreTrainedModel hooks, cleanup * missing patch_embed * fix arg name * local revert * adapt BART test * lingering fails --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1976,13 +1976,44 @@ def enable_input_require_grads(self):\n def make_inputs_require_grads(module, input, output):\n output.requires_grad_(True)\n \n- self._require_grads_hook = self.get_input_embeddings().register_forwa...
2025-12-01T15:32:08
golang/go
078ddecc327a20cec4751e66911197409e01f6d9
16d6a5233a183be7264295c66167d35c689f9372
test: add a new test absdiff3.go which uses function callback We have disallowed having a typeparam on the right-hand-side of a type declaration. So, we disabled much of the test absdiff.go. I recently wrote a new test absdiff2.go to use a structure containing the type param type, so I could attach a method properly a...
[ { "path": "test/typeparam/absdiff2.go", "patch": "@@ -4,6 +4,9 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n+// absdiff example in which an Abs method is attached to a generic type, which is a\n+// structure with a single field that may b...
2022-01-25T17:50:03
vercel/next.js
8c2e5bd0723da7404d59a0895381615a5b0a83e5
f6ff2ef98e4a7da757fe41248e3af52afeb94e7b
Update codeowners to use Vercel Spaces (#50841) Move as much of codeowners as possible to use Vercel Spaces. 1. Makes `@timneutkens @ijjk @shuding @huozhi @feedthejim` global owners 2. Make the `@vercel/next-js` team _optional_ owners of **/docs**, **/errors**, and **/contributing**, makes team owners of a few p...
[ { "path": ".github/CODEOWNERS", "patch": "@@ -1,18 +1,13 @@\n # Learn how to add code owners here:\n # https://help.github.com/en/articles/about-code-owners\n \n-* @timneutkens @ijjk @shuding @huozhi @feedthejim\n+# Part of code owners now use Vercel Spaces\n+# Se...
2023-06-08T10:02:18
nodejs/node
198162a2e311da105995d901ef36041e66ad6bab
c4209729fbac9184308de3803463934d62228a23
test: move x448 keypairs to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -64,6 +64,8 @@ all: \\\n x25519_public.pem \\\n ed448_private.pem \\\n ed448_public.pem \\\n+ x448_private.pem \\\n+ x448_public.pem \\\n \n #\n # Create Certificate Authority: ca1\n@@ -682,6 +684,12 @@ ed448_private.pem:\n ed448_public.pem: ed44...
2019-05-28T23:39:49
huggingface/transformers
305f82a176ace46166c0bc8f25530b7d15e5c8dd
9f587100bc1e7a21bd22218a058ae14f7ea9b05c
Delete irrelevant test that sometimes fails (#42515) * Delete irrelevant test that sometimes fails * make fixup
[ { "path": "tests/models/bert_japanese/test_tokenization_bert_japanese.py", "patch": "@@ -19,7 +19,6 @@\n import unittest\n \n from transformers import AutoTokenizer\n-from transformers.models.bert.tokenization_bert import BertTokenizer\n from transformers.models.bert_japanese.tokenization_bert_japanese impo...
2025-12-01T15:19:40
electron/electron
52d09e96006e82a598d4806fb13358147ec1df14
a52285596ebdd77e6fb0580a1a4e471cb28dcfa7
Run callback of setDestructor immediately when GC happens Fix #4733.
[ { "path": "atom/common/api/object_life_monitor.cc", "patch": "@@ -31,16 +31,16 @@ ObjectLifeMonitor::ObjectLifeMonitor(v8::Isolate* isolate,\n // static\n void ObjectLifeMonitor::OnObjectGC(\n const v8::WeakCallbackInfo<ObjectLifeMonitor>& data) {\n- // Usually FirstWeakCallback should do nothing other...
2016-03-21T12:42:12
rust-lang/rust
ff3c9c15b7ae8a0ef7b4079b1c39ebb3a3bdbedb
428208eb9b61f44e5bbab70feea42a8d55994230
`missing_panics_doc`: Correctly distinguish maybe-const vs always-const contexts for missing_panics_doc changelog: [`missing_panics_doc`]: Allow unwrap() and expect()s in const-only contexts
[ { "path": "clippy_lints/src/doc/missing_headers.rs", "patch": "@@ -3,7 +3,7 @@ use clippy_utils::diagnostics::{span_lint, span_lint_and_note};\n use clippy_utils::macros::{is_panic, root_macro_call_first_node};\n use clippy_utils::ty::{get_type_diagnostic_name, implements_trait_with_env, is_type_diagnostic_...
2025-06-29T16:54:13
golang/go
16d6a5233a183be7264295c66167d35c689f9372
84eefdc933410907495e42aac872036403851ffa
cmd/compile: new absdiff.go test, fix problem with g.curDecl Added a new absdiff2.go test case, which works fully without using a typeparam on the right-hand-side of a type declaration (which is disallowed). Fixed an issue that the test revealed, which is that we need to set g.curDecl properly for the "later" function...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -133,12 +133,20 @@ func (g *irgen) funcDecl(out *ir.Nodes, decl *syntax.FuncDecl) {\n \t\tg.target.Inits = append(g.target.Inits, fn)\n \t}\n \n-\thaveEmbed := g.haveEmbed\n+\tsaveHaveEmbed := g.haveEmbed\n+\tsaveCurDecl := g.curDecl\n \tg.cur...
2022-01-24T22:38:01
huggingface/transformers
a3881a8d2f946c4f9d68867e5115f127c8856c2c
297f5ae8aba5d933c07745ece28ce0e4a6e44ec0
perf: Remove implicit CPU-GPU syncs due to implicit .item() call (#42433) * perf: Remove implicit CPU-GPU syncs due to implicit .item() call * fix: replicated the changes across similar files * fix: update the newly added nanochat model files * fix: use input_shape and device instead of input_emdeds properties for ...
[ { "path": "src/transformers/models/apertus/modeling_apertus.py", "patch": "@@ -392,8 +392,8 @@ def forward(\n \n if cache_position is None:\n past_seen_tokens = past_key_values.get_seq_length() if past_key_values is not None else 0\n- cache_position: torch.Tensor = torch.arang...
2025-12-01T14:01:58
nodejs/node
c4209729fbac9184308de3803463934d62228a23
f5e6ac2bd9cfd55d156fdcaee4f73b2822f46a53
test: move ed448 keypairs to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -62,6 +62,8 @@ all: \\\n ed25519_public.pem \\\n x25519_private.pem \\\n x25519_public.pem \\\n+ ed448_private.pem \\\n+ ed448_public.pem \\\n \n #\n # Create Certificate Authority: ca1\n@@ -674,6 +676,12 @@ x25519_private.pem:\n x25519_public.pe...
2019-05-28T21:40:58
vercel/next.js
f6ff2ef98e4a7da757fe41248e3af52afeb94e7b
22ea7d99095cee37b327c5c674a78d893b95d38c
[Next Docs] Update Git Workflow (#50579) Update our git workflow in preparation for open-sourcing the content of the docs ([linear task](https://linear.app/vercel/issue/DX-1579/set-up-github-workflow)). **Templates:** - [x] Update docs issue template to encourage contributions - [x] Update PR template to includ...
[ { "path": ".github/ISSUE_TEMPLATE/4.docs_request.yml", "patch": "@@ -4,6 +4,12 @@ title: 'Docs: '\n labels:\n - 'template: documentation'\n body:\n+ - type: markdown\n+ attributes:\n+ value: Before opening this issue to request a docs improvement, is this something you can help us with? Your cont...
2023-06-08T10:01:55
huggingface/transformers
297f5ae8aba5d933c07745ece28ce0e4a6e44ec0
f78723fa1c0fd6de991ede125a14144189323efc
Fix broken link to dataset food101 (#42495)
[ { "path": "docs/source/ar/preprocessing.md", "patch": "@@ -302,7 +302,7 @@ pip install datasets\n \n </Tip>\n \n-قم بتحميل مجموعة بيانات [food101](https://huggingface.co/datasets/food101) (راجع دليل 🤗 [Datasets tutorial](https://huggingface.co/docs/datasets/load_hub) لمزيد من التفاصيل حول كيفية تحميل مجموع...
2025-12-01T13:25:00
golang/go
84eefdc933410907495e42aac872036403851ffa
671e1150c680eb5f21833662362954cc1b155d2b
go/types, types2: pass the seen map through _TypeSet.IsComparable While checking comparability of type parameters, we recurse through _TypeSet.IsComparable, but do not pass the cycle-tracking seen map, resulting in infinite recursion in some cases. Refactor to pass the seen map through this recursion. Fixes #50782 ...
[ { "path": "src/cmd/compile/internal/types2/interface.go", "patch": "@@ -86,7 +86,7 @@ func (t *Interface) Method(i int) *Func { return t.typeSet().Method(i) }\n func (t *Interface) Empty() bool { return t.typeSet().IsAll() }\n \n // IsComparable reports whether each type in interface t's type set is compara...
2022-01-24T20:42:52
nodejs/node
f5e6ac2bd9cfd55d156fdcaee4f73b2822f46a53
56d338305d24c29a8898486bd30752665cedb913
test: move dsa keypairs to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -24,6 +24,11 @@ all: \\\n dh512.pem \\\n dh1024.pem \\\n dh2048.pem \\\n+\tdsa_params.pem \\\n+\tdsa_private.pem \\\n+\tdsa_private_encrypted.pem \\\n+\tdsa_private_pkcs8.pem \\\n+\tdsa_public.pem \\\n dsa1025.pem \\\n dsa_private_1025.pem \\\n...
2019-05-28T21:28:59
vercel/next.js
22ea7d99095cee37b327c5c674a78d893b95d38c
f24d0cb03003f626170179fc4f5f4bff2de9794f
Revert "Revert "update turbopack"" (#50947) Fixed in https://github.com/vercel/next.js/pull/50946 Reverts vercel/next.js#50942
[ { "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-230601.3#6ae2258480d2a1f1a0c893f7a63014aa50b3d90b\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-06-08T04:02:03
rust-lang/rust
769fb751197699b7d9e7a9f69421b27617568732
99780df8add4790dd838d5172257d6e66124597a
Fix exactudiv and exactsdiv for gcc without 128-bit integers
[ { "path": "src/builder.rs", "patch": "@@ -700,7 +700,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {\n let a = self.gcc_int_cast(a, a_type);\n let b_type = b.get_type().to_unsigned(self);\n let b = self.gcc_int_cast(b, b_type);\n- a / b\n+ ...
2025-06-29T14:48:58
huggingface/transformers
a0216a8021d8b950c69db06440e38307cfa570d4
aaa7325472d05ac587fc20ef29f610f1fb5e684a
Fix a bug where compile_config gets deleted (#42474) * Fix a bug where compile_config gets deleted * Change new kwarg name
[ { "path": "src/transformers/generation/configuration_utils.py", "patch": "@@ -755,7 +755,7 @@ def save_pretrained(\n \n output_config_file = os.path.join(save_directory, config_file_name)\n \n- self.to_json_file(output_config_file, use_diff=True)\n+ self.to_json_file(output_config_file...
2025-12-01T12:59:52
electron/electron
f84c41f684f0c6c4bfc69d4e4984c8c7b4e8d33e
e05804848f98959d63337aacd9047cd579c5b23f
Fix Menu documentation
[ { "path": "docs/api/menu.md", "patch": "@@ -240,7 +240,11 @@ Generally, the `template` is just an array of `options` for constructing a\n You can also attach other fields to the element of the `template` and they\n will become properties of the constructed menu items.\n \n-### `Menu.popup([browserWindow, x,...
2016-03-20T17:58:25
golang/go
671e1150c680eb5f21833662362954cc1b155d2b
fe85c244315f82b1a6a21cd6ddc0255eed92a357
go/types, types2: reorder object processing to avoid broken aliases By processing non-alias type declarations before alias type declaration, and those before everything else we can avoid some of the remaining errors which are due to alias types not being available. For #25838. For #50259. For #50276. For #50729. Cha...
[ { "path": "src/cmd/compile/internal/types2/resolver.go", "patch": "@@ -656,27 +656,33 @@ func (check *Checker) packageObjects() {\n \t\t}\n \t}\n \n-\t// We process non-alias declarations first, in order to avoid situations where\n-\t// the type of an alias declaration is needed before it is available. In g...
2022-01-21T17:05:51
vercel/next.js
f24d0cb03003f626170179fc4f5f4bff2de9794f
18d2f7da33145c359724153b018e8ab943e65613
fix rust install being skipped when it shouldn't be (#50946) Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -202,7 +202,7 @@ jobs:\n uses: ./.github/actions/setup-rust\n with:\n targets: ${{ matrix.settings.target }}\n- skip-install: ${{ !!matrix.settings.docker }}\n+ skip-install: ${{ matrix.settings.dock...
2023-06-08T03:32:19
huggingface/transformers
aaa7325472d05ac587fc20ef29f610f1fb5e684a
2dba972530b405d70a49f8f7338590db6722843e
Patch Mistral Common Tokenizer 2 (#41962) * Patch Mistral Common Tokenizer 2: fix add_special_tokens * Fix typos * Fix typing issue * Make _get_validation_mode static * wip * Add int support to decode * Add edge test cases * fix * Support batch for decode * fix * Refactor to private logic of batch_decode * ...
[ { "path": "src/transformers/tokenization_mistral_common.py", "patch": "@@ -61,7 +61,7 @@\n Whether or not to add special tokens when encoding the sequences. This will use the underlying\n `PretrainedTokenizerBase.build_inputs_with_special_tokens` function, which defines which...
2025-12-01T12:47:10
nodejs/node
56d338305d24c29a8898486bd30752665cedb913
ee00111f2062ffe67d18de04a178ac39ed58f503
test: move rsa keypairs to fixtures/keys/ Also adds make'd signatures for use in tests of signing/verification. All of the moved keys can be regenerated at will without breaking tests now. PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usha...
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -31,6 +31,16 @@ all: \\\n ec-cert.pem \\\n ec.pfx \\\n fake-cnnic-root-cert.pem \\\n+\trsa_private.pem \\\n+\trsa_private_encrypted.pem \\\n+\trsa_private_pkcs8.pem \\\n+\trsa_private_pkcs8_bad.pem \\\n+\trsa_public.pem \\\n+\trsa_public_sha1_signa...
2019-05-28T21:11:45
electron/electron
116d61185a887b50c2a214c0736e07dd6b806868
9f6541228d0dfcee3d5ae0da8322ee87dcc8c24f
Refix alert()
[ { "path": "lib/renderer/override.js", "patch": "@@ -161,7 +161,7 @@ window.open = function(url, frameName, features) {\n // Use the dialog API to implement alert().\n window.alert = function(message, title) {\n var buttons;\n- if (message === undefined) {\n+ if (arguments.length == 0) {\n message = ...
2016-03-20T08:40:12
golang/go
fe85c244315f82b1a6a21cd6ddc0255eed92a357
fef14fdd1dc9106f872e75aae4fcd814abc47080
go/types, types2: report an error when using a broken alias The type checker doesn't have a general mechanism to "use" the type of a type alias whose type depends on a recursive type declaration which is not yet completely type-checked. In some cases, the type of a type alias is needed before it is determined; the typ...
[ { "path": "src/cmd/compile/internal/types2/check.go", "patch": "@@ -130,6 +130,7 @@ type Checker struct {\n \timports []*PkgName // list of imported packages\n \tdotImportMap map[dotImportKey]*PkgName // maps dot-imported objects to the package they were dot-imported through\n \tre...
2022-01-21T02:56:57
huggingface/transformers
01823d7e46018acef1b603022e092c1271f6b4c1
e51e75e18a209e00e8de6ca244eec714b2d4af2d
[`CI`] Fix copies (#42487) copies
[ { "path": "src/transformers/models/nanochat/modeling_nanochat.py", "patch": "@@ -30,6 +30,7 @@\n from ...activations import ACT2FN\n from ...cache_utils import Cache, DynamicCache\n from ...generation import GenerationMixin\n+from ...integrations import use_kernel_func_from_hub\n from ...masking_utils impor...
2025-12-01T09:57:01
vercel/next.js
18d2f7da33145c359724153b018e8ab943e65613
e562ddf990f6190459473d773eff171c6b1c14f2
Fix shorthand prop wrongly handled in the Server Actions compiler (#50937) This PR fixes the case of having a shorthand prop `{ id }` referenced from a non-top level closure in the Server Actions compiler. The main problem is that an `Ident` in `PropOrSpread` is not considered as an `Expr`. See corresponding issue re...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -357,7 +357,7 @@ impl<C: Comments> ServerActions<C> {\n // export async function $ACTION_myAction () {}\n let mut new_params: Vec<Param> = vec![];\n \n- // $$ACTION_ARG_{index}\n+ // a...
2023-06-08T03:03:54
nodejs/node
ee00111f2062ffe67d18de04a178ac39ed58f503
8091df065ee1cdb8580a4a263f97f0b0750ca1f6
test: move x25519 keypair to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -45,6 +45,8 @@ all: \\\n rsa_pss_public_2048_sha512_sha256_20.pem \\\n ed25519_private.pem \\\n ed25519_public.pem \\\n+ x25519_private.pem \\\n+ x25519_public.pem \\\n \n #\n # Create Certificate Authority: ca1\n@@ -606,6 +608,12 @@ ed25519_priv...
2019-05-28T18:47:01
huggingface/transformers
e51e75e18a209e00e8de6ca244eec714b2d4af2d
0c05c3bd6c5cfe71d7ad480f2b15879df2f6f903
remove tokenizer warning (#42483) * fix warning * fix * remove
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1827,16 +1827,14 @@ def _from_pretrained(\n if tokenizer_config_file is not None:\n with open(tokenizer_config_file, encoding=\"utf-8\") as tokenizer_config_handle:\n init_kwargs = json.load(tokenizer_...
2025-12-01T09:50:30
electron/electron
9f6541228d0dfcee3d5ae0da8322ee87dcc8c24f
e05804848f98959d63337aacd9047cd579c5b23f
Fix alert()
[ { "path": "lib/renderer/override.js", "patch": "@@ -161,11 +161,14 @@ window.open = function(url, frameName, features) {\n // Use the dialog API to implement alert().\n window.alert = function(message, title) {\n var buttons;\n+ if (message === undefined) {\n+ message = '';\n+ }\n if (title == null...
2016-03-20T07:09:30
golang/go
fef14fdd1dc9106f872e75aae4fcd814abc47080
2abfa30f9e0041e932411816ba07d68060eec304
go/types, types2: slightly better tracing output (debugging support) Change-Id: I48804eba94ec455c4764d52af148f4210faf7d94 Reviewed-on: https://go-review.googlesource.com/c/go/+/379836 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -278,7 +278,9 @@ loop:\n \t\t\tcheck.trace(obj.Pos(), \"## cycle contains: %d values, %d type definitions\", nval, ndef)\n \t\t}\n \t\tdefer func() {\n-\t\t\tif !valid {\n+\t\t\tif valid {\n+\t\t\t\tcheck.trace(obj.Pos(), \"=> cycle is valid\...
2022-01-21T01:23:07
vercel/next.js
1df39eae24d72c773e4f35199681a617b7f3aaae
ad4d1bdc9091c40f466c1728f3d01e4126e9df26
Error handling fixes for `turbopack-node` and the HMR runtime (vercel/turbo#5189) ### Description - errors during module init are no longer ignored - non-Errors thrown inside node.js now display correctly Bonus: - you can now debug the spawned node.js processes without recompiling via `TURBOPACK_DEBUG_JS=operat...
[ { "path": "crates/turbopack-ecmascript-runtime/js/src/dev/runtime/base/runtime-base.ts", "patch": "@@ -261,7 +261,12 @@ async function loadChunkPath(\n throw new Error(\n `Failed to load chunk ${chunkPath} ${loadReason}${\n error ? `: ${error}` : \"\"\n- }`\n+ }`,\n+ error\n...
2023-06-08T00:03:23
rust-lang/rust
890f81b1fc85c50e17418decad5152d0995ad509
dddd7ab96229ea5f2ca96afcb5984a9831393a13
Make combining LLD with external LLVM config a hard error
[ { "path": "src/bootstrap/src/core/build_steps/compile.rs", "patch": "@@ -2241,7 +2241,7 @@ impl Step for Assemble {\n debug!(\"copying codegen backends to sysroot\");\n copy_codegen_backends_to_sysroot(builder, build_compiler, target_compiler);\n \n- if builder.config.lld_enabled && !...
2025-06-29T07:34:45
nodejs/node
8091df065ee1cdb8580a4a263f97f0b0750ca1f6
52b6d393af3bbbd26245b92380bb641be6f10555
test: move ed25519 keypair to fixtures/keys/ PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/fixtures/keys/.gitattributes", "patch": "@@ -0,0 +1,4 @@\n+* -text\n+\n+Makefile text\n+*.cnf text", "additions": 4, "deletions": 0, "language": "Unknown" }, { "path": "test/fixtures/keys/Makefile", "patch": "@@ -43,6 +43,8 @@ all: \\\n rsa_pss_public_2048.pem \\\n ...
2019-05-28T18:39:24
huggingface/transformers
0c05c3bd6c5cfe71d7ad480f2b15879df2f6f903
26dbe643d1599e9550e279498ea0a23753953723
Fix `pr_build_doc_with_comment.yml` not reporting correctly (#42505) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr_build_doc_with_comment.yml", "patch": "@@ -110,7 +110,7 @@ jobs:\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n- STATUS_OK: ${{ contains(fromJSON('[\"skipped...
2025-12-01T09:25:07
golang/go
2abfa30f9e0041e932411816ba07d68060eec304
7520c080b45e9493b289d622aed8d8a0da528089
go/types, types2: consider type parameters for cycle detection In validType, when we see an instantiated type, proceed as with non-generic types but provide an environment in which to look up the values (the corresponding type arguments) of type parameters of the instantiated type. For each type parameter for which th...
[ { "path": "src/cmd/compile/internal/types2/testdata/check/issues.go2", "patch": "@@ -145,8 +145,8 @@ type List3[TElem any] struct {\n }\n \n // Infinite generic type declarations must lead to an error.\n-type inf1 /* ERROR illegal cycle */ [T any] struct{ _ inf1[T] }\n-type inf2 /* ERROR illegal cycle */ [T...
2022-01-15T01:42:20
electron/electron
a89e79a7ed92ce267b790e7e0cd757585cb072ea
e05804848f98959d63337aacd9047cd579c5b23f
fix link
[ { "path": "docs-translations/zh-CN/README.md", "patch": "@@ -73,7 +73,7 @@\n * [源码目录结构](development/source-code-directory-structure.md)\n * [与 NW.js(原 node-webkit)在技术上的差异](development/atom-shell-vs-node-webkit.md)\n * [构建系统概览](development/build-system-overview.md)\n-* [构建步骤(Mac)](development/build-instructi...
2016-03-20T03:20:43
vercel/next.js
6ef76195a5a7738f07991cbddc4769420d85ba6e
8eb14280e8ea94e479aebf19928c9ef413b91124
Update next-swc handling for PR stats (#50933) This fixes the wasm swc build being used for PR stats unexpectedly since pnpm pack wasn't actually including the swc binary. This also adds a hard error preventing the wasm swc binary from being leveraged in the future for PR stats. x-ref: [vercel/next.js/actions/r...
[ { "path": ".github/actions/next-stats-action/Dockerfile", "patch": "@@ -1,13 +1,20 @@\n-FROM node:16-bullseye\n+FROM ubuntu:22.04\n \n LABEL com.github.actions.name=\"Next.js PR Stats\"\n LABEL com.github.actions.description=\"Compares stats of a PR with the main branch\"\n LABEL repository=\"https://github...
2023-06-07T21:31:57
huggingface/transformers
cac0a28c83cf87b7a05495de3177099c635ba852
2a61590a479d3b1f77059f75caee7cc22760019d
Add afmoe model (#42168) * Add AFMoE model support * Address review feedback for AFMoE implementation * Add flex attention support to AFMoE model * Fix expert_bias routing in AFMoE * Remove test-results directory * Address PR review feedback for AFMoE model * fix(afmoe): ensure RMSNorm output dtype matches input...
[ { "path": ".gitignore", "patch": "@@ -175,3 +175,4 @@ tags\n \n # Cursor IDE files\n .cursor/\n+test-results/", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "docs/source/en/_toctree.yml", "patch": "@@ -384,6 +384,8 @@\n title: Main Classes\n - sections:\n ...
2025-11-29T11:20:04
nodejs/node
2c76874e4c7831d306335d75eca80c69e73c5603
cb68c04ce1bc4534b2d92bc7319c6ff6dda0180d
src: fix unused private field warning PR-URL: https://github.com/nodejs/node/pull/28036 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ruben Bridgew...
[ { "path": "src/inspector/runtime_agent.cc", "patch": "@@ -7,8 +7,8 @@ namespace node {\n namespace inspector {\n namespace protocol {\n \n-RuntimeAgent::RuntimeAgent(Environment* env)\n- : notify_when_waiting_for_disconnect_(false), env_(env) {}\n+RuntimeAgent::RuntimeAgent()\n+ : notify_when_waiting_for_...
2019-06-03T02:02:44
golang/go
7520c080b45e9493b289d622aed8d8a0da528089
9dfd458e64a2d3fa92fb7b5da393163151f99cf2
go/types, types2: in SetUnderlying, set Named.fromRHS if not set yet This is necessary for cycle detection over imported types whose underlying types are set by importers with SetUnderlying. Preparation for fixing issue #48962. Change-Id: I3218cda7feb06440fdb8345c94bcaa5f7d64e94e Reviewed-on: https://go-review.googl...
[ { "path": "src/cmd/compile/internal/types2/named.go", "patch": "@@ -113,6 +113,9 @@ func (t *Named) SetUnderlying(underlying Type) {\n \t\tpanic(\"underlying type must not be *Named\")\n \t}\n \tt.resolve(nil).underlying = underlying\n+\tif t.fromRHS == nil {\n+\t\tt.fromRHS = underlying // for cycle detect...
2022-01-20T02:10:40
vercel/next.js
8eb14280e8ea94e479aebf19928c9ef413b91124
ded54923a02321012ff5c46ccfa224f5618955a2
Polish error page styling (#50916) Polish default client error page styling: * shrink the `line-height` to `2em` for better mobile display * remove `text-align: left` to let the text center properly #### After vs Before (both **app router** and **pages** default client error page) <p> <img width="300" alt="image" sr...
[ { "path": "packages/next/src/client/components/error-boundary.tsx", "patch": "@@ -15,14 +15,11 @@ const styles = {\n alignItems: 'center',\n justifyContent: 'center',\n },\n- desc: {\n- textAlign: 'left',\n- },\n text: {\n fontSize: '14px',\n fontWeight: 400,\n- lineHeight: '3em'...
2023-06-07T17:54:48
nodejs/node
7e18c650de419ae98511be3c7bc54b34efc6d3d4
e8f31191902a8304f77f7ed4377f10de91aca103
inspector: supported NodeRuntime domain in worker NodeRuntime domain was introduced to give inspector client way to fetch captured information before Node process is gone. We need similar capability for work. With current protocol inspector client can force worker to wait on start by passing waitForDebuggerOnStart fl...
[ { "path": "src/inspector/node_protocol.pdl", "patch": "@@ -71,6 +71,11 @@ experimental domain NodeWorker\n # Detaches from all running workers and disables attaching to new workers as they are started.\n command disable\n \n+ # Detached from the worker with given sessionId.\n+ command detach\n+ par...
2019-05-15T01:13:48
huggingface/transformers
2a61590a479d3b1f77059f75caee7cc22760019d
a4a7008ee046b0ff6e38cd389080e1a3982b994f
Fix broken models due to modeling/weight mapping (#42468) * lfm2 * fix * config * fixes * fix prefixes * finally * copies * oupsi * rework key renaming * fixes * fix * fix * fix * fix * fix * fix lfm2 * fix * fix more bad mappings
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -70,11 +70,56 @@ def _build_checkpoint_conversion_mapping():\n operations=[MergeModulelist(dim=0), Concatenate(dim=1)],\n ),\n WeightConverter(\n- source_patterns=[\"mlp.experts.*.down_pro...
2025-11-28T20:38:14
rust-lang/rust
a317123ad0885372ce5b4dd0f8c105ad8a18338f
85357d1e5cf56d8aca54e7d4f6cc365b006f484a
fix miri build in bootstrap
[ { "path": "src/tools/miri/src/lib.rs", "patch": "@@ -10,6 +10,7 @@\n #![feature(variant_count)]\n #![feature(yeet_expr)]\n #![feature(nonzero_ops)]\n+#![cfg_attr(bootstrap, feature(nonnull_provenance))]\n #![feature(strict_overflow_ops)]\n #![feature(pointer_is_aligned_to)]\n #![feature(ptr_metadata)]", ...
2025-06-28T11:47:52
golang/go
9dfd458e64a2d3fa92fb7b5da393163151f99cf2
cdd9e939ef28390ecb04c780499f1e3cc2195234
go/types, types2: remove special case for external types in validType Because validType doesn't modify global state anymore, there's no need to ignore imported types. When we start tracking type parameters, we need to include imported types because they may contribute to cycles that invalidate a type. This CL effecti...
[ { "path": "src/cmd/compile/internal/types2/validtype.go", "patch": "@@ -60,12 +60,6 @@ func (check *Checker) validType0(typ Type, path []Object) typeInfo {\n \t\t// will terminate.\n \t\tt = t.orig\n \n-\t\t// don't touch the type if it is from a different package or the Universe scope\n-\t\t// (doing so wo...
2022-01-15T01:34:59
vercel/next.js
675dec04ca9f6c391439d10a6e33420509849248
e19007df427c04b7c0978821a58d446cb438d8cc
fix: App Router with assetPrefix: / (#49622) This is a follow-up PR for #49403. #49403 validates `assetPrefix` is not a relative path. But App Router throws an error with the `assetPrefix: "/"` option. So I've fixed this. <img width="964" alt="Screenshot 2023-05-10 at 23 41 56" src="https://github.com/vercel/next.js...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1810,7 +1810,13 @@ export default async function getBaseWebpackConfig(\n output: {\n // we must set publicPath to an empty value to override the default of\n // auto which doesn't work in IE11\n- publicPath: `${config....
2023-06-07T14:46:02
huggingface/transformers
a4a7008ee046b0ff6e38cd389080e1a3982b994f
6587d77ffcf647b848a71c32ce9cad3496e341b2
[`Docs`] Fix build on other langs (#42485) * fix * albert missed ouch
[ { "path": "docs/source/ja/model_doc/albert.md", "patch": "@@ -60,9 +60,7 @@ ALBERTモデルは、「[ALBERT: A Lite BERT for Self-supervised Learning of Lan\n ## AlbertTokenizer\n \n [[autodoc]] AlbertTokenizer\n- - build_inputs_with_special_tokens\n - get_special_tokens_mask\n- - create_token_type_ids_from_s...
2025-11-28T18:52:13
nodejs/node
04053c4124b095bddd28e7b968761b51896a7d83
df339bccf24839da473937bd523602cf68b114af
test: add coverage for unserializable worker thread error Check that the main thread handles unserializable errors in a worker thread as expected. PR-URL: https://github.com/nodejs/node/pull/27995 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-worker-message-not-serializable.js", "patch": "@@ -0,0 +1,25 @@\n+'use strict';\n+\n+// Flags: --expose-internals\n+\n+// Check that main thread handles unserializable errors in a worker thread as\n+// expected.\n+\n+const common = require('../common');\n+common.skipIfWorker();...
2019-05-31T14:50:00
golang/go
cdd9e939ef28390ecb04c780499f1e3cc2195234
4284d4555382ec9da4b301afe328faf850158ffb
go/types, types2: validType argument must be *Named type Now that we have a separate top-level entry point for validType we can use the more narrow type *Named (instead of Type) for its argument. Preparation for fixing issue #48962. Change-Id: I93aee4abc87036c6a68323dc970efe8e617a9103 Reviewed-on: https://go-review....
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -477,7 +477,9 @@ func (check *Checker) typeDecl(obj *TypeName, tdecl *syntax.TypeDecl, def *Named\n \n \tvar rhs Type\n \tcheck.later(func() {\n-\t\tcheck.validType(obj.typ)\n+\t\tif t, _ := obj.typ.(*Named); t != nil { // type may be invalid...
2022-01-19T06:30:03
huggingface/transformers
6587d77ffcf647b848a71c32ce9cad3496e341b2
4abfd165e6175012a6509284b3ad482235eab1d7
add rotary kernel support to Qwen3 model (#41147) * add rotary kernel support to Qwen3 model Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * delete unnecessary import Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * adjust code Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * adjust code Signed-...
[ { "path": "src/transformers/integrations/__init__.py", "patch": "@@ -72,6 +72,7 @@\n \"register_kernel_mapping\",\n \"replace_kernel_forward_from_hub\",\n \"use_kernel_forward_from_hub\",\n+ \"use_kernel_func_from_hub\",\n ],\n \"integration_utils\": [\n \"INTE...
2025-11-28T17:24:34
vercel/next.js
a24c607a4d1ee24a88b3eda76690bed434c8a924
e4b230677c24744ff2a2253a475d271c38d1443f
Add layer to module trace (#50851) ## What? Adds `layer` to the traces for `build-module-x`, will allow us to figure out in what layer the module was compiled, as you can now get multiple for the same module. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled ...
[ { "path": "packages/next/src/build/webpack/plugins/profiling-plugin.ts", "patch": "@@ -180,6 +180,7 @@ export class ProfilingPlugin {\n span = parentSpan.traceChild(spanName)\n }\n span.setAttribute('name', module.userRequest)\n+ span.setAttribute('layer', module.lay...
2023-06-07T08:51:42
electron/electron
939d69df6e0a97ad67838f4f01888fb0f86e15de
f8b9a66ead386034e6cc60e83d4a024f2a749c1e
Throw error with message of "Not implemented".
[ { "path": "atom/common/api/atom_api_native_image.cc", "patch": "@@ -184,8 +184,7 @@ mate::ObjectTemplateBuilder NativeImage::GetObjectTemplateBuilder(\n template_.Reset(isolate, mate::ObjectTemplateBuilder(isolate)\n .SetMethod(\"toPng\", &NativeImage::ToPNG)\n .SetMethod(\"toJpeg\", &Na...
2016-03-17T13:01:31
nodejs/node
df339bccf24839da473937bd523602cf68b114af
e0c4a9c8eda01e0d4abe71a16f322140cabc4e48
stream: convert string to Buffer when calling `unshift(<string>)` `readable.unshift` can take a string as an argument, but that string wasn't being converted to a Buffer, which caused a <TypeError: Argument must be a buffer> in some cases. Also if a string was passed, that string was coerced to utf8 encoding. A secon...
[ { "path": "doc/api/errors.md", "patch": "@@ -2349,7 +2349,7 @@ such as `process.stdout.on('data')`.\n [`sign.sign()`]: crypto.html#crypto_sign_sign_privatekey_outputencoding\n [`stream.pipe()`]: stream.html#stream_readable_pipe_destination_options\n [`stream.push()`]: stream.html#stream_readable_push_chunk_...
2019-04-11T22:16:34
huggingface/transformers
4abfd165e6175012a6509284b3ad482235eab1d7
c79ac0717f4484c1e4af156c36315282a5bc5db0
Fix minor bugs in ConversionOps and WeightConverter (#42479) * style * fix * fix * Revert "fix" This reverts commit b7fc6aa2688f4a8ca14047411c78f25822da7499. * remove reverse for now as not needed --------- Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -105,7 +105,10 @@ class ConversionOps:\n \"\"\"Base class for weight conversion operations.\"\"\"\n \n def __repr__(self):\n- return f\"{self.__class__.__name__}(dim={self.dim})\"\n+ if hasattr(self, \"dim\"):\n+ ...
2025-11-28T16:46:57
golang/go
4284d4555382ec9da4b301afe328faf850158ffb
0328b4f4cae6d2340ded9a7d2ce850b98d3bbcbe
go/types, types2: use a map instead of a field for marking in validType With this change validType doesn't modify global state anymore. It also eliminates the need for an extra field in each object. Preparation for fixing issue #48962. Change-Id: If241ec77ff48911d5b43d89adabfb8ef54452c6b Reviewed-on: https://go-revi...
[ { "path": "src/cmd/compile/internal/types2/check.go", "patch": "@@ -111,6 +111,7 @@ type Checker struct {\n \tnextID uint64 // unique Id for type parameters (first valid Id is 1)\n \tobjMap map[Object]*declInfo // maps package-level objects and (non-interface) methods to declaration info...
2022-01-12T23:54:15
vercel/next.js
e4b230677c24744ff2a2253a475d271c38d1443f
452d390ec0e3e4a7d9d5c81e7556c2b30c9a5f7e
Add ignores to fix jest-haste failures (#50875) This pops up occasionally depending on order tests are run and `.next` being present and `jest` trying to process modules inside this folder. x-ref: https://github.com/vercel/next.js/actions/runs/5193671295/jobs/9364540542?pr=50869
[ { "path": "jest.config.js", "patch": "@@ -14,6 +14,7 @@ const customJestConfig = {\n '<rootDir>/../packages/next/src/',\n '<rootDir>/../packages/font/src/',\n ],\n+ modulePathIgnorePatterns: ['/\\\\.next/'],\n modulePaths: ['<rootDir>/lib'],\n transformIgnorePatterns: ['/next[/\\\\\\\\]dist/'...
2023-06-06T22:37:05
huggingface/transformers
c79ac0717f4484c1e4af156c36315282a5bc5db0
f8e29b5a1b9d5f69c187b68351cc12988b3786cb
Fix gpt2 tokenizer `add_prefix_space` default value (#42481) fix tok
[ { "path": "src/transformers/models/gpt2/tokenization_gpt2.py", "patch": "@@ -101,7 +101,7 @@ def __init__(\n bos_token=\"<|endoftext|>\",\n eos_token=\"<|endoftext|>\",\n pad_token=None,\n- add_prefix_space=True,\n+ add_prefix_space=False,\n add_bos_token=False,...
2025-11-28T15:37:18
nodejs/node
e0c4a9c8eda01e0d4abe71a16f322140cabc4e48
aa00968255cdb6471b9e7fec99337697a2ce882c
test: simplify fs promises test Simplify test, fix comment. PR-URL: https://github.com/nodejs/node/pull/27242 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Review...
[ { "path": "test/parallel/test-fs-promises.js", "patch": "@@ -40,8 +40,11 @@ function nextdir() {\n return `test${++dirc}`;\n }\n \n-// fs.promises should not enumerable.\n-assert.strictEqual(Object.keys(fs).includes('promises'), true);\n+// fs.promises should be enumerable.\n+assert.strictEqual(\n+ Objec...
2019-04-15T16:42:32
electron/electron
e94da877c2b3a205d196ee5dc5781e5b9524cc26
148014f99a8a764b795233299cf0e6f4478c15ac
Fix compile oopses on non-OS X
[ { "path": "atom/common/api/atom_api_native_image.cc", "patch": "@@ -226,10 +226,11 @@ std::string NativeImage::ToDataURL() {\n v8::Local<v8::Value> NativeImage::GetNativeHandle(\n v8::Isolate* isolate,\n mate::Arguments* args) {\n+void* ptr = NULL;\n #if defined(OS_MACOSX)\n- void* ptr = reinterpre...
2016-03-16T19:49:34
huggingface/transformers
f8e29b5a1b9d5f69c187b68351cc12988b3786cb
7b5f1db802e14d1f0a45d9854c4772bae46aa594
[quantization] make torchao tests slow (#42482) * fix * fix
[ { "path": "tests/quantization/torchao_integration/test_torchao.py", "patch": "@@ -29,6 +29,7 @@\n require_torch_multi_accelerator,\n require_torchao,\n require_torchao_version_greater_or_equal,\n+ slow,\n torch_device,\n )\n from transformers.utils import is_torch_available, is_torchao_av...
2025-11-28T15:27:44
vercel/next.js
1a2fac2b5abf37613fc882b05a07ab3b2537499e
115f927b9bd16fe01ab8ee410ead77e8eebd324d
[turbopack]: Use tip-of-branch for benchmarks (#50615) With vercel/turbo#5156, we'll be able to install our the locally built `next` package. Before, we'd test the tip-of-branch `next-dev` binary against the last cut `next` canary, which causes headaches when we make breaking changes. With this PR, we'll now test tip...
[ { "path": "Cargo.lock", "patch": "@@ -136,6 +136,12 @@ dependencies = [\n \"backtrace\",\n ]\n \n+[[package]]\n+name = \"arrayref\"\n+version = \"0.3.7\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545\"\n+...
2023-06-06T20:36:11
golang/go
0328b4f4cae6d2340ded9a7d2ce850b98d3bbcbe
b850f3629fa9c2dfb6a94a3d0e472a0cc87b949c
go/types, types2: move validType code into its own file The validType check is independent of the work of declaring objects. Move it into a separate file for better separation of concerns and code organization. No other changes - this is purely a code move. Preparation for fixing issue #48962. Change-Id: Ib08db2d00...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -304,96 +304,6 @@ loop:\n \treturn false\n }\n \n-type typeInfo uint\n-\n-// validType verifies that the given type does not \"expand\" infinitely\n-// producing a cycle in the type graph. Cycles are detected by marking\n-// defined types.\n-...
2022-01-15T01:01:43
nodejs/node
cb92d243e8b3603cf4abd231abe83179950927fc
db013e1cd3947ed0ae9dddaec127f1707e91a2ee
tools: fix js2c regression PR-URL: https://github.com/nodejs/node/pull/27980 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "node.gyp", "patch": "@@ -1094,6 +1094,7 @@\n 'test/cctest/test_node_postmortem_metadata.cc',\n 'test/cctest/test_environment.cc',\n 'test/cctest/test_linked_binding.cc',\n+ 'test/cctest/test_per_process.cc',\n 'test/cctest/test_platform.cc',\n 'test/...
2019-05-30T15:54:09
huggingface/transformers
230c3234cb8720fc9bf467e55992c02aaa1db109
078ff685d37a8efb4966bd3da322eef92bf875c0
Fix doc builds (#42478) fix doc builds
[ { "path": "src/transformers/models/llama/tokenization_llama.py", "patch": "@@ -77,15 +77,6 @@ class LlamaTokenizer(TokenizersBackend):\n Whether or not to add an `eos_token` at the end of sequences.\n use_default_system_prompt (`bool`, *optional*, defaults to `False`):\n Whet...
2025-11-28T14:44:23
vercel/next.js
ad4d1bdc9091c40f466c1728f3d01e4126e9df26
2fc550f46fce32027c6fd29d2f7d61ba351dd0e9
Fix `PrefixedRouterContentSourceVc`'s `debug_assertion` (vercel/turbo#5227) ### Description `ContentSource` paths do not begin with a `/`, and the prefix should match that. 🤦 ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
[ { "path": "crates/turbopack-dev-server/src/source/router.rs", "patch": "@@ -36,7 +36,7 @@ impl PrefixedRouterContentSourceVc {\n if cfg!(debug_assertions) {\n let prefix_string = prefix.await?;\n debug_assert!(prefix_string.is_empty() || prefix_string.ends_with('/'));\n- ...
2023-06-06T20:14:21
electron/electron
148014f99a8a764b795233299cf0e6f4478c15ac
fa197ad5832b43044f6731c83e278d4bea3b83cd
Fix spec failure
[ { "path": "spec/api-native-image-spec.js", "patch": "@@ -45,7 +45,7 @@ describe('nativeImage module', () => {\n assert.equal(nsimage.length, 8);\n \n // If all bytes are null, that's Bad\n- assert.equal(!!nsimage.reduce((acc,x) => acc || (x != 0)), true);\n+ assert.equal(nsimage.reduce...
2016-03-16T19:42:23
golang/go
b850f3629fa9c2dfb6a94a3d0e472a0cc87b949c
48ec6df16c285cda50bd38970b82402e8c46919b
cmd/compile: always print stack trace for -dpanic Change-Id: I40cfc87731d3a29670a3e183948898ea0cb2402d Reviewed-on: https://go-review.googlesource.com/c/go/+/380534 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robo...
[ { "path": "src/cmd/compile/internal/base/print.go", "patch": "@@ -217,10 +217,10 @@ func FatalfAt(pos src.XPos, format string, args ...interface{}) {\n \t\tfmt.Printf(\"\\n\")\n \n \t\t// If this is a released compiler version, ask for a bug report.\n-\t\tif strings.HasPrefix(buildcfg.Version, \"go\") {\n+\...
2022-01-24T18:30:36
nodejs/node
c6f545a74a0d6888d2e628019a98a882a9325855
41a35e0ebfb3a895e93757c85611184371cca8f4
http: fix deferToConnect comments PR-URL: https://github.com/nodejs/node/pull/27876 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "lib/_http_client.js", "patch": "@@ -711,10 +711,10 @@ function onSocketNT(req, socket) {\n ClientRequest.prototype._deferToConnect = _deferToConnect;\n function _deferToConnect(method, arguments_, cb) {\n // This function is for calls that need to happen once the socket is\n- // connected and ...
2019-05-26T10:39:07
huggingface/transformers
078ff685d37a8efb4966bd3da322eef92bf875c0
554fb40e8275fede4df538c6825f777d9b18dcd5
🚨 Move `rotary_partial_emb` to RopeParams and delete unnecessary code 🔪 (#42255) * tmp * batch push * maybe better pop and break, and we'll have one theta per config in the rope dict * update a few models? * fix tests that are easu first * dont overwrite if already present!!! * partial rotary factor * more f...
[ { "path": "MIGRATION_GUIDE_V5.md", "patch": "@@ -328,7 +328,7 @@ model_4bit = AutoModelForCausalLM.from_pretrained(\n \n - Methods to init a nested config such as `from_xxx_config` are deleted. Configs can be init from the `__init__` method in the same way. See [#41314](https://github.com/huggingface/transf...
2025-11-28T12:45:40
vercel/next.js
293c11e18635539291423329fa42d9a1f8606d31
57e28dc544b1d55f7b1d8de8f367a7a8d1ce4c02
Make PrefixedRouterContentSourceVc::new public (vercel/turbo#5226) ### Description It needs to be public for next-dev to instantiate it. 🤦 ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
[ { "path": "crates/turbopack-dev-server/src/source/router.rs", "patch": "@@ -28,7 +28,7 @@ pub struct PrefixedRouterContentSource {\n #[turbo_tasks::value_impl]\n impl PrefixedRouterContentSourceVc {\n #[turbo_tasks::function]\n- async fn new(\n+ pub async fn new(\n prefix: StringVc,\n ...
2023-06-06T20:00:18
electron/electron
fa197ad5832b43044f6731c83e278d4bea3b83cd
665d3166ed02a3d169f69d3a52cd5fad2996803e
Fix failing test
[ { "path": "spec/api-native-image-spec.js", "patch": "@@ -45,7 +45,7 @@ describe('nativeImage module', () => {\n assert.equal(nsimage.length, 8);\n \n // If all bytes are null, that's Bad\n- assert.equal(nsimage.reduce((acc,x) => acc || (x != 0)), true);\n+ assert.equal(!!nsimage.reduce...
2016-03-16T19:40:28
golang/go
48ec6df16c285cda50bd38970b82402e8c46919b
97e740e8b0ff1b32b164b0cbef06c12c4d591f3f
go/types: panic if named type instances are mutated Change-Id: Idc4d561c7037f33aa9c844b411c38c6cb5bbfbcd Reviewed-on: https://go-review.googlesource.com/c/go/+/380374 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Resul...
[ { "path": "src/cmd/compile/internal/types2/named.go", "patch": "@@ -88,7 +88,11 @@ func (t *Named) Origin() *Named { return t.orig }\n func (t *Named) TypeParams() *TypeParamList { return t.resolve(nil).tparams }\n \n // SetTypeParams sets the type parameters of the named type t.\n-func (t *Named) SetTypePa...
2022-01-22T17:24:41
rust-lang/rust
f77fead0029921a23421020542e957fb1654c456
7ba34c704529e7fcab80130c3fe40efe415d61b5
Fix the span of trait bound modifier `[const]`
[ { "path": "compiler/rustc_parse/src/parser/ty.rs", "patch": "@@ -1071,7 +1071,7 @@ impl<'a> Parser<'a> {\n && self.look_ahead(1, |t| t.is_keyword(kw::Const))\n && self.look_ahead(2, |t| *t == token::CloseBracket)\n {\n- let start = self.prev_token.span;\n+ ...
2025-06-28T23:31:53