repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
vercel/next.js | 440560fbbb26d06233b41738c1e99e246291e7e7 | 70282b72694a38fba4a9bfa8d5c2ef336bd5ced8 | Ensure config warnings only show once (#45142)
Since we now call `loadConfig()` in various processes our `execOnce`
handling isn't tracking when we have already shown warnings/logs in
another process so this adds a `silent` flag that we can leverage when
calling `loadConfig()`.
## Bug
- [x] Related issues lin... | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -35,7 +35,13 @@ const handleSessionStop = async () => {\n const { eventCliSession } =\n require('../telemetry/events/session-stopped') as typeof import('../telemetry/events/session-stopped')\n \n- const config = await loadConfig(PHASE_... | 2023-01-22T06:47:24 |
rust-lang/rust | 772ea35935c8201abaa8c21387c9eda323d9184f | cf6bebb3437306b90e97339a197ef495ec620617 | Fix diagnostic paths printed by dogfood test | [
{
"path": "tests/dogfood.rs",
"patch": "@@ -44,8 +44,8 @@ fn dogfood() {\n \"rustc_tools_util\",\n ] {\n println!(\"linting {package}\");\n- if !run_clippy_for_package(package, &[\"-D\", \"clippy::all\", \"-D\", \"clippy::pedantic\"]) {\n- failed_packages.push(if packag... | 2025-05-07T14:32:23 |
nodejs/node | c9d430469c9b1ff0295083ce9509382f46893658 | 311e72fc23ebe080080ab24b1be02f960b6a5760 | http2: check if stream is not destroyed before sending trailers
Fixes: https://github.com/nodejs/node/issues/22855
PR-URL: https://github.com/nodejs/node/pull/22896
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -1464,6 +1464,14 @@ function afterShutdown() {\n }\n \n function finishSendTrailers(stream, headersList) {\n+ // The stream might be destroyed and in that case\n+ // there is nothing to do.\n+ // This can happen because finishSendTrailers is\n+ // sch... | 2018-09-17T10:22:47 |
electron/electron | 643d1dcdd106f2b223095f1c3cd65e7b5955d7f4 | b717add81b7a81340d678de5081d99eb55138f14 | win: Fix building | [
{
"path": "atom/browser/ui/win/notify_icon.cc",
"patch": "@@ -60,14 +60,13 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos,\n if (!SetForegroundWindow(window_))\n return;\n \n- views::MenuRunner menu_runner(menu_model_);\n+ views::MenuRunner menu_runner(menu_model_, views::MenuRunn... | 2014-10-13T14:47:13 |
golang/go | b73cc4b02b3801603b3ce0bcc57cf01d6aa9a4dd | 86743e7d8652c316b5f77a84ffc83244ee10a41b | database/sql: do not rely on timeout for deadlock test
Fixes #46783
Change-Id: I8a8d1716279a041a7411c0c47a440a7997b39c80
Reviewed-on: https://go-review.googlesource.com/c/go/+/328649
Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@googl... | [
{
"path": "src/database/sql/sql_test.go",
"patch": "@@ -2838,9 +2838,10 @@ func TestTxStmtDeadlock(t *testing.T) {\n \tdb := newTestDB(t, \"people\")\n \tdefer closeDB(t, db)\n \n-\tctx, cancel := context.WithTimeout(context.Background(), 5*time.Millisecond)\n+\tctx, cancel := context.WithCancel(context.Bac... | 2021-06-16T16:46:00 |
huggingface/transformers | 008e0d87c5c98929bfa3d890bb86eeabdc523ba4 | c769483188dd796eb313eabad5ec3517eb52e18a | Fix convert to original state dict for VLMs (#38385)
* fix convert to original state dict
* fix
* lint
* Update modeling_utils.py | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3653,7 +3653,7 @@ def save_pretrained(\n for key, value in state_dict.items():\n for pattern, replacement in reverse_key_mapping.items():\n replacement = replacement.lstrip(\"^\") # strip off un-ne... | 2025-05-27T10:27:59 |
rust-lang/rust | 2f8f4643900301caa2984fd97f6c20347ea9936e | 9196eb3dd1506048dcbbfd8504e26ac2b130940b | Fix mini_core on Windows and macOS | [
{
"path": "example/mini_core.rs",
"patch": "@@ -537,6 +537,7 @@ fn panic_in_cleanup() -> ! {\n loop {}\n }\n \n+#[cfg(all(unix, not(target_vendor = \"apple\")))]\n #[link(name = \"gcc_s\")]\n extern \"C\" {\n fn _Unwind_Resume(exc: *mut ()) -> !;",
"additions": 1,
"deletions": 0,
"langua... | 2025-05-07T14:08:11 |
electron/electron | b717add81b7a81340d678de5081d99eb55138f14 | c36c4e36c5f2ef5f270923172be04d528ad37090 | Print error when mkdir failed | [
{
"path": "spec/modules-spec.coffee",
"patch": "@@ -22,7 +22,7 @@ describe 'third-party module', ->\n it 'emits file events correctly', (done) ->\n pathwatcher = require 'pathwatcher'\n temp.mkdir 'dir', (err, dir) ->\n- assert err == null\n+ assert err == null, String(err)\n ... | 2014-10-13T11:08:23 |
nodejs/node | a82fc30383b51940cc84823cad6284ef61a7927a | 28902f33aa916e12b094431a56e825ba649edbc4 | tty: handle setRawMode errors
PR-URL: https://github.com/nodejs/node/pull/22886
Refs: https://github.com/nodejs/node/issues/21773
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "lib/tty.js",
"patch": "@@ -68,7 +68,11 @@ inherits(ReadStream, net.Socket);\n \n ReadStream.prototype.setRawMode = function(flag) {\n flag = !!flag;\n- this._handle.setRawMode(flag);\n+ const err = this._handle.setRawMode(flag);\n+ if (err) {\n+ this.emit('error', errors.errnoException(er... | 2018-09-16T19:47:17 |
vercel/next.js | b224c5f3ee0da30911f471a39ba963b59f297fd1 | f970827db9f57adb59f076b7396cfd5fc6adb19d | Revert "Revert "Revert "Initial support for metadata (#44729)"" (#45113)" (#45130)
This reverts commit 259cbc1806a56d3ffee03ebbd22e33f737f67dd0.
It does not have necessary changes to make Turbopack work.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a hel... | [
{
"path": "packages/next/src/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -7,7 +7,6 @@ import { sep } from 'path'\n import { verifyRootLayout } from '../../../lib/verifyRootLayout'\n import * as Log from '../../../build/output/log'\n import { APP_DIR_ALIAS } from '../../../lib/constants'\n-import... | 2023-01-21T19:22:56 |
golang/go | 86743e7d8652c316b5f77a84ffc83244ee10a41b | 9401172166ee6ac64a5a74b4a8f2aa6d3f936ea1 | image: add RGBA64Image interface
The new RGBA64At method is equivalent to the existing At method (and the
new SetRGBA64 method is equivalent to the existing Set method in the
image/draw package), but they can avoid allocations from converting
concrete color types to the color.Color interface type.
Also update api/go1... | [
{
"path": "api/go1.17.txt",
"patch": "@@ -28,6 +28,38 @@ pkg encoding/csv, method (*Reader) FieldPos(int) (int, int)\n pkg go/build, type Context struct, ToolTags []string\n pkg go/parser, const SkipObjectResolution = 64\n pkg go/parser, const SkipObjectResolution Mode\n+pkg image, method (*Alpha) RGBA64At(... | 2021-04-18T03:38:34 |
huggingface/transformers | 55f2333366f983e7919ea38cb5a51b181bb12934 | 1a5be2f5c0a2735277f7dcfb049a3db75ed3d2be | guard size mismatch check to only quantized models (#38397)
fix | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1577,7 +1577,8 @@ def _find_mismatched_keys(\n # This skips size mismatches for 4-bit weights. Two 4-bit values share an 8-bit container, causing size differences.\n # Without matching with module type or parameter... | 2025-05-27T09:45:03 |
rust-lang/rust | 9196eb3dd1506048dcbbfd8504e26ac2b130940b | fe059c1c548752c9022471e68b6d583a8347d085 | Fix mini_core for panic=unwind | [
{
"path": "example/mini_core.rs",
"patch": "@@ -521,10 +521,27 @@ fn panic_cannot_unwind() -> ! {\n }\n \n #[lang = \"eh_personality\"]\n-fn eh_personality() -> ! {\n+// FIXME personality signature depends on target\n+fn eh_personality(\n+ _version: i32,\n+ _actions: i32,\n+ _exception_class: u64,\... | 2025-05-07T13:05:47 |
golang/go | 57aaa19aae32a6c75a07ea8e3006fdcda7583385 | 6f22d2c682d5fb7e8c4e9d2ab3e6a762756c1e30 | runtime: disable CPU profiling before removing the SIGPROF handler
Otherwise, in c-archive or c-shared mode, there is the chance of
getting a SIGPROF just after the signal handler is removed but before
profiling is disabled, in which case the program will die.
Fixes #46498
Change-Id: I5492beef45fec9fb9a7f58724356d6a... | [
{
"path": "src/runtime/signal_unix.go",
"patch": "@@ -280,6 +280,8 @@ func setProcessCPUProfiler(hz int32) {\n \t\tit.it_value = it.it_interval\n \t\tsetitimer(_ITIMER_PROF, &it, nil)\n \t} else {\n+\t\tsetitimer(_ITIMER_PROF, &itimerval{}, nil)\n+\n \t\t// If the Go signal handler should be disabled by def... | 2021-06-18T00:34:18 |
nodejs/node | 6e746f1a55e5d94f1a8330d3436a64ed8d6f639b | a1381fab8a1a35b3af9cf1cfb2f40b3a6f28eb5c | doc, win: improve os.setPriority documentation
PR-URL: https://github.com/nodejs/node/pull/22817
Fixes: https://github.com/nodejs/node/issues/22799
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/os.md",
"patch": "@@ -371,6 +371,9 @@ priority classes, `priority` is mapped to one of six priority constants in\n mapping may cause the return value to be slightly different on Windows. To avoid\n confusion, it is recommended to set `priority` to one of the priority constants.\n \n+On Wi... | 2018-09-12T09:07:00 |
vercel/next.js | 53be72be376f002ca706270709409f6eb63b3d88 | 2293438ee0a51b454b8131f901038d3292b7d5f5 | build(cargo): update turbopack (#45126)
### Features
- https://github.com/vercel/turbo/pull/3409
### Bug Fixes
- https://github.com/vercel/turbo/pull/3399
- https://github.com/vercel/turbo/pull/3412
### Chore
- https://github.com/vercel/turbo/pull/3398
- https://github.com/vercel/turbo/pull/3391
- https://github.com... | [
{
"path": "packages/next-swc/Cargo.lock",
"patch": "@@ -123,7 +123,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-20230120.2#a96e7e9eed2a4a8a2101c608dbd5328c975f133c\"\n+source = \"git+https://github.com... | 2023-01-21T12:11:12 |
electron/electron | c36c4e36c5f2ef5f270923172be04d528ad37090 | 68e28159bb440e1fae079e47c4715d978ad65817 | Upgrade libchromiumcontent to fix linking error | [
{
"path": "script/lib/config.py",
"patch": "@@ -4,7 +4,7 @@\n import sys\n \n BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '44c71d88d9c098ece5dbf3e1fcc93ab87d8193cd'\n+LIBCHROMIUMCONTENT_COMMIT = '7e0bebc8666de8438c5baf4967fdabfc7646b3ed'\n \n A... | 2014-10-13T10:11:19 |
huggingface/transformers | 19fdb75cf09b4299b4c0bb45390336eb8ec18e1f | b0735dc0c13a07f317c40b05581e36d21b306368 | [video utils] group and reorder by number of frames (#38374)
fix | [
{
"path": "src/transformers/video_utils.py",
"patch": "@@ -696,11 +696,13 @@ def group_videos_by_shape(\n grouped_videos_index = {}\n for i, video in enumerate(videos):\n shape = video.shape[-2::]\n+ num_frames = video.shape[-4] # video format BTCHW\n+ shape = (num_frames, *sh... | 2025-05-27T09:32:33 |
golang/go | 6f22d2c682d5fb7e8c4e9d2ab3e6a762756c1e30 | 45f251ad6cfe0a8fa1aeac0c2c8e42bfe3549c29 | doc/go1.17: fix typo
Change-Id: Ie8629e0f710d3eb95b4bbcc9c680ffc5004c2f15
GitHub-Last-Rev: 52f48f429cdd65692b88f724f757efed1fa39cd2
GitHub-Pull-Request: golang/go#46812
Reviewed-on: https://go-review.googlesource.com/c/go/+/329289
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Tobias Klauser <tobias.klauser@gm... | [
{
"path": "doc/go1.17.html",
"patch": "@@ -162,7 +162,7 @@ <h4 id=\"lazy-loading\">Lazy module loading</h4>\n By default, <code>go</code> <code>mod</code> <code>tidy</code> verifies that\n the selected versions of dependencies relevant to the main module are the same\n versions that would be used by t... | 2021-06-18T00:19:10 |
nodejs/node | a1381fab8a1a35b3af9cf1cfb2f40b3a6f28eb5c | e6d0ced7bbe9f48aa1e4e30be8f88b1db0235a62 | doc: explain how to invoke gc
Currently the documentation for Wrapping C++ Objects doesn't explain
how to destruct an object by explicitly invoking the garbage collector.
This commit includes a modification to docs that explains how to force
the garbage collector to clear objects using V8's command line flags.
Fixes:... | [
{
"path": "doc/api/addons.md",
"patch": "@@ -848,6 +848,13 @@ console.log(obj.plusOne());\n // Prints: 13\n ```\n \n+The destructor for a wrapper object will run when the object is\n+garbage-collected. For destructor testing, there are command-line flags that\n+can be used to make it possible to force garba... | 2018-04-30T16:13:29 |
vercel/next.js | 98c9d723ffc0e967f46dc3180391f1b834a1fbe8 | f3501d940ba093da50337b34770f5846f8cb89e8 | Handle empty pageData during HMR (vercel/turbo#3412)
Our `pageData` HMR process treated an undefined response as an error condition, but if the page doesn't have a `getXyzProps` exported method, then this is the default response. This prevented us from having any pages without page props.
The new code just sends down... | [
{
"path": "packages/next-swc/crates/next-core/js/src/internal/page-server-handler.tsx",
"patch": "@@ -59,11 +59,12 @@ export default function startHandler({\n }\n }\n \n- const res = await runOperation(renderData);\n+ let res = await runOperation(renderData);\n \n if (isDataReq... | 2023-01-21T06:47:38 |
electron/electron | 69a89303d0781223dac233790a166709f60a5838 | 9e87037d34e158ce011c41bf0266c9bcee67abec | Fix building on Linux | [
{
"path": "atom/browser/api/atom_api_menu_views.cc",
"patch": "@@ -17,14 +17,13 @@ MenuViews::MenuViews() {\n \n void MenuViews::Popup(Window* window) {\n gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint();\n- views::MenuRunner menu_runner(model());\n+ views::MenuRunner menu_runn... | 2014-10-13T03:03:56 |
huggingface/transformers | b0735dc0c13a07f317c40b05581e36d21b306368 | 9e1017b479d0390f30c6376169a236264da2ec47 | [paligemma] fix processor with suffix (#38365)
fix pg processor | [
{
"path": "src/transformers/models/paligemma/processing_paligemma.py",
"patch": "@@ -315,7 +315,8 @@ def __call__(\n return_data = {**inputs, \"pixel_values\": pixel_values}\n \n if return_token_type_ids:\n- labels = inputs[\"input_ids\"].masked_fill(inputs[\"token_type_ids\"] == ... | 2025-05-27T09:31:56 |
golang/go | 54fe57bc22f7890810bbddae2499eda8d4acfaef | 78aa251ace316dc8175879f1ec50797f505cec99 | [dev.typeparams] cmd/compile: record writer's stack at export data sync points
This CL extends the unified export data format's existing sync
mechanism to save writer stacks, controlled by the -d=syncframes debug
flag. This allows readers to provide more details when reporting
desync errors, which should simplify deve... | [
{
"path": "src/cmd/compile/internal/base/debug.go",
"patch": "@@ -44,6 +44,7 @@ type DebugFlags struct {\n \tPanic int `help:\"show all compiler panics\"`\n \tSlice int `help:\"print information about slice compilation\"`\n \tSoftFloat int `help:\"force comp... | 2021-06-17T08:12:23 |
nodejs/node | e6d0ced7bbe9f48aa1e4e30be8f88b1db0235a62 | a7b59d6204656f45abb91158648f19687b7c73b0 | worker: only stop inspector if started
This may fix some flakiness with tests that use `worker.terminate()`.
In particular, the following failure seems like it could be related
(no consistent reproduction available, though):
```
15:30:14 not ok 187 parallel/test-heapdump-worker
15:30:14 ---
15:30:14 duration_ms: ... | [
{
"path": "src/node_worker.cc",
"patch": "@@ -150,6 +150,7 @@ void Worker::Run() {\n TRACE_STR_COPY(name.c_str()));\n MultiIsolatePlatform* platform = isolate_data_->platform();\n CHECK_NE(platform, nullptr);\n+ bool inspector_started = false;\n \n Debug(this, \"Starting worker with id %llu\", ... | 2018-09-18T10:29:40 |
vercel/next.js | ec280da4a19e16296145965983d0318e80cb802b | 49eb6a34415f3da1ff0871153ec02a935c780504 | Handle empty pageData during HMR (vercel/turbo#3412)
Our `pageData` HMR process treated an undefined response as an error condition, but if the page doesn't have a `getXyzProps` exported method, then this is the default response. This prevented us from having any pages without page props.
The new code just sends down... | [
{
"path": "crates/next-core/js/src/internal/page-server-handler.tsx",
"patch": "@@ -59,11 +59,12 @@ export default function startHandler({\n }\n }\n \n- const res = await runOperation(renderData);\n+ let res = await runOperation(renderData);\n \n if (isDataReq) {\n if (... | 2023-01-21T06:47:38 |
electron/electron | 6d62b0960e5d0b07adadf4a3c2b70c86f54a2bd6 | 9e12036823a2aa1c0992a0ecd829e8cbecdbe2b9 | Fix building on Linux | [
{
"path": "brightray/browser/linux/notification_presenter_linux.cc",
"patch": "@@ -52,13 +52,15 @@ NotificationPresenterLinux::~NotificationPresenterLinux() {\n \n void NotificationPresenterLinux::ShowNotification(\n const content::ShowDesktopNotificationHostMsgParams& params,\n- content::DesktopNoti... | 2014-10-13T03:02:56 |
huggingface/transformers | 9e1017b479d0390f30c6376169a236264da2ec47 | b5ececb900f562a1cf507efb4310984bb7bc3205 | [transformers x vLLM] standardize processors (#37915)
* standardize
* fix tests
* batch update some processors, not final yet
* oke, now I tested that everything indeed runs. Still needs prettification
* emu3
* fixup
* gemma3 but it doesn't generate anything
* fuyu
* update
* why?
* Update src/transformers/m... | [
{
"path": "src/transformers/models/aria/image_processing_aria.py",
"patch": "@@ -500,5 +500,26 @@ def get_image_patches(\n ]\n return patches\n \n+ def get_number_of_image_patches(self, height: int, width: int, images_kwargs=None):\n+ \"\"\"\n+ A utility that returns number ... | 2025-05-27T09:30:30 |
golang/go | 78aa251ace316dc8175879f1ec50797f505cec99 | 2a7900762c24a4b04d0d51c833e22bc319d0234e | [dev.typeparams] cmd/go: include new internal packages in TestNewReleaseRebuildsStalePackagesInGOPATH
CL 328336 introduced two new packages that the runtime and other
low-level packages depend on. Include them as targets to copy in this
test with other such packages.
Fixes the dev.typeparams longtest builders.
Chang... | [
{
"path": "src/cmd/go/go_test.go",
"patch": "@@ -806,7 +806,9 @@ func TestNewReleaseRebuildsStalePackagesInGOPATH(t *testing.T) {\n \t\t\"src/internal/abi\",\n \t\t\"src/internal/bytealg\",\n \t\t\"src/internal/cpu\",\n+\t\t\"src/internal/goarch\",\n \t\t\"src/internal/goexperiment\",\n+\t\t\"src/internal/g... | 2021-06-18T03:14:09 |
nodejs/node | f28c6f7eef58e7c3133bb2cd457d05b986194ba3 | ba0b4e43e442926bfb9389a42aa7393f91e6748a | inspector: workers debugging
Introduce a NodeTarget inspector domain modelled after ChromeDevTools
Target domain. It notifies inspector frontend attached to a main V8
isolate when workers are starting and allows passing messages to
inspectors on their isolates. All inspector functionality is enabled on
worker isolates... | [
{
"path": "node.gyp",
"patch": "@@ -509,14 +509,18 @@\n 'src/inspector_socket.cc',\n 'src/inspector_socket_server.cc',\n 'src/inspector/main_thread_interface.cc',\n+ 'src/inspector/worker_inspector.cc',\n 'src/inspector/node_string.cc',\n+ ... | 2018-09-09T02:45:10 |
electron/electron | 32dff999a5c86db239a2293098185f79af6fd507 | 13e5cf32d5dfad3313acf93dde3f6e8859b65fd9 | Fix API changes of Chrome 38 | [
{
"path": "atom/browser/api/atom_api_app.cc",
"patch": "@@ -19,6 +19,7 @@\n #include \"native_mate/callback.h\"\n #include \"native_mate/dictionary.h\"\n #include \"native_mate/object_template_builder.h\"\n+#include \"net/base/load_flags.h\"\n #include \"net/proxy/proxy_service.h\"\n #include \"net/url_requ... | 2014-10-11T11:11:34 |
vercel/next.js | 49eb6a34415f3da1ff0871153ec02a935c780504 | 68b4cc7351107ebc60aff7d41a800462824d3b98 | Add support for jsconfig.json resolution (vercel/turbo#3409)
There doesn't appear to be any issues with just returning a `jsconfig.json` when we're looking for a `tsconfig.json` (provided one didn't exist). Finding this gives a `TsConfigReferenceVc` (used for finding type definitions only) and enables the `paths`/`bas... | [
{
"path": "crates/turbopack-ecmascript/src/references/mod.rs",
"patch": "@@ -423,7 +423,6 @@ pub(crate) async fn analyze_ecmascript_module(\n this: JsValue,\n args: Vec<JsValue>,\n link_value: &'a F,\n- analyze_types: bool,\n ana... | 2023-01-21T03:22:53 |
huggingface/transformers | b5ececb900f562a1cf507efb4310984bb7bc3205 | c4e71e8fffcdbcf1144a4e96f2d1f034ffafd4d7 | Fix image token mask in Gemma3 (#38295)
fix mask | [
{
"path": "src/transformers/models/gemma3/modeling_gemma3.py",
"patch": "@@ -782,7 +782,7 @@ def forward(self, vision_outputs: torch.Tensor):\n return projected_vision_outputs.type_as(vision_outputs)\n \n \n-def token_type_ids_mask_function(token_type_ids: Optional[torch.Tensor]) -> Optional[Callabl... | 2025-05-27T09:15:52 |
rust-lang/rust | 392880c004836724dfe7600e6f2e0db5f8bad168 | 891b8525477f5c41a9e56d7b70d64b41e7c344e3 | Fix regression from #140393 for espidf / horizon / nuttx / vita | [
{
"path": "library/std/src/sys/process/unix/mod.rs",
"patch": "@@ -11,6 +11,7 @@ cfg_if::cfg_if! {\n } else if #[cfg(any(target_os = \"espidf\", target_os = \"horizon\", target_os = \"vita\", target_os = \"nuttx\"))] {\n mod unsupported;\n use unsupported as imp;\n+ pub use unsupp... | 2025-05-07T08:04:21 |
golang/go | 2a7900762c24a4b04d0d51c833e22bc319d0234e | 90096f445eaf78b954b9d37c47d137d4fcbd272c | [dev.typeparams] go/types: report better error for invalid untyped operation
This is port of CL 328053 for types2 to go/type.
The change is identical, but for some tweaks to the error positions in
tests.
Updates #46749
Change-Id: I8d34c5b1669e59e4ec7d91f81dcf655b2bfd89a5
Reviewed-on: https://go-review.googlesource.... | [
{
"path": "src/go/types/errorcodes.go",
"patch": "@@ -875,7 +875,7 @@ const (\n \t// context in which it is used.\n \t//\n \t// Example:\n-\t// var _ = 1 + \"\"\n+\t// var _ = 1 + nil\n \t_InvalidUntypedConversion\n \n \t// _BadOffsetofSyntax occurs when unsafe.Offsetof is called with an argument",
"a... | 2021-06-17T03:14:07 |
nodejs/node | 8989c76c6eff653a3abb19f4cfb3097da58b5dce | dcc0c2c5c9d5bd97cc3df7fe7fd7f34c96e53b5b | Revert "src: implement query callbacks for vm"
This reverts commit 85c356c10eec14f96eaf92ffc9a8481b591e3652
from PR https://github.com/nodejs/node/pull/22390.
See the discussion in the (proposed) fix at
https://github.com/nodejs/node/pull/22836.
Refs: https://github.com/nodejs/node/pull/22836
Refs: https://github.co... | [
{
"path": "doc/api/vm.md",
"patch": "@@ -944,48 +944,6 @@ within which it can operate. The process of creating the V8 Context and\n associating it with the `sandbox` object is what this document refers to as\n \"contextifying\" the `sandbox`.\n \n-## vm module and Proxy object\n-\n-Leveraging a `Proxy` obje... | 2018-09-17T18:13:59 |
electron/electron | 733931c7adc99760421dd8fb38958e3da80c57fe | 5bec155c812aff461bf3690c48b37c969b03b79e | Fix loading devtools | [
{
"path": "brightray/browser/inspectable_web_contents_impl.cc",
"patch": "@@ -165,8 +165,9 @@ void InspectableWebContentsImpl::ShowDevTools() {\n devtools_web_contents_->SetDelegate(this);\n \n agent_host_ = content::DevToolsAgentHost::GetOrCreateFor(web_contents_.get());\n- content::DevToolsMana... | 2014-10-11T11:00:30 |
vercel/next.js | e8ae4e219e174f0aed8782cef2ab4d081aee36d1 | 9db8145858d3df1ea84c857c02b48d0a549bb8a3 | fix(#44077): allow edge runtime for api routes inside src/ folder (#45093)
fixes: https://github.com/vercel/next.js/issues/44382
closes: https://github.com/vercel/next.js/pull/44882
closes: https://github.com/vercel/next.js/pull/44383 | [
{
"path": "packages/next/src/build/analysis/get-page-static-info.ts",
"patch": "@@ -332,7 +332,7 @@ export async function getPageStaticInfo(params: {\n \n const requiresServerRuntime = ssr || ssg || pageType === 'app'\n \n- const isAnAPIRoute = isAPIRoute(page?.replace(/^\\/pages\\//, '/'))\n+ con... | 2023-01-20T19:04:27 |
rust-lang/rust | fe64184b162cc6fc43b9e44ecaa8c065afbf7ec7 | a932eb36f8adf6c8cdfc450f063943da3112d621 | Fix backtrace for cygwin | [
{
"path": "library/backtrace",
"patch": "@@ -1 +1 @@\n-Subproject commit 9d2c34e7e63afe1e71c333b247065e3b7ba4d883\n+Subproject commit 6c882eb11984d737f62e85f36703effaf34c2453",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "library/std/Cargo.toml",
"patch": "@@ -... | 2025-04-28T14:48:45 |
huggingface/transformers | 706b00928f0bc57dfbe045da3abe23cc1c6d7e5b | 07848a84054f377fca4fbce357a92ccb94ec42ff | Stop autoconverting custom code checkpoints (#37751)
* Stop autoconverting custom code checkpoints
* make fixup
* Better auto class detection
* Match the kwarg ordering | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1005,6 +1005,7 @@ def _get_resolved_checkpoint_files(\n user_agent: dict,\n revision: str,\n commit_hash: Optional[str],\n+ is_remote_code: bool, # Because we can't determine this inside this function, we need it to be passed in\n... | 2025-05-26T18:15:28 |
golang/go | 81a6a4354b8f64b9f3a3d870e366cd8af48afbdd | 33d1b82d16a199b1f8c61cba40b4d883088ca278 | [dev.typeparams] internal/goarch,internal/goos: rename Goos and Goarch constants
Lots of constants in these packages start with Goarch and Goos, which is
redundant. Instead, add the "Is" prefix to make the constant clearer,
and to differentiate from the arch family constants.
Change-Id: Id92c1d3e911296a72949f8c9d649f... | [
{
"path": "src/internal/goarch/gengoarch.go",
"patch": "@@ -49,7 +49,7 @@ func main() {\n \t\t\tif goarch == target {\n \t\t\t\tvalue = 1\n \t\t\t}\n-\t\t\tfmt.Fprintf(&buf, \"const Goarch%s = %d\\n\", strings.Title(goarch), value)\n+\t\t\tfmt.Fprintf(&buf, \"const Is%s = %d\\n\", strings.Title(goarch), val... | 2021-06-16T21:47:33 |
nodejs/node | a9e7369b117f857f24ed67ece1f212b4b605c584 | 47a0d041d1f8b53a0cb6a9188b15557241d5fd45 | crypto: fix edge case in authenticated encryption
Restricting the authentication tag length and calling update or
setAAD before setAuthTag caused an incorrect authentication tag to
be passed to OpenSSL: The auth_tag_len_ field was already set, so
the implementation assumed that the tag itself was known as well.
PR-UR... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -2897,6 +2897,10 @@ void CipherBase::SetAuthTag(const FunctionCallbackInfo<Value>& args) {\n return args.GetReturnValue().Set(false);\n }\n \n+ // TODO(tniessen): Throw if the authentication tag has already been set.\n+ if (cipher->auth_tag_state_ == kAut... | 2018-09-12T22:48:35 |
vercel/next.js | dc119e20ba870466a809954718a2571cd85b50fa | 5023f5ae931aa7f3b856b52224c5d5484b9ca9fa | Fix metadata e2e test on deploy (#45104) | [
{
"path": "test/e2e/app-dir/metadata/metadata.test.ts",
"patch": "@@ -8,6 +8,7 @@ createNextDescribe(\n ({ next, isNextDeploy }) => {\n describe('metadata', () => {\n if (isNextDeploy) {\n+ it('should skip for deploy currently', () => {})\n return\n }\n async function ... | 2023-01-20T17:22:07 |
rust-lang/rust | 603766cd727a5c8b8151a542ab53cf8f84a38f4f | d81472f2669c266c13209855e089ff96303092fc | Avoid some unwraps.
By using `@` patterns more.
Also, use `Symbol` more in a couple of errors to avoid some unnecessary
conversions to strings. This even removes a lifetime. | [
{
"path": "compiler/rustc_attr_parsing/src/attributes/repr.rs",
"patch": "@@ -96,9 +96,12 @@ fn parse_repr(cx: &AcceptContext<'_>, param: &MetaItemParser<'_>) -> Option<Repr\n \n // FIXME(jdonszelmann): invert the parsing here to match on the word first and then the\n // structure.\n- let ident =... | 2025-05-07T02:50:56 |
electron/electron | 0c349c047dc83b29a0ca4e5cd981636a4e31b5c2 | d4e3c39fa5839017f92bbc539c791312f0921f61 | Fix cpplint warning | [
{
"path": "atom/browser/atom_speech_recognition_manager_delegate.cc",
"patch": "@@ -4,6 +4,8 @@\n \n #include \"atom/browser/atom_speech_recognition_manager_delegate.h\"\n \n+#include <string>\n+\n #include \"base/callback.h\"\n \n namespace atom {\n@@ -50,6 +52,7 @@ void AtomSpeechRecognitionManagerDelegat... | 2014-10-08T09:47:47 |
huggingface/transformers | ba6d72226d30527cd9f27d594b58fb9c5ee35aed | 701caef704e356dc2f9331cc3fd5df0eccb4720a | :rotating_light: :rotating_light: Fix custom code saving (#37716)
* Firstly: Better detection of when we're a custom class
* Trigger tests
* Let's break everything
* make fixup
* fix mistaken line doubling
* Let's try to get rid of it from config classes at least
* Let's try to get rid of it from config classes ... | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -28,8 +28,6 @@\n from .utils import (\n CONFIG_NAME,\n PushToHubMixin,\n- add_model_info_to_auto_map,\n- add_model_info_to_custom_pipelines,\n cached_file,\n copy_func,\n download_url,\n@@ -713,15 +711,6 @@ def _get_... | 2025-05-26T16:37:30 |
golang/go | 9c58e399a40d2cc4102245f072438caaf635d495 | 671954e72e8e3e569e659d29e22c6b2a23cea206 | [dev.typeparams] runtime: fix import sort order [generated]
[git-generate]
cd src/runtime
goimports -w *.go
Change-Id: I1387af0f2fd1a213dc2f4c122e83a8db0fcb15f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/329189
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
... | [
{
"path": "src/runtime/alg.go",
"patch": "@@ -6,8 +6,8 @@ package runtime\n \n import (\n \t\"internal/cpu\"\n-\t\"runtime/internal/sys\"\n \t\"internal/goarch\"\n+\t\"runtime/internal/sys\"\n \t\"unsafe\"\n )\n ",
"additions": 1,
"deletions": 1,
"language": "Go"
},
{
"path": "src/runtim... | 2021-06-17T19:10:18 |
nodejs/node | 988be43e3304be4a92fbfd409cf51015ea318e58 | 8df13ec33d1fe80922e624d301524ade8ef3b669 | tools,win: fix find_python error
On a machine without `python.exe` in the PATH the script was failing
with:
```console
> .\vcbuild.bat
Looking for Python 2.x
2> was unexpected at this time.
```
Escaping the `>` seems to resolve it.
PR-URL: https://github.com/nodejs/node/pull/22797
Reviewed-By: Richard Lau <riclau@u... | [
{
"path": "tools/msvs/find_python.cmd",
"patch": "@@ -26,7 +26,7 @@ EXIT /B\n \n :: Query registry sub-tree for InstallPath\n :find-key\n-FOR /F \"delims=\" %%a IN ('REG QUERY %1 /s 2> NUL ^| findstr \"2.\" ^| findstr InstallPath') DO IF NOT ERRORLEVEL 1 CALL :find-path %%a\n+FOR /F \"delims=\" %%a IN ('REG... | 2018-09-10T20:48:48 |
rust-lang/rust | 09fed2d2f440fff2179ca9373bb16e40fc81d935 | fb261a179d2c210785b6e9005201e262dac801b5 | add stubbed-out cases for rust-analyzer
rust-analyzer doesn't construct `DerefPattern(_)` constructors, so these
shouldn't crash. It looks like this is how slice patterns are
implemented too. | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/pat_analysis.rs",
"patch": "@@ -301,6 +301,7 @@ impl<'db> MatchCheckCtx<'db> {\n // ignore this issue.\n Ref => PatKind::Deref { subpattern: subpatterns.next().unwrap() },\n Slice(_) => unimpleme... | 2025-04-21T09:34:02 |
vercel/next.js | df2bb5e01095eaa790c430e9914eaa065695e3ef | c439606249a650f501e8e0582c2c43c5d184097f | feat(codemod): turbo migrate (vercel/turbo#3367)
## Details:
* New migrate command that will run all codemods needed to move from
turbo `x` to turbo `y` and will (optionally) upgrade turbo for you as
well
* Rewritten transforms using new transform class that automatically
handles logging, determining when to writ... | [
{
"path": "crates/turbopack/tests/node-file-trace/integration/mdx/index.cjs",
"patch": "@@ -1,12 +1,12 @@\n const os = require(\"os\");\n \n // also trace the react and react/jsx-runtime\n-require('react')\n-require('react/jsx-runtime')\n+require(\"react\");\n+require(\"react/jsx-runtime\");\n \n-import('@m... | 2023-01-20T16:05:34 |
huggingface/transformers | 701caef704e356dc2f9331cc3fd5df0eccb4720a | 0a4e8e2855927eb08d92631f58eb3ec96a8f6d96 | Stop TF weight rename reDOS (#38325)
* let's try a non-regex solution
* make fixup
* Slight adjustment
* Let's just use the original code with a check
* slight tweak to conditional
* slight tweak to conditional | [
{
"path": "src/transformers/modeling_tf_pytorch_utils.py",
"patch": "@@ -78,6 +78,9 @@ def convert_tf_weight_name_to_pt_weight_name(\n tf_name = tf_name[len(name_scope) :]\n tf_name = tf_name.lstrip(\"/\")\n tf_name = tf_name.replace(\":0\", \"\") # device ids\n+ if (len(tf_name) > 2... | 2025-05-26T15:58:51 |
electron/electron | 5c455b6ff901d764450bd45feaa8b8eb7513c7b2 | f7819f369beb8150fb908051f78963d8258ab9bf | Fix compilation warning on Linux | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -97,7 +97,7 @@\n 'conditions': [\n ['OS==\"linux\"', {\n 'cflags_cc': [\n- '-Wno-deprecated-declarations',\n+ '-Wno-deprecated-register',\n '-fno-rtti',\n ],\n 'link_settings': {",... | 2014-10-08T01:34:01 |
nodejs/node | bb9d788f772eaf3d6f61fcc27ec2788992faf625 | e692a098023a9966e8aa1fc6fda31fb3dee8373c | build: do not lint fixtures in make lint-md
PR-URL: https://github.com/nodejs/node/pull/22549
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Refael Acke... | [
{
"path": "Makefile",
"patch": "@@ -1087,7 +1087,8 @@ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)\n LINT_MD_TARGETS = src lib benchmark test tools/doc tools/icu\n LINT_MD_ROOT_DOCS := $(wildcard *.md)\n LINT_MD_MISC_FILES := $(shell find $(LINT_MD_TARGETS) -type f \\\n- -not -path '*node_modules*' -name '*... | 2018-08-27T06:02:18 |
rust-lang/rust | fb261a179d2c210785b6e9005201e262dac801b5 | cf43bba1e5ec87838fca248f36d940f2923576c2 | error early when mixing deref patterns with normal constructors
Without adding proper support for mixed exhaustiveness, mixing deref
patterns with normal constructors would either violate
`ConstructorSet::split`'s invariant 4 or 7. We'd either be ignoring rows
with normal constructors or we'd have problems in unspecia... | [
{
"path": "compiler/rustc_pattern_analysis/messages.ftl",
"patch": "@@ -6,6 +6,10 @@ pattern_analysis_excluside_range_missing_max = exclusive range missing `{$max}`\n .label = this range doesn't match `{$max}` because `..` is an exclusive range\n .suggestion = use an inclusive range instead\n \n+pat... | 2025-04-21T06:57:09 |
vercel/next.js | c30c14da18f3ac5777655e43fea7b161865b27c3 | c254b74c000f95b87d977c8324be991b9a112151 | Improve swc transforms (#45083)
x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1674048645326239
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.m... | [
{
"path": "packages/next-swc/crates/core/src/lib.rs",
"patch": "@@ -59,6 +59,7 @@ pub mod react_server_components;\n #[cfg(not(target_arch = \"wasm32\"))]\n pub mod relay;\n pub mod remove_console;\n+pub mod server_actions;\n pub mod shake_exports;\n mod top_level_binding_collector;\n \n@@ -122,6 +123,9 @@ ... | 2023-01-20T13:22:43 |
huggingface/transformers | 0a4e8e2855927eb08d92631f58eb3ec96a8f6d96 | 63964b7c67b22177741908d7f0f516e71a050fe8 | fix typo: `tokenizer` -> `tokenize` (#38357) | [
{
"path": "src/transformers/models/gemma3/modeling_gemma3.py",
"patch": "@@ -1079,7 +1079,7 @@ def forward(\n \n >>> inputs = processor.apply_chat_template(\n ... messages,\n- ... tokenizer=True,\n+ ... tokenize=True,\n ... return_dict=True,\n ..... | 2025-05-26T15:29:16 |
golang/go | ed834853ad8224611f44a3c467e00a22df341d91 | 4dede025507fe6476e9881b4b2bd773a3680d618 | cmd/go: replace a TODO with an explanatory comment
I left a TODO to decide whether to add 'go get' arguments as indirect
(as we have in the past), or to make them direct. I considered both
options, and decided to keep the indirect default because it is easier
(and less invasive) for users to fix.
Updates #45979
Chan... | [
{
"path": "src/cmd/go/testdata/script/mod_get_lazy_indirect.txt",
"patch": "@@ -10,10 +10,12 @@ stderr '^m.go:3:8: no required module provides package rsc\\.io/quote; to add it:\n \n \n # When we run the suggested 'go get' command, the new dependency can be used\n-# immediately, even though 'go get' marks i... | 2021-06-17T18:12:34 |
rust-lang/rust | b41d8bde00930d80f07b7aa90cc0a8e6bd423413 | 669c1ab9677ae8dc1d7db30b75fd173d06c0c75a | let deref patterns participate in usefulness/exhaustiveness
This does not yet handle the case of mixed deref patterns with normal
constructors; it'll ICE in `Constructor::is_covered_by`. That'll be
fixed in a later commit. | [
{
"path": "compiler/rustc_pattern_analysis/src/constructor.rs",
"patch": "@@ -696,6 +696,10 @@ pub enum Constructor<Cx: PatCx> {\n F128Range(IeeeFloat<QuadS>, IeeeFloat<QuadS>, RangeEnd),\n /// String literals. Strings are not quite the same as `&[u8]` so we treat them separately.\n Str(Cx::StrL... | 2025-04-17T09:33:24 |
nodejs/node | e692a098023a9966e8aa1fc6fda31fb3dee8373c | ab5f789e3f3f726702b86bc7b9661895780d4d12 | errors: add useOriginalName to internal/errors
This allows us to tell the type of the errors without using
instanceof, which is necessary in WPT harness.
PR-URL: https://github.com/nodejs/node/pull/22556
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ru... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -151,13 +151,18 @@ function makeSystemErrorWithCode(key) {\n };\n }\n \n+let useOriginalName = false;\n+\n function makeNodeErrorWithCode(Base, key) {\n return class NodeError extends Base {\n constructor(...args) {\n super(getMessage(key, args)... | 2018-08-27T19:57:23 |
huggingface/transformers | 63964b7c67b22177741908d7f0f516e71a050fe8 | 8b03c8eaf2dafd68b4eb167f8bb1aab37a221807 | fix typos (#38336)
* Update video_processor.md
* Update deepseek_v3.md | [
{
"path": "docs/source/en/main_classes/video_processor.md",
"patch": "@@ -21,7 +21,7 @@ A **Video Processor** is a utility responsible for preparing input features for\n \n The video processor extends the functionality of image processors by allowing Vision Large Language Models (VLMs) to handle videos with... | 2025-05-26T14:42:37 |
golang/go | 4dede025507fe6476e9881b4b2bd773a3680d618 | 97cee43c93cfccded197cd281f0a5885cdb605b4 | cmd/pprof: make ObjAddr a no-op
https://golang.org/cl/318049 replaced driver.ObjFile.Base with
driver.ObjFile.ObjAddr. We don't support shared libraries, so these
should be no-op, but CL 318049 accidentally failed to account from the
change in no-op behavior from returning 0 to passing through addr.
Fixes #46636
Cha... | [
{
"path": "src/cmd/pprof/pprof.go",
"patch": "@@ -233,8 +233,8 @@ func (f *file) Name() string {\n }\n \n func (f *file) ObjAddr(addr uint64) (uint64, error) {\n-\t// No support for shared libraries.\n-\treturn 0, nil\n+\t// No support for shared libraries, so translation is a no-op.\n+\treturn addr, nil\n ... | 2021-06-07T17:28:09 |
electron/electron | b2b70bb37c05e98f8e3fb2282bad538bde7f4dff | 35d37c3463cd26c463d7c002f2f3c0b86437811c | Upgrade libchromiumcontent to 440833b, fixes #462 | [
{
"path": "atom/browser/default_app/index.html",
"patch": "@@ -2,12 +2,6 @@\n <head>\n <title>Atom Shell</title>\n <style>\n- html {\n- height: 100%;\n- width: 100%;\n- overflow: hidden;\n- }\n-\n body {\n color: #555;\n font-family: 'Open Sans',Helvetica,Arial,sans-... | 2014-10-05T15:50:48 |
nodejs/node | 1b92214d097358040efb7d3ec5dff1736f364bc0 | 3c2aa4b9f3a566c58d2958e96f239d59f509b50c | module: fix inconsistency between load and _findPath
Files with multiple extensions are not handled by require-module system
therefore if you have file 'file.foo.bar' and require('./file') it won't
be found even while using require.extensions['foo.bar'] but before this
commit if you have require.extensions['foo.bar'] ... | [
{
"path": "lib/internal/modules/cjs/loader.js",
"patch": "@@ -217,6 +217,16 @@ function tryExtensions(p, exts, isMain) {\n return false;\n }\n \n+function readExtensions() {\n+ const exts = Object.keys(Module._extensions);\n+ for (var i = 0, j = 0; i < exts.length; ++i) {\n+ if (path.extname(exts[i])... | 2018-08-16T17:19:06 |
golang/go | 804ecc2581caf33ae347d6a1ce67436d1f74e93b | b14fd720a8c3822161ed85447774e38fab835f6f | [dev.typeparams] all: add GOEXPERIMENT=unified knob
Setting `-gcflags=all=-d=unified` works for normal builds/tests, but
seems to have trouble with the test/run.go regress tests. So add a
GOEXPERIMENT knob to allow another way to turn on unified IR
construction, which plays better with all.bash.
While here, update tw... | [
{
"path": "misc/cgo/errors/testdata/err2.go",
"patch": "@@ -91,10 +91,18 @@ func main() {\n \n \t// issue 26745\n \t_ = func(i int) int {\n-\t\treturn C.i + 1 // ERROR HERE: 14\n+\t\t// typecheck reports at column 14 ('+'), but types2 reports at\n+\t\t// column 10 ('C').\n+\t\t// TODO(mdempsky): Investigate... | 2021-06-17T04:41:28 |
nodejs/node | 932be0164fb3ed869ae3ddfff391721d2fd8e1af | efe0bbcd2fde5f60546fa2dc60295956ba440a3c | util: make TextEncoder/TextDecoder global
Fixes: https://github.com/nodejs/node/issues/20365
PR-URL: https://github.com/nodejs/node/pull/22281
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Col... | [
{
"path": ".eslintrc.js",
"patch": "@@ -271,6 +271,8 @@ module.exports = {\n DTRACE_HTTP_SERVER_REQUEST: false,\n DTRACE_HTTP_SERVER_RESPONSE: false,\n DTRACE_NET_SERVER_CONNECTION: false,\n- DTRACE_NET_STREAM_END: false\n+ DTRACE_NET_STREAM_END: false,\n+ TextEncoder: false,\n+ Text... | 2018-08-12T18:55:13 |
golang/go | 97cee43c93cfccded197cd281f0a5885cdb605b4 | b0355a3e72df384c82a688524c603a97c1d8e7a7 | testing: drop unusual characters from TempDir directory name
Only use safe characters of the test name for the os.MkdirTemp pattern.
This currently includes the alphanumeric characters and ASCII
punctuation characters known not to interact with globs.
Fixes #46624
Change-Id: I402c34775b943fed9b97963c52f79245cc16dc1d... | [
{
"path": "src/testing/testing.go",
"patch": "@@ -252,6 +252,8 @@ import (\n \t\"sync\"\n \t\"sync/atomic\"\n \t\"time\"\n+\t\"unicode\"\n+\t\"unicode/utf8\"\n )\n \n var initRan bool\n@@ -908,11 +910,6 @@ func (c *common) Cleanup(f func()) {\n \tc.cleanups = append(c.cleanups, fn)\n }\n \n-var tempDirRepla... | 2021-06-08T13:33:54 |
vercel/next.js | a168ccc9d3e60a833066e172750e93e8d15cc86a | ed4bd62f2d9cdd5a05349c69e7af2d7d0a35cac7 | add garbage collection (vercel/turbo#3094)
fixes WEB-265
fixes WEB-268
fixes WEB-4
fixes WEB-359 | [
{
"path": "packages/next-swc/crates/next-dev/src/devserver_options.rs",
"patch": "@@ -78,6 +78,12 @@ pub struct DevServerOptions {\n #[cfg_attr(feature = \"serializable\", serde(default))]\n pub full_stats: bool,\n \n+ /// Enable experimental garbage collection with the provided memory limit in\n... | 2023-01-20T09:16:02 |
electron/electron | 7659edd13958027c2a87abac8aca699af7ee18a4 | cc4897f8c1486e28b685069d57242ed616849ddc | speling error. | [
{
"path": "docs/tutorial/using-native-node-modules.md",
"patch": "@@ -1,4 +1,4 @@\n-# Usng native Node modules\n+# Using native Node modules\n \n The native Node modules are supported by atom-shell, but since atom-shell is\n using a different V8 version from official Node, you need to use `apm` instead",
... | 2014-10-02T21:51:05 |
nodejs/node | efe0bbcd2fde5f60546fa2dc60295956ba440a3c | eee5adfab5af5f7eb672cbc3cbbad141c455c54d | http2: add http2stream.endAfterHeaders property
Indicates is the END_STREAM flag was set on the received HEADERS frame
PR-URL: https://github.com/nodejs/node/pull/22843
Fixes: https://github.com/nodejs/node/issues/22497
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -958,6 +958,17 @@ added: v8.4.0\n Set to `true` if the `Http2Stream` instance has been destroyed and is no longer\n usable.\n \n+#### http2stream.endAfterHeaders\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* {boolean}\n+\n+Set the `true` if the `END_STREAM` flag was ... | 2018-09-13T16:31:48 |
golang/go | b0355a3e72df384c82a688524c603a97c1d8e7a7 | 881b6ea7baaa38f54a1dbd989fd21a638d0e118d | time: fix receiver for Time.IsDST method
Only methods that modify the time take pointer receivers;
IsDST does not modify it and therefore should not.
For #42102 and #46688.
Change-Id: I4721ef7f4d7572236ae6e4d99a459b9ffb11999e
Reviewed-on: https://go-review.googlesource.com/c/go/+/326789
Trust: Russ Cox <rsc@golang.o... | [
{
"path": "api/go1.17.txt",
"patch": "@@ -153,7 +153,7 @@ pkg time, const Layout = \"01/02 03:04:05PM '06 -0700\"\n pkg time, const Layout ideal-string\n pkg time, func UnixMicro(int64) Time\n pkg time, func UnixMilli(int64) Time\n-pkg time, method (*Time) IsDST() bool\n+pkg time, method (Time) IsDST() bool... | 2021-06-10T19:14:01 |
electron/electron | cc4897f8c1486e28b685069d57242ed616849ddc | ee5335ca6ea5a936dcebc451a6bd4a04f1034595 | Add process.versions['chrome'], fixes #675 | [
{
"path": "atom/common/api/atom_bindings.cc",
"patch": "@@ -8,6 +8,7 @@\n #include <string>\n \n #include \"atom/common/atom_version.h\"\n+#include \"atom/common/chrome_version.h\"\n #include \"atom/common/native_mate_converters/string16_converter.h\"\n #include \"base/logging.h\"\n #include \"native_mate/c... | 2014-10-02T15:48:17 |
vercel/next.js | 260cd58e7e6d080b49a4efb6139cf68c13c7434c | 3876e35313231680f9228d6919a62278a9395d52 | add garbage collection (vercel/turbo#3094)
fixes WEB-265
fixes WEB-268
fixes WEB-4
fixes WEB-359 | [
{
"path": "crates/auto-hash-map/src/map.rs",
"patch": "@@ -34,7 +34,7 @@ impl<K: Debug, V: Debug, H> Debug for AutoMap<K, V, H> {\n \n impl<K, V> AutoMap<K, V, RandomState> {\n /// see [HashMap::new](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.new)\n- pub fn new() -> Self {\n... | 2023-01-20T09:16:02 |
nodejs/node | eee5adfab5af5f7eb672cbc3cbbad141c455c54d | cb3d6d5113a3bb076106e2b7c35e2471744bf218 | assert: add default operator to `assert.fail()`
This makes sure `assert.fail()` contains an operator instead of being
undefined.
On top of that it also fixes the `err.generatedMessage` property.
Before, it was not always set correct.
PR-URL: https://github.com/nodejs/node/pull/22694
Reviewed-By: John-David Dalton <j... | [
{
"path": "lib/assert.js",
"patch": "@@ -87,8 +87,9 @@ function innerFail(obj) {\n function fail(actual, expected, message, operator, stackStartFn) {\n const argsLen = arguments.length;\n \n+ let internalMessage;\n if (argsLen === 0) {\n- message = 'Failed';\n+ internalMessage = 'Failed';\n } e... | 2018-09-04T13:18:44 |
huggingface/transformers | 7a9b071bfde1dd9f71380a66354268e4a1bc9064 | b5b76b55618aaab98064f615d9bb0e7c303dee5c | [Falcon H1] Fix slow path forward pass (#38320)
* Create push-important-models.yml
* feat: add falcon-h1
* fixup
* address comment
* fix
* fix copies
* fix copies
* fix
* fix
* fix
* fix
* fix copies
* fix
* fix copies
* fix test import to at least trigget the cis
* yups
* update
* fix make fix copies... | [
{
"path": "src/transformers/models/falcon_h1/modeling_falcon_h1.py",
"patch": "@@ -604,9 +604,10 @@ def cuda_kernels_forward(\n ):\n # 1. Gated MLP's linear projection\n hidden_states = apply_mask_to_padding_states(hidden_states, attention_mask)\n+ # Add Multipliers\n hidd... | 2025-05-26T13:30:35 |
golang/go | 881b6ea7baaa38f54a1dbd989fd21a638d0e118d | 0e67ce3d28320e816dd8e7cf7d701c1804fb977e | doc/go1.17: fix redundant space
Change-Id: I6fccab7504f928452fbe490ae83e8d4b23a59f06
Reviewed-on: https://go-review.googlesource.com/c/go/+/328849
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com> | [
{
"path": "doc/go1.17.html",
"patch": "@@ -387,7 +387,7 @@ <h2 id=\"compiler\">Compiler</h2>\n registers instead of the stack. This work is enabled for Linux, MacOS, and\n Windows on the 64-bit x86 architecture (the <code>linux/amd64</code>,\n <code>darwin/amd64</code>, <code>windows/amd64</code> port... | 2021-06-16T23:01:16 |
rust-lang/rust | 49ac393688510f0f36627f5899bf0ededd26a8de | 27d6200a70601f6fcf419bf2f9e37989f3624ca4 | fix typo in autorefs lint doc example
The documentation is talking about other way using only raw pointers, but the example was use `std::slice::from_raw_parts_mut` which also create a reference. `std::ptr::slice_from_raw_parts_mut` should be used instead, and it also highlights the benefit of raw pointer manipulation... | [
{
"path": "compiler/rustc_lint/src/autorefs.rs",
"patch": "@@ -15,9 +15,9 @@ declare_lint! {\n ///\n /// ```rust\n /// unsafe fn fun(ptr: *mut [u8]) -> *mut [u8] {\n- /// &raw mut (*ptr)[..16]\n- /// // ^^^^^^ this calls `IndexMut::index_mut(&mut ..., ..16)`,\n- /// ... | 2025-05-06T22:11:05 |
huggingface/transformers | bff32678cc64b9de6dd59d35833b51dc5bbf3610 | 9f0402bc4db85f24626b5e6cb8b766244e2abc48 | Fix incorrect batching audio index calculation for Phi-4-Multimodal (#38103)
* fix
Signed-off-by: Isotr0py <2037008807@qq.com>
* add tests
Signed-off-by: Isotr0py <2037008807@qq.com>
* code format
Signed-off-by: Isotr0py <2037008807@qq.com>
* Update src/transformers/models/phi4_multimodal/feature_extraction_phi... | [
{
"path": "src/transformers/models/phi4_multimodal/feature_extraction_phi4_multimodal.py",
"patch": "@@ -300,7 +300,7 @@ def _torch_extract_fbank_features(\n to_mask_batch_idxs = torch.arange(batch_size)[audio_lengths != audio_lengths.max()]\n if to_mask_batch_idxs.numel() > 0:\n ... | 2025-05-26T12:41:31 |
nodejs/node | cb3d6d5113a3bb076106e2b7c35e2471744bf218 | 1747d707d77f459f061d51fcd551cda9db6ed1cf | doc: add missing options for crypto sign.sign()
Fixes: https://github.com/nodejs/node/issues/22813
PR-URL: https://github.com/nodejs/node/pull/22824
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com> | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -1121,6 +1121,8 @@ changes:\n * `privateKey` {string | Object}\n - `key` {string}\n - `passphrase` {string}\n+ - `padding` {integer}\n+ - `saltLength` {integer}\n * `outputFormat` {string}\n * Returns: {Buffer | string}\n ",
"additions": 2,
"deletion... | 2018-09-12T17:46:11 |
vercel/next.js | d1f6a4295b573ce8bc85261e6f47075956fc8b69 | 55f3a6d8fb4e55a45115da150fdb8aca0bb72cce | Initial support for metadata (#44729)
This PR implements page and layout exported `metadata` field support with limited properties.
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using... | [
{
"path": "packages/next/src/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -7,6 +7,7 @@ import { sep } from 'path'\n import { verifyRootLayout } from '../../../lib/verifyRootLayout'\n import * as Log from '../../../build/output/log'\n import { APP_DIR_ALIAS } from '../../../lib/constants'\n+import... | 2023-01-20T08:47:30 |
rust-lang/rust | 61a14fcea05f8e9a544a5557b98633f7ace65109 | 339793d62b4c455f2a8268e09f85ee471cd4847c | Require `target_has_atomic = "ptr"` for runtime feature detection
The `feature_detect` module is currently being built on all targets, but
the use of `AtomicU32` causes a problem if atomics are not available
(such as with `bpfel-unknown-none`). Gate this module behind
`target_has_atomic = "ptr"`.
The below now comple... | [
{
"path": "library/compiler-builtins/libm/src/math/arch/x86/detect.rs",
"patch": "@@ -1,13 +1,16 @@\n+// Using runtime feature detection requires atomics. Currently there are no x86 targets\n+// that support sse but not `AtomicPtr`.\n+\n #[cfg(target_arch = \"x86\")]\n use core::arch::x86::{__cpuid, __cpuid... | 2025-05-06T20:11:48 |
golang/go | b14fd720a8c3822161ed85447774e38fab835f6f | 8115ae198d192f778a3586596c8550665f409823 | [dev.typeparams] cmd/compile: make types2 report better error for invalid untyped operation
This ports the fix in CL 328050 for typecheck to types2.
The fix is not identical, due to code structure differences between
typecheck and types2, but the idea is the same. We only do the untyped
conversion when both operands ... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -972,14 +972,28 @@ func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op\n \t\treturn\n \t}\n \n-\tcheck.convertUntyped(x, y.typ)\n-\tif x.mode == invalid {\n-\t\treturn\n+\tcanMix := func(x, y *operand) bool {\n+\t... | 2021-06-16T09:23:44 |
electron/electron | 1499d445846f746fbd345efd7e7c059108eed832 | 039903c6b2b6533aff36230ffb80fba8ef280c2a | gtk: Fix focusing on file dialog
Fixes atom/atom#3626. | [
{
"path": "atom/browser/ui/file_dialog_gtk.cc",
"patch": "@@ -21,6 +21,7 @@\n #include \"chrome/browser/ui/libgtk2ui/gtk2_signal.h\"\n #include \"ui/aura/window.h\"\n #include \"ui/aura/window_tree_host.h\"\n+#include \"ui/views/widget/desktop_aura/x11_desktop_handler.h\"\n \n namespace file_dialog {\n \n@@... | 2014-10-01T09:02:00 |
huggingface/transformers | 9f0402bc4db85f24626b5e6cb8b766244e2abc48 | d03a3ca69226a776d9ed69cd90cbe8f6ebe8fa34 | Fix all import errors based on older torch versions (#38370)
* Update masking_utils.py
* fix
* fix
* fix
* Update masking_utils.py
* Update executorch.py
* fix | [
{
"path": "src/transformers/masking_utils.py",
"patch": "@@ -25,11 +25,16 @@\n \n \n if is_torch_flex_attn_available():\n- from torch._dynamo._trace_wrapped_higher_order_op import TransformGetItemToIndex\n from torch.nn.attention.flex_attention import BlockMask, create_block_mask\n-\n+else:\n+ # R... | 2025-05-26T10:11:54 |
nodejs/node | 8eb1130854c1e9cbf077f859b0f442d1e6852ba1 | 141daf10c834e5e368e9479ab7a537fb487013d4 | test: remove string literal message from assertion
Remove string literal from assert.strictEqual message to improve output
of AssertionError.
PR-URL: https://github.com/nodejs/node/pull/22849
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Hennin... | [
{
"path": "test/parallel/test-http-information-processing.js",
"patch": "@@ -36,8 +36,8 @@ server.listen(0, function() {\n });\n \n req.on('response', function(res) {\n- assert.strictEqual(countdown.remaining, 1,\n- 'Full response received before all 102 Processing');\n+ // C... | 2018-09-13T04:08:53 |
vercel/next.js | ed4bd62f2d9cdd5a05349c69e7af2d7d0a35cac7 | a922403b64eafdb8f31ab52860beb3dbc89ea89b | Always mark styled-jsx as external to avoid duplicating with bundled copies (vercel/turbo#3386)
Fixes WEB-412.
Previously, references to styled-jsx inserted by the swc transform would be bundled, which duplicated the copy required by next, which is external. This marks the dependency is to be resolved as external alw... | [
{
"path": "packages/next-swc/crates/next-core/src/next_config.rs",
"patch": "@@ -442,6 +442,8 @@ pub async fn load_next_config(execution_context: ExecutionContextVc) -> Result<N\n \n import_map.insert_exact_alias(\"next\", ImportMapping::External(None).into());\n import_map.insert_wildcard_alias(\"n... | 2023-01-20T04:23:26 |
golang/go | 6e50f4f11166d5bfa2fba2f28bf4d43e3a713930 | b6fc4d01a8d9cefe180fde97ace36588d1d31417 | [dev.typeparams] go/types: convert testdata/check tests to type set syntax
This is a port of CL 324569 to go/types, with some error positions
adjusted: go/types puts errors related to terms on the '~', not type
name.
Change-Id: I92e8443ce27a5ecae0e3e0dac4811eaf3eee07ff
Reviewed-on: https://go-review.googlesource.com/... | [
{
"path": "src/go/types/testdata/check/builtins.go2",
"patch": "@@ -7,19 +7,19 @@\n package builtins\n \n type Bmc interface {\n-\ttype map[rune]string, chan int\n+\t~map[rune]string | ~chan int\n }\n \n type Bms interface {\n-\ttype map[string]int, []int\n+\t~map[string]int | ~[]int\n }\n \n type Bcs inter... | 2021-06-10T13:27:44 |
electron/electron | 039903c6b2b6533aff36230ffb80fba8ef280c2a | 5df17161446e6ac96379b84bfed73c12cafa3e60 | mac: Don't create button without title, fixes #631 | [
{
"path": "atom/browser/ui/message_box_mac.mm",
"patch": "@@ -75,6 +75,9 @@ - (void)alertDidEnd:(NSAlert*)alert\n \n for (size_t i = 0; i < buttons.size(); ++i) {\n NSString* title = base::SysUTF8ToNSString(buttons[i]);\n+ // An empty title causes crash on OS X.\n+ if (buttons[i].empty())\n+ ... | 2014-10-01T07:51:32 |
huggingface/transformers | d03a3ca69226a776d9ed69cd90cbe8f6ebe8fa34 | a5a0c7b88828a7273bdedbdcaa2c7a252084c0d8 | [`OPT`] Fix attention scaling (#38290)
* fix opt attention scaling
* add comment to why we do this | [
{
"path": "src/transformers/models/opt/modeling_opt.py",
"patch": "@@ -154,7 +154,11 @@ def forward(\n \"\"\"Input shape: Batch x Time x Channel\"\"\"\n bsz, tgt_len, _ = hidden_states.size()\n \n- # get query proj\n+ # Scaling is susceptible to floating point arithmetics' inpr... | 2025-05-26T09:02:16 |
rust-lang/rust | 3c1c0726ad18dc07f3ef9b9465d5997ca13e332c | 651e9cf327358b28db7e37a2ae61727f4a2ef232 | added error handle for error code > 9999 | [
{
"path": "compiler/rustc_driver_impl/src/lib.rs",
"patch": "@@ -463,6 +463,7 @@ fn handle_explain(early_dcx: &EarlyDiagCtxt, registry: Registry, code: &str, col\n // Allow \"E0123\" or \"0123\" form.\n let upper_cased_code = code.to_ascii_uppercase();\n if let Ok(code) = upper_cased_code.strip_... | 2025-05-06T10:06:45 |
nodejs/node | bb898ca39de0c4f1c2ff62ce59c5315078c0856a | 2b5320130bf3aeb2f57e79eb95cb69e39d2d6da8 | test: improve assertion in test-inspector.js
Remove an unecessary string literal from assert.strictEqual() call in
test-inspector.js. The string literal is printed instead of the value
that causes an error. Removing the string literal allows the value that
caused the error to be printed. This improves the troubleshoot... | [
{
"path": "test/sequential/test-inspector.js",
"patch": "@@ -33,8 +33,7 @@ function checkBadPath(err) {\n }\n \n function checkException(message) {\n- assert.strictEqual(message.exceptionDetails, undefined,\n- 'An exception occurred during execution');\n+ assert.strictEqual(message.exc... | 2018-09-02T05:47:37 |
vercel/next.js | 3876e35313231680f9228d6919a62278a9395d52 | 125d3224efaa123e5d04cc5cfd08ae39eca0e602 | Always mark styled-jsx as external to avoid duplicating with bundled copies (vercel/turbo#3386)
Fixes WEB-412.
Previously, references to styled-jsx inserted by the swc transform would be bundled, which duplicated the copy required by next, which is external. This marks the dependency is to be resolved as external alw... | [
{
"path": "crates/next-core/src/next_config.rs",
"patch": "@@ -442,6 +442,8 @@ pub async fn load_next_config(execution_context: ExecutionContextVc) -> Result<N\n \n import_map.insert_exact_alias(\"next\", ImportMapping::External(None).into());\n import_map.insert_wildcard_alias(\"next/\", ImportMapp... | 2023-01-20T04:23:26 |
golang/go | b6fc4d01a8d9cefe180fde97ace36588d1d31417 | 795f4475e58ff7adaeaf949f8e79470a7c43f501 | [dev.typeparams] go/types: convert testdata/fixedbugs tests to type set sytax
This is a port of CL 324530 to go/types. One error position in
issue39634.go2 was adjusted by a character, to account for go/types'
positioning.
Change-Id: Ie06974ea9ee81d3ae66ef58dba522936ab4ce2d1
Reviewed-on: https://go-review.googlesourc... | [
{
"path": "src/go/types/testdata/fixedbugs/issue39634.go2",
"patch": "@@ -31,12 +31,12 @@ type x7[A any] struct{ foo7 }\n func main7() { var _ foo7 = x7[int]{} }\n \n // crash 8\n-type foo8[A any] interface { type A }\n+type foo8[A any] interface { ~A }\n func bar8[A foo8[A]](a A) {}\n func main8() {}\n \n ... | 2021-06-09T22:51:24 |
huggingface/transformers | a5a0c7b88828a7273bdedbdcaa2c7a252084c0d8 | cba279f46ca7d6af738b0d67812866859ffcfda3 | switch to device agnostic device calling for test cases (#38247)
* use device agnostic APIs in test cases
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
* fix style
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
* add one more
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* xpu now supports integer device... | [
{
"path": "src/transformers/quantizers/quantizer_bnb_4bit.py",
"patch": "@@ -273,7 +273,7 @@ def update_device_map(self, device_map):\n elif is_torch_hpu_available():\n device_map = {\"\": f\"hpu:{torch.hpu.current_device()}\"}\n elif is_torch_xpu_available():\n- ... | 2025-05-26T08:18:53 |
electron/electron | e316e4a267f9f87f6db115f448dfba0205497695 | 9d84f139eb5f8de95ca7d36f2fb4c5554ff28bde | Upgrade node to v0.11.4, fixes #669 | [
{
"path": "atom/common/lib/init.coffee",
"patch": "@@ -6,7 +6,7 @@ process.atomBinding = (name) ->\n try\n process.binding \"atom_#{process.type}_#{name}\"\n catch e\n- process.binding \"atom_common_#{name}\" if e.message is 'No such module'\n+ process.binding \"atom_common_#{name}\" if /No su... | 2014-09-30T13:35:22 |
vercel/next.js | 55f3a6d8fb4e55a45115da150fdb8aca0bb72cce | 919a71186e5d75d42f3499774599fa92722177f7 | Fix broken argument for rewrites on link reference docs (#45073)
Fixes #45072
Rewrites don't accept relative paths anymore, we have to pass an absolute URL (see https://nextjs.org/docs/messages/middleware-relative-urls)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] E... | [
{
"path": "docs/api-reference/next/link.md",
"patch": "@@ -233,9 +233,9 @@ export function middleware(req) {\n const nextUrl = req.nextUrl\n if (nextUrl.pathname === '/dashboard') {\n if (req.cookies.authToken) {\n- return NextResponse.rewrite('/auth/dashboard')\n+ return NextResponse.rewr... | 2023-01-20T03:23:30 |
golang/go | 8e14a9cf04fd2a215871f7f68abaa926d8435173 | aecfd5c29e3d8cb168c180f4e14e981c58eb599c | [dev.typeparams] go/types: eliminate need for unpack and asUnion functions
This is a straightforward port of CL 323355 to go/types, adjusted for
the different error reporting API in go/types.
Change-Id: I0f9d7ca0e0959e1e214ecd61eb85cc311e6409a2
Reviewed-on: https://go-review.googlesource.com/c/go/+/326679
Trust: Robe... | [
{
"path": "src/go/types/builtins.go",
"patch": "@@ -768,14 +768,12 @@ func (check *Checker) applyTypeFunc(f func(Type) Type, x Type) Type {\n \tif tp := asTypeParam(x); tp != nil {\n \t\t// Test if t satisfies the requirements for the argument\n \t\t// type and collect possible result types at the same time... | 2021-06-09T22:41:19 |
huggingface/transformers | cba279f46ca7d6af738b0d67812866859ffcfda3 | 6e3063422c4b1c014aa60c32b9254fd2902f0f28 | [VLMs] add helpers for get/set embedding (#38144)
* add helpers in VLMs
* fix tied weight key test | [
{
"path": "src/transformers/models/aria/modeling_aria.py",
"patch": "@@ -1219,6 +1219,12 @@ def get_output_embeddings(self) -> nn.Module:\n def set_output_embeddings(self, new_embeddings):\n self.lm_head = new_embeddings\n \n+ def set_decoder(self, decoder):\n+ self.model = decoder\n+\... | 2025-05-26T07:50:32 |
electron/electron | ad70cb27bd851aa979aa8ddd0208f157d667363e | 98fec2f3173410343889396ba38c90fc3e5dc249 | linux: Fix compilation warning | [
{
"path": "atom.gyp",
"patch": "@@ -539,6 +539,7 @@\n 'vendor/breakpad/src',\n ],\n 'cflags': [\n+ '-Wno-deprecated-declarations',\n '-Wno-empty-body',\n ],\n 'dependencies': [",
"additions": 1,
"deletions": 0,
"language"... | 2014-09-30T12:52:57 |
vercel/next.js | a922403b64eafdb8f31ab52860beb3dbc89ea89b | 0aaf4fd87d6d9a93e9a2ab2463313a0d2b8333dd | NodeProcessPool: implement debug mode for a single-process passing --inspect-brk (vercel/turbo#3385)
This implements a debug mode for spawning Node processes across multiple surfaces including `evaluate` and `get_renderer_pool`.
It:
* automatically limits concurrency to 1 process per pool
* passes `--inspect-brk` to... | [
{
"path": "packages/next-swc/crates/next-core/src/next_config.rs",
"patch": "@@ -478,6 +478,7 @@ pub async fn load_next_config(execution_context: ExecutionContextVc) -> Result<N\n intermediate_output_path,\n runtime_entries,\n vec![],\n+ /* debug */ false,\n )\n .await... | 2023-01-20T01:58:11 |
huggingface/transformers | 4a03044ddbe41fe6b237fe813d23ba5bab8b23bc | d0c9c66d1c09df3cd70bf036e813d88337b20d4c | Hot fix for AMD CI workflow (#38349)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "utils/notification_service.py",
"patch": "@@ -1313,7 +1313,7 @@ def pop_default(l: list[Any], i: int, default: Any) -> Any:\n event_payload = json.load(fp)\n # The event that triggers the `workflow_run` event.\n if \"workflow_run\" in event_payload:\n- ... | 2025-05-25T09:15:31 |
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.