repo
stringclasses
10 values
pr_number
int64
7
155k
title
stringlengths
4
137
body
stringlengths
0
68.4k
buggy_commit
stringlengths
40
40
fix_commit
stringlengths
40
40
buggy_distance
int64
1
30
confidence
stringclasses
3 values
files
listlengths
1
5
vercel/next.js
20,432
Update sharp optional dependency to support NPM 7
Sharp 0.26.3 updates prebuild-install to ^6.0.0 which fixes an incompatibility with NPM 7. See https://github.com/lovell/sharp/pull/2419 and https://github.com/prebuild/prebuild-install/pull/128
3140e40db7c4c24ceb189779242e14b1d2b09caf
a9c7c9a5f57bef1cb914eeed796acc65b9ca2559
6
medium
[ { "filename": "packages/next/package.json", "patch": "@@ -112,7 +112,7 @@\n \"react-dom\": \"^16.6.0 || ^17\"\n },\n \"optionalDependencies\": {\n- \"sharp\": \"0.26.2\"\n+ \"sharp\": \"0.26.3\"\n },\n \"devDependencies\": {\n \"@babel/code-frame\": \"7.10.4\",", "additions": 1, ...
huggingface/transformers
41,416
Stop collecting all model parameters to save models when using DeepSpeed and LoRA
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
7f52a2a4ea8ab49b7f069df7fac58a5b280d4919
89998bddcab4e3d5ee03ed9fa1bf1a9339584709
5
medium
[ { "filename": "src/transformers/trainer.py", "patch": "@@ -4021,7 +4021,16 @@ def save_model(self, output_dir: str | None = None, _internal_call: bool = False\n self._save(output_dir, state_dict=state_dict)\n elif self.is_deepspeed_enabled:\n try:\n- st...
electron/electron
49,041
fix: exception when reading system certificates via nodejs
Backport of #49028 See that PR for details. Notes: fix crash when reading system certificates via nodejs tls module
d9446924dcdd0451f924ea620f968cedc1bdea41
0812f7ee86ea53c147adb21beb9e92d549b4d8f6
6
medium
[ { "filename": "patches/node/.patches", "patch": "@@ -42,3 +42,4 @@ api_promote_deprecation_of_v8_context_and_v8_object_api_methods.patch\n src_use_cp_utf8_for_wide_file_names_on_win32.patch\n fix_ensure_traverseparent_bails_on_resource_path_exit.patch\n reland_temporal_unflag_temporal.patch\n+src_handle_der...
nodejs/node
60,915
doc: add missing `zstd` to mjs example of zlib
For reference, cjs example already has `zstd` as compression encoding. 1. Client request example (1) mjs https://github.com/nodejs/node/blob/6f7f51b8f104dcebb96ac407b489719cc51e124a/doc/api/zlib.md#L237-L273 (2) cjs https://github.com/nodejs/node/blob/6f7f51b8f104dcebb96ac407b489719cc51e124a/doc/api/zlib.m...
null
80e0779a8195a65c05ab7268031ddf15715be382
null
low
[ { "filename": "doc/api/zlib.md", "patch": "@@ -244,7 +244,7 @@ import { pipeline } from 'node:stream';\n const request = http.get({ host: 'example.com',\n path: '/',\n port: 80,\n- headers: { 'Accept-Encoding': 'br,gzip,deflate'...
ggml-org/llama.cpp
19,326
scripts: update corpus of compare-logprobs
The current behavior of compare-logprobs is to repeat the text if it's too short. However, this makes it too easy to guess the next token from the model's perspective, so results for long context doesn't make sense (example: https://github.com/ggml-org/llama.cpp/issues/19305#issuecomment-3844558616) With the new beh...
null
c747294b2d70a00a91713abe62fb7890c5893c5c
null
low
[ { "filename": "scripts/compare-logprobs.py", "patch": "@@ -25,16 +25,12 @@\n \"\"\"\n \n \n-def generate_input_prompt(length: int) -> list[str]:\n- CORPUS = \"\"\"\n- You are an advanced AI assistant capable of using tools to gather information, perform calculations, or execute tasks. Always think ste...
facebook/react
32,847
[RN] Map Fabric priorities to reconciler priorities correctly
## Summary This fixes how we map priorities between Fabric and the React reconciler. At the moment, we're only considering default and discrete priorities, when there's a larger range of priorities available. In Fabric, we'll test supporting additional priorities soon. For that test to do something useful, we nee...
efb22d8850382c3b53c1b2b8d22036d7e6cc9488
5e9b48778c83dd8b2c63966db3e23abefebe910c
14
medium
[ { "filename": "packages/react-native-renderer/src/ReactFiberConfigFabric.js", "patch": "@@ -18,6 +18,8 @@ import {\n NoEventPriority,\n DefaultEventPriority,\n DiscreteEventPriority,\n+ ContinuousEventPriority,\n+ IdleEventPriority,\n type EventPriority,\n } from 'react-reconciler/src/ReactEventPr...
ollama/ollama
7,899
ci: skip go build for tests
`go build` largely repeats what's already happening in `go test`, and by reducing to `go test` my hope is we can speed it up even more
null
aed1419c64748f31e66fe04875a6696b70761038
null
low
[ { "filename": ".github/workflows/test.yaml", "patch": "@@ -243,7 +243,7 @@ jobs:\n $env:PATH=\"$gopath;$gccpath;$env:PATH\"\n echo $env:PATH\n if (!(gcc --version | select-string -quiet clang)) { throw \"wrong gcc compiler detected - must be clang\" }\n- make -j 4 ...
huggingface/transformers
42,844
[modular] Fix a weird renaming edge-case
# What does this PR do? As per the title. Needed for https://github.com/huggingface/transformers/pull/36895 (see https://github.com/huggingface/transformers/pull/36895#issuecomment-3635144592)
null
8d526c238ac1d32b181b62b564b90149be38e6f9
null
low
[ { "filename": "examples/modular-transformers/modeling_test_suffix.py", "patch": "@@ -0,0 +1,250 @@\n+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨\n+# This file was automatically generated from examples/modular-transformers/modula...
vuejs/vue
6,760
feat($core): call data method with this (#6739)
#6739 <!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one) -...
8295f716657ffe516f30e84f29ca94f4a0aefabf
3a5432a9e3f470ebafcef905281b830537897037
29
medium
[ { "filename": "src/core/instance/state.js", "patch": "@@ -161,7 +161,7 @@ function initData (vm: Component) {\n \n function getData (data: Function, vm: Component): any {\n try {\n- return data.call(vm)\n+ return data.call(vm, vm)\n } catch (e) {\n handleError(e, vm, `data()`)\n return {}"...
ollama/ollama
7,939
Add generate endpoint for structured outputs
Follow up to #7900
630e7dc6ff461cc957a1314d8f27986f0d7b92ca
c6c526275d6c8ab2a3b70d5cf0071f9630e626f0
1
medium
[ { "filename": "api/types.go", "patch": "@@ -67,7 +67,7 @@ type GenerateRequest struct {\n \tRaw bool `json:\"raw,omitempty\"`\n \n \t// Format specifies the format to return a response in.\n-\tFormat string `json:\"format\"`\n+\tFormat json.RawMessage `json:\"format,omitempty\"`\n \n \t// KeepAlive controls...
electron/electron
49,017
fix: only call popup closecallback for top-level menu
#### Description of Change Closes https://github.com/electron/electron/issues/49005. Fixes an issue where the close callback param for `menu.popup` would fire when any arbitrary submenu of the given menu closed, and not the menu itself. Fix this by ensuring that `menuDidClose` checks for the menu being the cor...
null
e4f02faa0a5e67dbae663014255862c22dd2c2ce
null
low
[ { "filename": "shell/browser/ui/cocoa/electron_menu_controller.mm", "patch": "@@ -563,16 +563,22 @@ - (void)menuWillOpen:(NSMenu*)menu {\n }\n \n - (void)menuDidClose:(NSMenu*)menu {\n- if (isMenuOpen_) {\n- isMenuOpen_ = NO;\n- if (model_)\n- model_->MenuWillClose();\n- // Post async task so...
vercel/next.js
88,117
Turbopack: fix order of breadth first edges
### What? It's a VecDeque and we are calling pop_front() so we don't want to reverse the roots
null
5cddef4fd4227a8eddc8f300c7bfb5c887801158
null
low
[ { "filename": "turbopack/crates/turbo-tasks/src/graph/adjacency_map.rs", "patch": "@@ -136,12 +136,7 @@ where\n pub fn into_breadth_first_edges(self) -> IntoBreadthFirstEdges<T, E> {\n IntoBreadthFirstEdges {\n adjacency_map: self.adjacency_map,\n- queue: self\n- ...
vercel/next.js
87,398
[strict-route-types] Switch to `satisfies` when validating page and route modules
Reverts https://github.com/vercel/next.js/pull/83239 flagged behind `experimental.strictRouteTypes`. Makes the error messages a bit friendlier since we no longer need these `__*` helper types which made it harder to grok what we were actually doing. `satisfies` is available since TypeScript 4.9. Our lowest suppor...
0f2bbc9a2d07adbcfa5ec1ebe22e3e2f61a2a63a
502a3d1f9648a276fce797c2940895129cb35ea7
1
medium
[ { "filename": "packages/next/src/server/lib/router-utils/typegen.ts", "patch": "@@ -688,18 +688,12 @@ export function generateValidatorFileStrict(\n ? `${type}<${JSON.stringify(route)}>`\n : type\n \n- // NOTE: we previously used `satisfies` here, but it's not supported by Typ...
ggml-org/llama.cpp
19,645
cuda : enable CUDA graphs for MMID 1 <= BS <= 4
cont #19644 cont #18958 cont #19521 Enable CUDA graphs for ggml graphs with `GGML_OP_MUL_MAT_ID` at `1 < BS <= 4`. Improves the performance for parallel generation of up to 4 sequences. This is useful for example when running multiple local agents in parallel (https://github.com/ggml-org/llama.cpp/discussions/19...
1725e316c1a780759ec134ca5a2999f4d53ce273
ad8207af7730bd6675652319263b578e24a5c0e4
29
medium
[ { "filename": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -2278,11 +2278,12 @@ static void ggml_cuda_mul_mat_id(ggml_backend_cuda_context & ctx, ggml_tensor *\n \n const int cc = ggml_cuda_info().devices[ggml_cuda_get_device()].cc;\n \n+ // [TAG_MUL_MAT_ID_CUDA_GRAPHS]\n if (src1->type == GGM...
nodejs/node
60,872
test: skip SEA inspect test if inspector is not available
null
4ea921bdbf94c11e86ef6b53aa7425c6df42876a
null
low
[ { "filename": "test/sea/test-single-executable-application-inspect.js", "patch": "@@ -16,6 +16,7 @@ const {\n } = require('../common/sea');\n \n skipIfSingleExecutableIsNotSupported();\n+common.skipIfInspectorDisabled();\n \n const configFile = tmpdir.resolve('sea-config.json');\n const seaPrepBlob = tmpdir...
vuejs/vue
6,736
Add slot v-bind warning (fix #6677)
v-bind with not object warning close #6677 <!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this ...
dae173d96d15f47de6ce6961354d5c05e4273005
514b90b64770cba9f905d2dff59dfa0e064e580c
18
medium
[ { "filename": "src/core/instance/render-helpers/render-slot.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-import { extend, warn } from 'core/util/index'\n+import { extend, warn, isObject } from 'core/util/index'\n \n /**\n * Runtime helper for rendering <slot>\n@@ -15,6 +15,12 @@ export function render...
vercel/next.js
87,633
[strict-route-types] Don't reject `number` in `config.api.bodyParser.sizeLimit` when validating route
Not flagged behind `experimental.strictRouteTypes`. This is just a bug fix. Got revealed once we typechecked routes in pure Pages Router apps e.g. ``` .next/types/validator.ts:76:11 Type error: Type 'typeof import("~/pages/api/hello")' does not satisfy the expected type 'ApiRouteConfig'. The types of 'config.a...
502a3d1f9648a276fce797c2940895129cb35ea7
79040a318d29641eb3d96a5a47c92a5f8506e826
3
high
[ { "filename": "packages/next/src/server/lib/router-utils/typegen.ts", "patch": "@@ -574,7 +574,7 @@ export function generateValidatorFile(\n default: (req: any, res: any) => ReturnType<NextApiHandler>\n config?: {\n api?: {\n- bodyParser?: boolean | { sizeLimit?: string }\n+ bodyParser?: b...
facebook/react
32,839
[eprh] Temporarily disable ref access in render validation
This rule currently has a few false positives, so let's disable it for now (just in the eslint rule, it's still enabled in the compiler) while we iterate on it.
null
ff697fc58be53dd485bd2babb826bc6cd664929c
null
low
[ { "filename": "compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts", "patch": "@@ -92,36 +92,8 @@ const tests: CompilerTestCases = {\n }\n `,\n },\n- {\n- // Don't report the issue if Flow already has\n- name: '[InvalidInput] Ref access during re...
ggml-org/llama.cpp
19,870
gguf : fix ftell/fseek for Windows
Regression introduced in #19856. This changes the `ftell/fseek` calls to use `_ftelli64/_fseeki64` on Windows, and `ftello/fseeko` for POSIX systems. `long` on Windows is always 32-bit. Since that would cause an overflow on large files, `ftell/fseek` fails and `nbytes_remain()` returns `0`. fixes #19862 fixes...
418dea39cea85d3496c8b04a118c3b17f3940ad8
a96a1120b45c011ef6ed38bcb3fc455209ea5b9e
3
medium
[ { "filename": "ggml/src/gguf.cpp", "patch": "@@ -18,6 +18,14 @@\n #define GGUF_MAX_STRING_LENGTH (1024*1024*1024)\n #define GGUF_MAX_ARRAY_ELEMENTS (1024*1024*1024)\n \n+#ifdef _WIN32\n+# define gguf_ftell _ftelli64\n+# define gguf_fseek _fseeki64\n+#else\n+# define gguf_ftell ftello\n+# define...
huggingface/transformers
42,715
[Devstral] Make sure FP8 conversion works correctly
Improve script for FP8 conversion. Tested on all relevant checkpoints (both Devstral 2 & Ministral 3B Reasoning & 14B - FP8)
null
7960b5ea40a310fdd55ec8eadbc38671965f6e42
null
low
[ { "filename": "src/transformers/models/ministral3/convert_ministral3_weights_to_hf.py", "patch": "@@ -35,46 +35,48 @@\n \n \n # fmt: off\n-STATE_DICT_MAPPING = {\n- # Text model keys\n- r\"^output.weight\": r\"lm_head.weight\",\n- r\"^norm.weight\": ...
ollama/ollama
7,932
fix unmarshaling merges
some models uses `[][]string` as `.model.merges` value rather than `[]string`
null
eb8366d6580cbdcd46996f0c95794110257260f3
null
low
[ { "filename": "convert/tokenizer.go", "patch": "@@ -10,6 +10,7 @@ import (\n \t\"log/slog\"\n \t\"os\"\n \t\"slices\"\n+\t\"strings\"\n \n \t\"golang.org/x/exp/maps\"\n )\n@@ -60,7 +61,25 @@ func parseTokenizer(fsys fs.FS, specialTokenTypes []string) (*Tokenizer, error)\n \t\t\taddedTokens[t.Content] = t\n ...
electron/electron
49,046
fix: only call popup closecallback for top-level menu
Backport of #49017 See that PR for details. Notes: Fixed an issue where the close callback param for `menu.popup` would fire when any arbitrary submenu of the given menu closed, and not the menu itself.
null
23ef7bc7033d6e3893a13ba7b76bfc947962c870
null
low
[ { "filename": "shell/browser/ui/cocoa/electron_menu_controller.mm", "patch": "@@ -563,16 +563,22 @@ - (void)menuWillOpen:(NSMenu*)menu {\n }\n \n - (void)menuDidClose:(NSMenu*)menu {\n- if (isMenuOpen_) {\n- isMenuOpen_ = NO;\n- if (model_)\n- model_->MenuWillClose();\n- // Post async task so...
huggingface/transformers
42,685
Fix BLT training_ci overfit test
What does this PR do? This PR fixes the BLT entry in the new training CI by making the tiny BLT model both: - reliably overfit the fixed batch for generation, and - pass the training gradient-norm reduction checks with BLT-specific thresholds. In the current setup, the tiny BLT config used in `BltModelTest::tes...
c7aec088a63183292518359880271e2e93a288cc
0f97c688d53e38967d53189f79e7b9d2ebf02282
6
medium
[ { "filename": "src/transformers/models/blt/modeling_blt.py", "patch": "@@ -444,6 +444,155 @@ class BltPreTrainedModel(PreTrainedModel):\n \"attentions\": OutputRecorder(BltSelfAttention, index=1, layer_name=\"local_decoder\"),\n }\n \n+ @torch.no_grad()\n+ def _init_weights(self, module):\...
vuejs/vue
6,745
Extend config keyCodes property type to accept an array of numbers
<!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one) - [ ] Bugf...
null
64e394384291f18bfbced6c8947c88f4bbf6545e
null
low
[ { "filename": "types/vue.d.ts", "patch": "@@ -80,7 +80,7 @@ export declare class Vue {\n errorHandler(err: Error, vm: Vue, info: string): void;\n warnHandler(msg: string, vm: Vue, trace: string): void;\n ignoredElements: string[];\n- keyCodes: { [key: string]: number };\n+ keyCodes: { [key...
facebook/react
32,840
Send notification to Discord if automated publish fails
## Summary Only enabled for the nightly releases not manual releases to avoid spam in case of testing. It's easy to miss if automated publish fails e.g. due to expired tokens. This will send a notification to the same channel PR notifications are sent. ## How did you test this change? yolo
null
096dd7385dfc6e9732d588189e59c8c6fe7a4975
null
low
[ { "filename": ".github/workflows/runtime_prereleases.yml", "patch": "@@ -13,7 +13,14 @@ on:\n dist_tag:\n required: true\n type: string\n+ enableFailureNotification:\n+ description: 'Whether to notify the team on Discord when the release fails. Useful if this workflow is ca...
nodejs/node
60,900
tools: update nixpkgs-unstable to 59b6c96beacc898566c9be1052ae806f383
This is an automated update of nixpkgs-unstable to 59b6c96beacc898566c9be1052ae806f383.
null
85852a3221b17f4d10d35e9abf94d676a81c3120
null
low
[ { "filename": "tools/nix/pkgs.nix", "patch": "@@ -1,10 +1,10 @@\n arg:\n let\n repo = \"https://github.com/NixOS/nixpkgs\";\n- rev = \"a8d610af3f1a5fb71e23e08434d8d61a466fc942\";\n+ rev = \"59b6c96beacc898566c9be1052ae806f3835f87d\";\n nixpkgs = import (builtins.fetchTarball {\n url = \"${repo}/ar...
electron/electron
49,047
fix: only call popup closecallback for top-level menu
Backport of #49017 See that PR for details. Notes: Fixed an issue where the close callback param for `menu.popup` would fire when any arbitrary submenu of the given menu closed, and not the menu itself.
3d5f13a44a678d779dcdeb9ad85a0586e778dee3
4bd6182e8328a668f78ab25d4d2029c3e0ba50e8
19
medium
[ { "filename": "shell/browser/ui/cocoa/electron_menu_controller.mm", "patch": "@@ -563,16 +563,22 @@ - (void)menuWillOpen:(NSMenu*)menu {\n }\n \n - (void)menuDidClose:(NSMenu*)menu {\n- if (isMenuOpen_) {\n- isMenuOpen_ = NO;\n- if (model_)\n- model_->MenuWillClose();\n- // Post async task so...
ggml-org/llama.cpp
19,866
models : fix graph splits
fix #19860 fix #19864 Ensure the node order of Qwen 3.5 graphs is suitable for multi-GPU systems.
null
244641955f6146f7e8474afff7772d427593a534
null
low
[ { "filename": "src/models/kimi-linear.cpp", "patch": "@@ -116,6 +116,8 @@ llm_build_kimi_linear::llm_build_kimi_linear(const llama_model & model, const ll\n cur = build_norm(inpL, layer.attn_norm, NULL, LLM_NORM_RMS, il);\n cb(cur, \"attn_norm\", il);\n \n+ ggml_build_forward_expand(g...
vercel/next.js
88,102
test: reduce flakiness in opentelemetry test for prod mode
## Summary Reduces flakiness in the OpenTelemetry e2e test (`test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts`) for production mode. ### Root Cause In production mode, Next.js generates additional spans from: - RSC prefetch requests (with `?_rsc` query param) - Edge runtime boundary spans These extra roo...
null
c5b19eb7f5cf48dffa1b8bf87cd089f079fb031a
null
low
[ { "filename": "test/e2e/opentelemetry/instrumentation/instrumentation-test.ts", "patch": "@@ -71,13 +71,13 @@ class TestExporter implements SpanExporter {\n code: ExportResultCode.FAILED,\n error: new Error(`http status ${response.status}`),\n })\n+ return\n }\n+ ...
huggingface/transformers
42,863
typo
just a typo # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please...
null
298d08dc36fca2ebb8669e122036d9a3ce1f54b1
null
low
[ { "filename": "src/transformers/models/auto/auto_factory.py", "patch": "@@ -543,7 +543,7 @@ def add_generation_mixin_to_remote_model(model_class):\n \n class _LazyAutoMapping(OrderedDict[type[PreTrainedConfig], _LazyAutoMappingValue]):\n \"\"\"\n- \" A mapping config to object (model or tokenizer for...
vercel/next.js
88,105
Rename CLAUDE.md to AGENTS.md with symlink
### Keep `AGENTS.md` as main instruction file to benefit for more coding agents. Symblink `CLAUDE.md` to it to ensure claude code can still work as it's currently not supporting AGENTS.md ### Verification ``` > What's the dev server entry point? ⏺ The dev server entry point is packages/next/src/cli/next-de...
3c47bd99afb7babc202898f71a815a8663db42b1
8fd79ff42e8b1ac82db104fca7a38dfa9cfa902e
3
medium
[ { "filename": ".alexignore", "patch": "@@ -2,4 +2,5 @@ CODE_OF_CONDUCT.md\n examples/\n **/*/LICENSE.md\n .claude/\n+AGENTS.md\n CLAUDE.md", "additions": 1, "deletions": 0 }, { "filename": "AGENTS.md", "patch": "@@ -0,0 +1,205 @@\n+# Next.js Development Guide\n+\n+## Git Workflow\n+\n+**...
ollama/ollama
7,936
ci: adjust windows compilers for lint/test
null
3a53575ba99a7ae60d6df8eaf9f3daa3a2d1dd42
null
low
[ { "filename": ".github/workflows/test.yaml", "patch": "@@ -269,6 +269,15 @@ jobs:\n - uses: actions/checkout@v4\n with:\n submodules: recursive\n+ - name: Add msys paths\n+ if: ${{ startsWith(matrix.os, 'windows-') }}\n+ run: |\n+ echo \"c:\\msys64\\usr\\b...
facebook/react
32,823
Fix `Failed to execute 'measure' on 'Performance'` error
When `startTime` still has its initial value of `-1.1` we must not call `logComponentMount`. This can occur when rendering a `'next/dynamic'` component with `{ssr: false}` in a client component, for example. Unfortunately, I didn't manage to reproduce this scenario in a unit test.
efb22d8850382c3b53c1b2b8d22036d7e6cc9488
336614679600af371b06371c0fbdd31fd9838231
4
medium
[ { "filename": "packages/react-reconciler/src/ReactFiberCommitWork.js", "patch": "@@ -3756,7 +3756,7 @@ function commitPassiveMountOnFiber(\n ) {\n // Log the reappear in the render phase.\n const startTime = ((finishedWork.actualStartTime: any): number);\n- if (e...
facebook/react
32,822
Workaround against display: inline bug in Safari
Safari has a bug where if you put a block element inside an inline element and the inline element has a `view-transition-name` assigned it finds it as duplicate names. https://bugs.webkit.org/show_bug.cgi?id=290923 This adds a warning if we detect this scenario in dev mode. For the case where it renders into a...
efb22d8850382c3b53c1b2b8d22036d7e6cc9488
365c031fd2354e94248ed9390f13fe2975b994f6
3
medium
[ { "filename": "fixtures/view-transition/src/components/Page.js", "patch": "@@ -113,7 +113,9 @@ export default function Page({url, navigate}) {\n \n const exclamation = (\n <ViewTransition name=\"exclamation\" onShare={onTransition}>\n- <span>!</span>\n+ <span>\n+ <div>!</div>\n+ ...
vuejs/vue
6,322
close #6097: Allow defining optional inject dependency with default values
Allow to define inject as object with name and default properties. The default is used if no provide is found, and no warning is emitted. close #6097 <!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PUL...
null
88423fc66a2a4917dcdb7631a4594f05446283b1
null
low
[ { "filename": "src/core/instance/inject.js", "patch": "@@ -49,7 +49,7 @@ export function resolveInject (inject: any, vm: Component): ?Object {\n \n for (let i = 0; i < keys.length; i++) {\n const key = keys[i]\n- const provideKey = inject[key]\n+ const provideKey = inject[key].name\n ...
nodejs/node
60,899
deps: update sqlite to 3.51.1
This is an automated update of sqlite to 3.51.1.
null
b9a1af95f871d4c749abd11d0c5b65b33a85cfe9
null
low
[ { "filename": "deps/sqlite/sqlite3.c", "patch": "@@ -1,6 +1,6 @@\n /******************************************************************************\n ** This file is an amalgamation of many separate C source files from SQLite\n-** version 3.51.0. By combining all the individual C code files into this\n+** v...
ggml-org/llama.cpp
19,854
server: fix query params lost when proxying requests in multi-model router mode
*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR* ### Purpose: When the multi-model router proxies requests to child servers, query parameters are lost because httplib strips them from the path; this patch preserves them by re...
null
47eb12b95325d04af1d938130fdc73ad1902f5a5
null
low
[ { "filename": "tools/server/server-http.cpp", "patch": "@@ -339,6 +339,17 @@ static std::map<std::string, std::string> get_headers(const httplib::Request & r\n return headers;\n }\n \n+static std::string build_query_string(const httplib::Request & req) {\n+ std::string qs;\n+ for (const auto & [ke...
facebook/react
32,825
fix: incorrect type in getTypeSymbol
`getTypeSymbol` also returns string
b10cb4c01ec1ae41b67422239d919f261fefa7d1
a9d63f3f9798355cd814237b5f5391d6adbfa750
5
medium
[ { "filename": "packages/react-devtools-shared/src/backend/fiber/renderer.js", "patch": "@@ -248,7 +248,7 @@ function createVirtualInstance(\n type DevToolsInstance = FiberInstance | VirtualInstance | FilteredFiberInstance;\n \n type getDisplayNameForFiberType = (fiber: Fiber) => string | null;\n-type getTyp...
ollama/ollama
7,906
Update README.md
Hey Ollama builders! That's a small update for README, I added a Minima project that use OIlama docker container. Thank you!
30a9f063c94ec171b62e0b12948e1efe6c112e9f
1aedffad93e7879fc9a3e4f9eb65467a6436e7e5
5
medium
[ { "filename": "README.md", "patch": "@@ -359,6 +359,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [Nosia](https://github.com/nosia-ai/nosia) (Easy to install and use RAG platform based on Ollama)\n - [Witsy](https://github.com/nbonamy/witsy) (An AI Desktop application avaiable for M...
electron/electron
48,181
fix: showMessageDialog should center dialog to parent
#### Description of Change Closes https://github.com/electron/electron/issues/23001. Fixes an issue where dialog.showMessageDialog showed a window incorrectly centered to monitor instead of parent window when passed. <details><summary>Before</summary> <p> <img width="939" height="667" alt="Screenshot 2025-...
null
7373173e44d25c90a5127ad5c7b49295c12117a7
null
low
[ { "filename": "shell/browser/ui/message_box_win.cc", "patch": "@@ -160,6 +160,7 @@ DialogResult ShowTaskDialogWstr(gfx::AcceleratedWidget parent,\n \n if (parent) {\n config.hwndParent = parent;\n+ config.dwFlags |= TDF_POSITION_RELATIVE_TO_WINDOW;\n }\n \n if (default_id > 0)", "additions"...
vuejs/vue
5,977
Add .bare event modifier, fix #5976
Add a new event modifier `.bare` to check if event is "bare" (no shift/ctrl/meta/alt key is pressed) <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [x] Feature - [ ] Code style update - [ ] ...
2431d3d74396b33a2a120a835cfe7a776f06e277
9734e878ec4efe59f40fc97d9ef86273ad58a430
2
medium
[ { "filename": "src/compiler/codegen/events.js", "patch": "@@ -87,6 +87,14 @@ function genHandler (\n if (keyCodes[key]) {\n keys.push(key)\n }\n+ } else if (key === 'exact') {\n+ const modifiers: ASTModifiers = (handler.modifiers: any)\n+ genModifierCode += genGu...
electron/electron
49,022
build: automatically install git for dugite
#### Description of Change - followup to #48243. This adds dugite as a module that can run postinstall scripts so that we don't have to manually install git for dugite. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github....
537fd7b10bd5f9045db863ceb997976e20cce1a1
203540c8aad6ac91a56933238fd33db95e027393
7
medium
[ { "filename": ".github/actions/install-dependencies/action.yml", "patch": "@@ -22,6 +22,3 @@ runs:\n export npm_config_arch=\"ia32\"\n fi\n node script/yarn.js install --immutable\n- if [ \"$BUILD_TYPE\" = \"win\" ]; then\n- node node_modules/dugite/script/download-git.js\n- ...
facebook/react
32,821
[Bugfix] Infinite uDV loop in popstate event
Found a bug that occurs during a specific combination of very subtle implementation details. It occurs sometimes (not always) when 1) a transition is scheduled during a popstate event, and 2) as a result, a new value is passed to an already-mounted useDeferredValue hook. The fix is relatively straightforward, and...
731ae3e0ade1ac2a79e5f9f52b3244f3d02d5ac8
6a7650c75c1bc110517bd9b3eefdc66eadbb9cbf
12
medium
[ { "filename": "packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js", "patch": "@@ -776,6 +776,74 @@ describe('ReactDOMFiberAsync', () => {\n });\n });\n \n+ it('regression: useDeferredValue in popState leads to infinite deferral loop', async () => {\n+ // At the time this test was written,...
ggml-org/llama.cpp
19,848
model : Update label for LFM2-24B-A2B
GGUFs will be in https://huggingface.co/LiquidAI/LFM2-24B-A2B-GGUF. ``` ❯ build/bin/llama-bench -m /data/playground/checkpoints/LFM2-24B-A2B-Preview-Q4_0.gguf,/data/playground/checkpoints/LFM2-8B-A1B-Q4_0.gguf -p 1 -n 0 | model | size | params | backend | threads | ...
ae2368e74eb2c280629ce6cf80edb88d72d23495
da426cb25031928bcbc0d822bbd5ac3491ed4c13
17
medium
[ { "filename": "src/llama-model.cpp", "patch": "@@ -123,6 +123,7 @@ const char * llm_type_name(llm_type type) {\n case LLM_TYPE_8B_A1B: return \"8B.A1B\";\n case LLM_TYPE_16B_A1B: return \"16B.A1B\";\n case LLM_TYPE_21B_A3B: return \"21B.A3B\";\n+ case LLM_TY...
ollama/ollama
7,898
cmd: don't rely on reading repo file for display test
a210ec74d29ee718bca9b3c192e0a93cf86cbf21
ff6c2d6dc88066f30fb21bfeb454c017c4123a55
14
medium
[ { "filename": "cmd/cmd_test.go", "patch": "@@ -8,7 +8,6 @@ import (\n \t\"net/http\"\n \t\"net/http/httptest\"\n \t\"os\"\n-\t\"path/filepath\"\n \t\"strings\"\n \t\"testing\"\n \n@@ -180,18 +179,14 @@ Weigh anchor!\n \n \tt.Run(\"license\", func(t *testing.T) {\n \t\tvar b bytes.Buffer\n-\t\tlicense, err :...
vuejs/vue
6,730
fix: pass errors encountered within nextTick to Vue.config.errorHandler
**What kind of change does this PR introduce?** (check at least one) - [x] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor - [ ] Build-related changes - [ ] Other, please describe: **Does this PR introduce a breaking change?** (check one) - [ ] Yes - [x] No If yes, please describe the impa...
df868c707f6196f84a5cb0c78c7c9a2ba0860fc2
ae347a52259b24507a9c747c80d78a6beaa36de0
17
medium
[ { "filename": "src/core/util/env.js", "patch": "@@ -89,7 +89,7 @@ export const nextTick = (function () {\n /* istanbul ignore if */ // $flow-disable-line\n if (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve()\n- var logError = err => { console.error(err) }\n+ ...
electron/electron
49,029
build: automatically install git for dugite
Backport of #49022 See that PR for details. Notes: <!-- Please add a one-line description for app developers to read in the release notes, or 'none' if no notes relevant to app developers. Examples and help on special cases: https://github.com/electron/clerk/blob/main/README.md#examples -->none
fe32528c5088fe98eef9c80c2fe95e6d30bb47bc
8dbc6c14e57e275fe6f8ea6bafa72a76ff6a7bef
5
medium
[ { "filename": ".github/actions/install-dependencies/action.yml", "patch": "@@ -22,6 +22,3 @@ runs:\n export npm_config_arch=\"ia32\"\n fi\n node script/yarn.js install --immutable\n- if [ \"$BUILD_TYPE\" = \"win\" ]; then\n- node node_modules/dugite/script/download-git.js\n- ...
huggingface/transformers
42,839
[CB] Easy optimizations for continuous batching
## Summary This PR adds a few optimizations for continuous batching: - removes non-needed `torch.cuda.synchronize` - add sorting of the inputs to maximize prefix caching hits - sampling is done on the GPU - removed an extranuous axis from the output_ids ## Performance | Attention | Version | Ge...
null
f3d5f2558b75369416ffe255a87a34358d08e429
null
low
[ { "filename": "examples/pytorch/continuous_batching.py", "patch": "@@ -182,13 +182,16 @@ def batch_generate(\n \n # Benchmark parameters\n parser.add_argument(\"--samples\", type=int, default=500, help=\"Number of samples to generate\")\n+ parser.add_argument(\n+ \"--input-length\", type=i...
facebook/react
32,816
Log Mount/Unmount/Reconnect/Disconnect in the Component Track
Stacked on #32815. To be able to differentiate mounted subtrees from updated subtrees. This adds a yellow entry above the component subtree that mounted. This is added both to the render phase, mutation effect phase, layout effect phase and passive effect phase. <img width="962" alt="Screenshot 2025-04-03 at 10 4...
c0f08ae74a46686f5718e9e6c511d27419fd632c
540cd65252ced9f970fb97d5f5b7f029bd7cac83
1
medium
[ { "filename": "packages/react-reconciler/src/ReactFiberCommitWork.js", "patch": "@@ -132,6 +132,10 @@ import {\n logComponentRender,\n logComponentErrored,\n logComponentEffect,\n+ logComponentMount,\n+ logComponentUnmount,\n+ logComponentReappeared,\n+ logComponentDisappeared,\n } from './ReactFi...
vercel/next.js
88,069
fix: revalidateTag with profile should not trigger client cache invalidation
## Summary Fixes a bug where calling `revalidateTag(tag, profile)` incorrectly triggers client-side cache invalidation, causing read-your-own-writes behavior that violates stale-while-revalidate semantics. ### The Problem When `revalidateTag('tag', 'max')` is called in a server action: 1. The tag is correctly marked...
null
fa56f2c1fa02fcaeca08358725a9565a7a5997ac
null
low
[ { "filename": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -160,7 +160,14 @@ function addRevalidationHeader(\n // TODO-APP: Currently paths are treated as tags, so the second element of the tuple\n // is always empty.\n \n- const isTagRevalidated = workStore.pendingRevalidatedT...
ollama/ollama
7,216
Update README.md
added three projects
52bbad12f96e84f7d62c5dfdd7dbba2b10b37344
30a9f063c94ec171b62e0b12948e1efe6c112e9f
6
medium
[ { "filename": "README.md", "patch": "@@ -346,6 +346,9 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [Web management](https://github.com/lemonit-eric-mao/ollama-web-management) (Web management page)\n - [Promptery](https://github.com/promptery/promptery) (desktop client for Ollama.)\n ...
nodejs/node
60,896
test: update WPT for WebCryptoAPI to 1e4933113d
This is an automated update of the WPT for WebCryptoAPI to https://github.com/web-platform-tests/wpt/commit/1e4933113d2028e092d07a9e865db8f606b21026.
null
abe7de96efd5ccad9c552c9e1127d89639c21ff7
null
low
[ { "filename": "test/fixtures/wpt/README.md", "patch": "@@ -34,7 +34,7 @@ Last update:\n - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi\n - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi\n - web-locks: https://github.com/web-platform-tes...
facebook/react
32,815
Fix Bugs Measuring Performance Track for Effects
This fixes two bugs with commit phase effect tracking. I missed, or messed up the rebase for, deletion effects when a subtree was deleted and for passive disconnects when a subtree was hidden. The other bug is that when I started using self time (componentEffectDuration) for color and for determining whether to b...
d3b8ff6e589bcacfd1c9b0aa48c42fd1c93001c1
c0f08ae74a46686f5718e9e6c511d27419fd632c
16
medium
[ { "filename": "packages/react-reconciler/src/ReactFiberCommitWork.js", "patch": "@@ -119,6 +119,8 @@ import {\n resetComponentEffectTimers,\n pushComponentEffectStart,\n popComponentEffectStart,\n+ pushComponentEffectDuration,\n+ popComponentEffectDuration,\n pushComponentEffectErrors,\n popComp...
huggingface/transformers
42,871
Remove tied weights from internal attribute if they are not tied
# What does this PR do? As per the title.
e17b1b85e3a895c2b3d44f647270ecc8466f4095
a187b857a72b10bdb37c91857a697324ab41f82d
4
medium
[ { "filename": "src/transformers/modeling_utils.py", "patch": "@@ -2398,13 +2398,15 @@ def tie_weights(self, missing_keys: Optional[set[str]] = None, recompute_mapping\n source_is_there = source_param_name not in missing_keys\n target_is_there = target_param_name not in missin...
huggingface/transformers
42,838
Do not rely on config for inferring model dtype
# What does this PR do? As per the title. Back to what it was before https://github.com/huggingface/transformers/pull/42805. Relying on the config is an issue in some cases, see https://github.com/huggingface/transformers/pull/42805#issuecomment-3646172797
e6b9d061472afc4ee376573789cd44b0180827f3
5b710c75426639aff3348589fd9095b5f229cb87
2
high
[ { "filename": "src/transformers/modeling_utils.py", "patch": "@@ -883,11 +883,7 @@ def dtype(self) -> torch.dtype:\n \"\"\"\n `torch.dtype`: The dtype of the module (assuming that all the module parameters have the same dtype).\n \"\"\"\n- # Use config dtype, if it's a proper ...
ggml-org/llama.cpp
19,831
server : support max_completion_tokens request property
"max_tokens" is deprectated in favor of "max_completion_tokens" which sets the upper bound for reasoning+output token. Closes: #13700
null
c830f99cfa79d7e627e48de32280838f97b41115
null
low
[ { "filename": "tools/server/server-task.cpp", "patch": "@@ -204,7 +204,8 @@ task_params server_task::params_from_json_cmpl(\n params.cache_prompt = json_value(data, \"cache_prompt\", defaults.cache_prompt);\n params.return_tokens = json_value(data, \"return_tokens\", fa...
vuejs/vue
6,715
fix(compiler): warn when inline-template component has no children (f…
…ix #6703) <!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one)...
null
baabd6d14016c730fe40a4202ae9b8f75e80041c
null
low
[ { "filename": "src/compiler/codegen/index.js", "patch": "@@ -309,7 +309,7 @@ function genDirectives (el: ASTElement, state: CodegenState): string | void {\n function genInlineTemplate (el: ASTElement, state: CodegenState): ?string {\n const ast = el.children[0]\n if (process.env.NODE_ENV !== 'production...
ollama/ollama
7,876
llama: fix typo and formatting in readme
null
39e29ae5ddb9ff710c0e28652b61850f458e1205
null
low
[ { "filename": "llama/README.md", "patch": "@@ -93,7 +93,7 @@ make -j\n \n ## Vendoring\n \n-Ollama currently vendors [llama.cpp](https://github.com/ggerganov/llama.cpp/) and [ggml](https://github.com/ggerganov/ggml) through a vendoring model. While we generally strive to contribute changes back upstream to...
vercel/next.js
88,008
fix: normalize CRLF line endings in jscodeshift tests on Windows
## Summary Fixes flaky jscodeshift codemod tests on Windows CI (e.g., `next-async-request-api-dynamic-apis.test.js`, `built-in-next-font.test.js`, `new-link.test.js`). ### Problem Windows CI runners have `core.autocrlf=true` by default, which causes test failures because: 1. Fixture files get checked out with CRLF ...
100253c450f67eba6b9a0d936c1eedbe3a8446cf
69ae2c10e72e20df6b098197364d354d20376864
28
medium
[ { "filename": ".gitattributes", "patch": "@@ -1,3 +1,6 @@\n+# Enforce LF line endings for all text files (fixes Windows CRLF test flakiness)\n+* text=auto eol=lf\n+\n .github/actions/*/dist/** -text linguist-vendored\n packages/next/bundles/** -text linguist-vendored\n packages/next/compiled/** -text lingui...
nodejs/node
60,883
tools: don't fetch V8 deps in the source tree
The Node.js source tree already includes several V8 DEPS under `deps/v8/third_party` that are needed to build Node.js. Exclude these in `tools/v8/fetch_deps.py` to prevent "Conflicting directory" warnings when running the V8 CI. --- e.g. https://ci.nodejs.org/job/node-test-commit-v8-linux/6886/nodes=benchmark-ubu...
null
90ff75f4320f365751dde91f0c35377e2a41b6a4
null
low
[ { "filename": "tools/v8/fetch_deps.py", "patch": "@@ -26,6 +26,14 @@\n \"custom_deps\" : {\n # These deps are already part of Node.js.\n \"v8/base/trace_event/common\" : None,\n+ \"v8/third_party/abseil-cpp\" : None,\n+ \"v8/third_party/dragonbox/src\" ...
electron/electron
49,021
fix: revert the parent window remained interactive after the modal window was opened
Backport of #48977 See that PR for details. Notes: Fixed the issue where the parent window leave disabled after the modal window call show() multiple time.
543f1670fe9c5dc988408d153129f7503c718f23
3209d817ca8adbab2225e299858ccb667947a3b0
20
medium
[ { "filename": "shell/browser/native_window_views.cc", "patch": "@@ -553,7 +553,7 @@ bool NativeWindowViews::IsFocused() const {\n }\n \n void NativeWindowViews::Show() {\n- if (is_modal() && NativeWindow::parent())\n+ if (is_modal() && NativeWindow::parent() && !widget()->IsVisible())\n static_cast<Na...
facebook/react
31,208
[ESLint] Add test for rejected `useId` in async Components
## Summary Just added tests to make it clear `useId` being disallowed in async Components is intentional. `useId` is allowed in Server Components. However, it doesn't work after `await` so we shouldn't allow it in `async` functions. We'd also disallow it if it's wrapped in a custom hook because we can't know whet...
null
838258144652ab2ef0cbe54d03e9bdd454348d48
null
low
[ { "filename": "packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js", "patch": "@@ -1129,6 +1129,34 @@ const tests = {\n `,\n errors: [asyncComponentHookError('useState')],\n },\n+ {\n+ code: normalizeIndent`\n+ async function Page() {\n+ useId();\n...
huggingface/transformers
42,777
Fixes 2 failing tests from AMD CI
# What does this PR do? Fixes 2 small failing tests - [OPENAIGPTModelLanguageGenerationTest](https://github.com/huggingface/transformers/actions/runs/19983883282/job/57315088128#step:14:1067) - [HeliumIntegrationTest](https://github.com/huggingface/transformers/actions/runs/19983883282/job/57315087965#step:14:1177...
null
f0d9cd1ff60d5fe79191a3223ec752192b0e19b0
null
low
[ { "filename": "tests/models/helium/test_modeling_helium.py", "patch": "@@ -56,7 +56,7 @@ def test_model_2b(self):\n model_id = \"kyutai/helium-1-preview\"\n expected_texts = Expectations(\n {\n- (\"rocm\", (9, 5)): [\"Hello, today is a great day to start a new proj...
ggml-org/llama.cpp
19,793
vulkan: fix coopmat1 without bf16 support
This should fix the CI failure on lavapipe. lavapipe added coopmat1 support recently, but does not have bf16 support, so it falls back to the scalar path. This fallback didn't have quite the same tile size logic for subgroupsize=8 as when going through the scalar path directly.
null
8c2c0108dd77f90c0a5233420601ae05ac735d59
null
low
[ { "filename": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -3780,10 +3780,12 @@ static void ggml_vk_load_shaders(vk_device& device) {\n && !device->coopmat_bf16_support\n #endif\n ) {\n+ const uint32_t s_warptile_wm = device->subgroup_size == 8 ? 8 : 32;\n+\n // use sc...
vuejs/vue
6,735
Improve error msg for non-reactive properties
**What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor - [ ] Build-related changes - [x] Other, please describe: Improved error message. **Does this PR introduce a breaking change?** (check one) - [ ] Yes - [x] No **Oth...
null
cf3be87b68260d9d7e9f3480d9aefeb8bad69e2e
null
low
[ { "filename": "src/core/instance/proxy.js", "patch": "@@ -15,9 +15,11 @@ if (process.env.NODE_ENV !== 'production') {\n \n const warnNonPresent = (target, key) => {\n warn(\n- `Property or method \"${key}\" is not defined on the instance but ` +\n- `referenced during render. Make sure to dec...
facebook/react
32,812
[DevTools] Release and aquire host instances when they're cloned in persistent mode
In persistent mode they can change when they're closned and so we need to release the old copy and acquire the new copy.
f0c767e2a26ec28d808c22f8af2e09f2e20cdcc2
b10cb4c01ec1ae41b67422239d919f261fefa7d1
1
high
[ { "filename": "packages/react-devtools-shared/src/backend/fiber/renderer.js", "patch": "@@ -3345,13 +3345,31 @@ export function attach(\n fiberInstance.firstChild = null;\n }\n try {\n- if (nextFiber.tag === HostHoistable) {\n+ if (\n+ nextFiber.tag === HostHoistable &&\n+ ...
electron/electron
48,977
fix: revert the parent window remained interactive after the modal window was opened
#### Description of Change Addresses https://github.com/electron/electron/issues/48965 This reverts commit https://github.com/electron/electron/commit/068ac3c40519202c9b895570021fba91ea90c1df and PR https://github.com/electron/electron/pull/48770 I will further analyze the original issues, and then submit a PR...
92a910d15c6073caea23dee6682852e17943580f
8f9637fde46c7957cd24dce12c7327a615b4fb30
24
medium
[ { "filename": "shell/browser/native_window_views.cc", "patch": "@@ -553,7 +553,7 @@ bool NativeWindowViews::IsFocused() const {\n }\n \n void NativeWindowViews::Show() {\n- if (is_modal() && NativeWindow::parent())\n+ if (is_modal() && NativeWindow::parent() && !widget()->IsVisible())\n static_cast<Na...
ollama/ollama
7,850
openai: remove unused error code
The writeError takes a code argument which is no longer used. Remove it for clarity.
null
940e62772e68c99cd4cb0b037acf5c16c23e0854
null
low
[ { "filename": "openai/openai.go", "patch": "@@ -571,7 +571,7 @@ type EmbedWriter struct {\n \tmodel string\n }\n \n-func (w *BaseWriter) writeError(code int, data []byte) (int, error) {\n+func (w *BaseWriter) writeError(data []byte) (int, error) {\n \tvar serr api.StatusError\n \terr := json.Unmarshal(data,...
nodejs/node
60,787
src: handle DER decoding errors from system certificates
When decoding certificates from the system store, it's not actually guaranteed to succeed. In case the system returns a certificate that cannot be decoded (might be related to SSL implementation issues), skip them. Refs: https://github.com/microsoft/vscode/issues/277064 <!-- Before submitting a pull request, pleas...
null
f9f343fb8dda773b749db4dee00704f8bbe79c19
null
low
[ { "filename": "src/crypto/crypto_context.cc", "patch": "@@ -507,7 +507,11 @@ void ReadMacOSKeychainCertificates(\n CFRelease(search);\n \n if (ortn) {\n- fprintf(stderr, \"ERROR: SecItemCopyMatching failed %d\\n\", ortn);\n+ per_process::Debug(DebugCategory::CRYPTO,\n+ \"Cann...
electron/electron
48,960
fix: abort more descriptively for beforeunload
#### Description of Change Closes https://github.com/electron/electron/issues/48912 Tracks the target of a pending navigation during beforeunload and, if the unload isn’t prevented, aborts the next load with a descriptive did-fail-load (ERR_ABORTED) instead of letting it fail generically. Also improves docs to po...
537fd7b10bd5f9045db863ceb997976e20cce1a1
13e84e686814ed6b35ace75f636e30be56e5ac1d
3
medium
[ { "filename": "docs/api/browser-window.md", "patch": "@@ -1252,7 +1252,8 @@ Captures a snapshot of the page within `rect`. Omitting `rect` will capture the\n \n Returns `Promise<void>` - the promise will resolve when the page has finished loading\n (see [`did-finish-load`](web-contents.md#event-did-finish-l...
ollama/ollama
7,849
runner.go: Don't try to extract image tags for text models
When processing a prompt, we look for image tags of the form [img-0], which are inserted by the Ollama server process. However, this can cause errors if the original prompt has these tags - typically an image not found error is returned. This changes tag searching behavior to be similar to the 0.3.x series, which wi...
2cd11ae365a9423578069457312dce6b9e1e5a37
71e6a0d0d181e3be45f3e47a677d088479d73c76
1
high
[ { "filename": "llama/runner/runner.go", "patch": "@@ -164,10 +164,16 @@ func (s *Server) NewSequence(prompt string, images []ImageData, params NewSequen\n // generating image embeddings for each image\n func (s *Server) inputs(prompt string, images []ImageData) ([]input, error) {\n \tvar inputs []input\n+\t...
huggingface/transformers
42,830
Fix speccht5_tts pipeline
Fix #42792
null
66623a1fd62d54159ad757b68c0aed8dc229d917
null
low
[ { "filename": "src/transformers/pipelines/text_to_audio.py", "patch": "@@ -117,8 +117,8 @@ def __init__(self, *args, vocoder=None, sampling_rate=None, **kwargs):\n else vocoder\n )\n \n- if self.model.config.model_type in [\"musicgen\"]:\n- # MusicGen expect to ...
ggml-org/llama.cpp
19,790
vulkan: fix data race in mul_mat_id shader
I've been working on automated data race detection (see https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/11717), and it found a data race in the mul_mat_id shaders. All invocations in a subgroup were storing the same value to shared memory, but this is still technically a data race. Just store on the first ...
null
3ea5360c00dbee37b32277627dfae187a61c8180
null
low
[ { "filename": "ggml/src/ggml-vulkan/vulkan-shaders/mul_mm_cm2.comp", "patch": "@@ -167,7 +167,9 @@ void load_row_ids(uint expert_idx, bool nei0_is_pow2, uint ic) {\n uint id = ids[iter++];\n uvec4 ballot = subgroupBallot(in_range && id == expert_idx);\n \n- ballots_sh[gl_SubgroupID] =...
vuejs/vue
6,624
Improve DevTools perfromance user timing measurement name
<!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one) - [ ] Bugf...
null
894d380e40d213771285ffdbee8f0305cbc15bd8
null
low
[ { "filename": "src/core/instance/init.js", "patch": "@@ -21,7 +21,7 @@ export function initMixin (Vue: Class<Component>) {\n let startTag, endTag\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n- startTag = `vue-perf-init:${vm._uid}`\...
huggingface/transformers
42,803
[Fix] Fix FA2 kernels ut
# What does this PR do? This PR fixes the UTs where FA2 falls back to kernels loading. For example `pytest -rA tests/models/sam3/test_modeling_sam3.py::Sam3ModelTest::test_flash_attn_2_can_dispatch_composite_models`. <!-- Your PR will be replied to more quickly if you can figure out the right person to tag with ...
5b710c75426639aff3348589fd9095b5f229cb87
e17b1b85e3a895c2b3d44f647270ecc8466f4095
4
medium
[ { "filename": "src/transformers/modeling_utils.py", "patch": "@@ -155,6 +155,12 @@\n _is_quantized = False\n _is_ds_init_called = False\n \n+# Mapping from flash attention implementations to their kernel fallback repositories\n+FLASH_ATTN_KERNEL_FALLBACK = {\n+ \"flash_attention_2\": \"kernels-community/...
facebook/react
32,808
Minor Tweak to Performance Track
Rename "Suspended" commit to "Suspended on CSS" since that's the only reason for this particular branch. This will not hold true because with suspended images and with view transitions those can also be the reason. So in the future we need to add those. Only log "Blocked" in the components track if we yield for 3ms ...
null
b2f6365745416be4d7dad7799a2cfbfbbf425389
null
low
[ { "filename": "packages/react-reconciler/src/ReactFiberPerformanceTrack.js", "patch": "@@ -284,7 +284,7 @@ export function logComponentEffect(\n export function logYieldTime(startTime: number, endTime: number): void {\n if (supportsUserTiming) {\n const yieldDuration = endTime - startTime;\n- if (y...
ggml-org/llama.cpp
19,767
WebUI: Fix UI single model selection in router mode
Fixed confusing UI behavior introduced by #19374. When in router mode and only one model is available, the single model was correctly highlighted in the drop-down but was not "active". When the enter key was pressed, it would activate the drop-down instead of sending the prompt. This PR moves the router mode sing...
10b26ee23a2d1b563a62db1ea4710cf8b723791a
07968d53e4c4421e227ef816d9732cdd5abfc78d
6
medium
[ { "filename": "tools/server/webui/src/lib/components/app/models/ModelsSelector.svelte", "patch": "@@ -251,9 +251,6 @@\n \t\t\treturn options.find((option) => option.id === activeId);\n \t\t}\n \n-\t\tif (options.length === 1) {\n-\t\t\treturn options[0];\n-\t\t}\n \t\t// No selection - return undefined to s...
ollama/ollama
7,835
runner.go: Add unit tests for context shifting
This also makes it easier to truncate long inputs the same as shifting but does not actually implement it. This type of truncation has a trade off between quality and time to first token.
3478b2cf14c3fa2661c03f7fd5764a63a496293a
2cd11ae365a9423578069457312dce6b9e1e5a37
15
medium
[ { "filename": "llama/runner/cache.go", "patch": "@@ -199,6 +199,20 @@ func countCommonPrefix(a []input, b []input) int {\n \treturn count\n }\n \n+func (c *InputCache) ShiftDiscard(inputLen int, numKeep int) int {\n+\ttargetFree := (c.numCtx - numKeep) / 2\n+\ttargetFree = max(targetFree, 1)\n+\n+\tcurrentF...
vuejs/vue
6,729
Typo fix
https://github.com/vuejs/vue/blob/94512f3e8cee4030a1096121700ed49afab48073/src/platforms/web/entry-compiler.js#L5 <!-- Please make sure to read the Pull Request Guidelines: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ...
924bfec9bcd87ad7be77883d5180613a90d93a4b
dd505438296dcbaae74fd28061600cea07cf25c0
7
medium
[ { "filename": "packages/vue-template-compiler/README.md", "patch": "@@ -90,7 +90,7 @@ This is used by default in `vue-loader@>=12` and can be disabled using the [`opt\n \n ---\n \n-### compiler.ssrCompileToFunction(template)\n+### compiler.ssrCompileToFunctions(template)\n \n > 2.4.0+\n ", "additions": ...
electron/electron
49,011
fix: abort more descriptively for beforeunload
Backport of #48960 See that PR for details. Notes: none
331f8cca47a98b169cbbdc90a44cf04e15f391cf
aeb5af803f7f534f86a99b5482d2bcd36a9cea4a
22
medium
[ { "filename": "docs/api/browser-window.md", "patch": "@@ -1252,7 +1252,8 @@ Captures a snapshot of the page within `rect`. Omitting `rect` will capture the\n \n Returns `Promise<void>` - the promise will resolve when the page has finished loading\n (see [`did-finish-load`](web-contents.md#event-did-finish-l...
ollama/ollama
7,832
Update README.md
Hi, This is an update on the description of my Discord bot project - [vnc-lm](https://github.com/jake83741/vnc-lm) in the README. Thank you, Jake
647513a7d48920f897f536fe9df45c6ca38fe83e
52bbad12f96e84f7d62c5dfdd7dbba2b10b37344
3
high
[ { "filename": "README.md", "patch": "@@ -504,7 +504,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [Terraform AWS Ollama & Open WebUI](https://github.com/xuyangbocn/terraform-aws-self-host-llm) (A Terraform module to deploy on AWS a ready-to-use Ollama service, together with its fron...
nodejs/node
60,887
doc: clarify fileURLToPath security considerations
Add clarification that fileURLToPath() decodes encoded dot-segments (%2e%2e) which are normalized as path traversal. Applications must perform their own path validation to prevent directory traversal attacks. Also applies to fileURLToPathBuffer(). cc: @targos @mcollina
null
6f7f51b8f104dcebb96ac407b489719cc51e124a
null
low
[ { "filename": "doc/api/url.md", "patch": "@@ -1329,6 +1329,19 @@ changes:\n This function ensures the correct decodings of percent-encoded characters as\n well as ensuring a cross-platform valid absolute path string.\n \n+**Security Considerations:**\n+\n+This function decodes percent-encoded characters, in...
electron/electron
49,020
fix: revert the parent window remained interactive after the modal window was opened
Backport of #48977 See that PR for details. Notes: Fixed the issue where the parent window leave disabled after the modal window call show() multiple time.
41bcdd71fee4f537e33f2a74dda60a7849b6f48e
9b89d19b1be7a0aa7d7c008b4c740b512d102d4e
10
medium
[ { "filename": "shell/browser/native_window_views.cc", "patch": "@@ -555,7 +555,7 @@ bool NativeWindowViews::IsFocused() const {\n }\n \n void NativeWindowViews::Show() {\n- if (is_modal() && NativeWindow::parent())\n+ if (is_modal() && NativeWindow::parent() && !widget()->IsVisible())\n static_cast<Na...
ggml-org/llama.cpp
19,830
vendor : update cpp-httplib to 0.34.0
99156f3a5f38f74650be6312d3ba710a64ece527
b68a83e641b3ebe6465970b34e99f3f0e0a0b21a
16
medium
[ { "filename": "scripts/sync_vendor.py", "patch": "@@ -5,7 +5,7 @@\n import sys\n import subprocess\n \n-HTTPLIB_VERSION = \"refs/tags/v0.33.1\"\n+HTTPLIB_VERSION = \"refs/tags/v0.34.0\"\n \n vendor = {\n \"https://github.com/nlohmann/json/releases/latest/download/json.hpp\": \"vendor/nlohmann/json.h...
facebook/react
32,807
Delete CHANGELOG-canary.md
This is no longer being used or updated
null
b81c92be627c8bd03405eaa71731245301e4656f
null
low
[ { "filename": "CHANGELOG-canary.md", "patch": "@@ -1,18 +0,0 @@\n-## March 22, 2024 (18.3.0-canary-670811593-20240322)\n-\n-## React\n-- Added `useActionState` to replace `useFormState` and added `pending` value ([#28491](https://github.com/facebook/react/pull/28491)).\n-\n-## October 5, 2023 (18.3.0-canary...
ollama/ollama
7,830
getImageData() doesn't support SVG.
eaaf5d309d0d53c0d99982eaf1b2da5da05f42fb
30e88d7f31cd3af582346b995a8bb10b3ff37125
23
medium
[ { "filename": "cmd/interactive.go", "patch": "@@ -514,7 +514,7 @@ func extractFileNames(input string) []string {\n \t// Regex to match file paths starting with optional drive letter, / ./ \\ or .\\ and include escaped or unescaped spaces (\\ or %20)\n \t// and followed by more characters and a file extensio...
facebook/react
32,803
Follow through all the phases when an error happens during snapshotting
This can happen for example if you have duplicate names in the "old" state. This errors the transition before the updateCallback is invoked so we haven't yet applied mutations etc. This runs through those phases after the error to get us back to a consistent state.
7a728dffd14550cd22e6d8b8514e82435bbeba76
040f8286e97eab7aac23a89d5f59967be3bf8f3e
2
high
[ { "filename": "packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js", "patch": "@@ -1802,6 +1802,12 @@ export function startViewTransition(\n }\n } finally {\n // Continue the reset of the work.\n+ // If the error happened in the snapshot phase before the update callbac...
huggingface/transformers
39,443
enable triton backend on awq xpu
IPEX is going to be deprecated. As autoawq already archived, we can only change transformers to enable triton kernel on XPU. Only XPU chanegd from ipex to triton as the AWQ triton kernel does not work on CPU.
null
10c990f7e290816221fbcc05ed2e01a66587bdbe
null
low
[ { "filename": "src/transformers/quantizers/quantizer_awq.py", "patch": "@@ -52,8 +52,12 @@ def validate_environment(self, device_map, **kwargs):\n if not is_accelerate_available():\n raise ImportError(\"Loading an AWQ quantized model requires accelerate (`pip install accelerate`)\")\n \n...
nodejs/node
60,878
test: lint more `assert(regexp.test(...))` cases
Widens the net to include plain old `assert()`. Refs: #60832
634dc26605ada74c9e44492e97a247e867da1abf
209a4fe8123848ffcf876ec5914c6114a3e0ded1
20
medium
[ { "filename": "test/eslint.config_partial.mjs", "patch": "@@ -110,11 +110,11 @@ export default [\n message: 'Calling `.catch(common.mustNotCall())` will not detect never-settling promises. Use `.then(common.mustCall())` instead.',\n },\n {\n- selector: 'CallExpression[call...
vuejs/vue
6,704
Allow an object's Symbols to be observed
Attempting to parseFloat on a Symbol throws the error `Cannot convert a Symbol value to a string`. Type checking for a Symbol before attempting to parse avoids the error and allows `Vue.set` to be called on [Symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol). <!-- Plea...
null
4fd2ce813cd0a59bd544defe07f44a5731e45f84
null
low
[ { "filename": "src/shared/util.js", "patch": "@@ -56,7 +56,7 @@ export function isRegExp (v: any): boolean {\n * Check if val is a valid array index.\n */\n export function isValidArrayIndex (val: any): boolean {\n- const n = parseFloat(val)\n+ const n = parseFloat(String(val))\n return n >= 0 && Math...
electron/electron
49,019
fix: revert the parent window remained interactive after the modal window was opened
Backport of #48977 See that PR for details. Notes: Fixed the issue where the parent window leave disabled after the modal window call show() multiple time.
895cf006e7d99b9add9beef77a7c550141c370ea
53819a8a2af7b72840c6a1316c12e00d4982bd24
14
medium
[ { "filename": "shell/browser/native_window_views.cc", "patch": "@@ -554,7 +554,7 @@ bool NativeWindowViews::IsFocused() const {\n }\n \n void NativeWindowViews::Show() {\n- if (is_modal() && NativeWindow::parent())\n+ if (is_modal() && NativeWindow::parent() && !widget()->IsVisible())\n static_cast<Na...
facebook/react
32,800
Clarify that the transitionLanes used by Transition Tracing is a LaneMap
We have a high level concept for this used elsewhere. We should use this for `transitionTypes` too: https://github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactInternalTypes.js#L285 As mentioned in #32797 we could also just use the `transitionLanes` since the `types` are also on the `Transit...
731ae3e0ade1ac2a79e5f9f52b3244f3d02d5ac8
450f8df8865303f14be7ddd7c951f020115aa27c
3
medium
[ { "filename": "packages/react-reconciler/src/ReactFiberRoot.js", "patch": "@@ -112,10 +112,7 @@ function FiberRootNode(\n this.incompleteTransitions = new Map();\n if (enableTransitionTracing) {\n this.transitionCallbacks = null;\n- const transitionLanesMap = (this.transitionLanes = []);\n- fo...
electron/electron
49,010
fix: abort more descriptively for beforeunload
Backport of #48960 See that PR for details. Notes: none
fe32528c5088fe98eef9c80c2fe95e6d30bb47bc
f8d3e0f3cd7eff36e7e78392865a9f722b5d127c
3
medium
[ { "filename": "docs/api/browser-window.md", "patch": "@@ -1227,7 +1227,8 @@ Captures a snapshot of the page within `rect`. Omitting `rect` will capture the\n \n Returns `Promise<void>` - the promise will resolve when the page has finished loading\n (see [`did-finish-load`](web-contents.md#event-did-finish-l...
facebook/react
32,801
Don't shadow EventListenerOptionsOrUseCapture and FocusOptions types
These are built-in to Flow.
e5dd82a79dd41c9df8d903ca7ab7b3a977bc3371
7a728dffd14550cd22e6d8b8514e82435bbeba76
1
medium
[ { "filename": ".eslintrc.js", "patch": "@@ -615,6 +615,8 @@ module.exports = {\n GetAnimationsOptions: 'readonly',\n Animatable: 'readonly',\n ScrollTimeline: 'readonly',\n+ EventListenerOptionsOrUseCapture: 'readonly',\n+ FocusOptions: 'readonly',\n \n spyOnDev: 'readonly',\n spyO...
electron/electron
48,997
build(deps): bump github/codeql-action from 4.31.2 to 4.31.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.2 to 4.31.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action's releases</a>.</em></p> <blockquote> <h2>v4.31.3</h2> <h1>CodeQL Action Changelog</...
eb4b7bb82f43a60dbdfd38efbfd30a8c77bf6ea0
5b5b24775e501fbe8da80978440a503c0ea24f21
1
high
[ { "filename": ".github/workflows/scorecards.yml", "patch": "@@ -50,6 +50,6 @@ jobs:\n \n # Upload the results to GitHub's code scanning dashboard.\n - name: \"Upload to code-scanning\"\n- uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v3.29.5\n+ ...
ollama/ollama
7,834
server: fix Transport override
This changes makeRequest to update the http client Transport if and only if testMakeRequestDialContext is set. This is to avoid overriding the default Transport when testMakeRequestDialContext is nil, which broke existing behavior, included proxies, timeouts, and other behaviors. Fixes #7829 Fixes #7788
7b5585b9cbc5f803583ebd6a9627c563521c8970
2b7ed61ca22743598db2b407a94b8865042f1078
13
medium
[ { "filename": "server/images.go", "patch": "@@ -1076,17 +1076,15 @@ func makeRequest(ctx context.Context, method string, requestURL *url.URL, header\n \t\treq.ContentLength = contentLength\n \t}\n \n-\tresp, err := (&http.Client{\n-\t\tTransport: &http.Transport{\n-\t\t\tDialContext: testMakeRequestDialCont...
huggingface/transformers
39,411
set document_question_answering pipeline _load_tokenizer to True
Hi @Rocketknight1 . The document-question-answering pipeline requires a tokenizer in the preprocessing step. script: [impira/layoutlm-document-qa](https://huggingface.co/impira/layoutlm-document-qa) ```python from transformers import pipeline nlp = pipeline( "document-question-answering", model="impir...
3d8be20cd2f76aa03d3f42808f2c9b36c94608b3
c4d41567fa4ed03123580d4168c25a0a328119d1
10
medium
[ { "filename": "src/transformers/pipelines/document_question_answering.py", "patch": "@@ -138,7 +138,7 @@ class DocumentQuestionAnsweringPipeline(ChunkPipeline):\n _load_processor = False\n _load_image_processor = None\n _load_feature_extractor = None\n- _load_tokenizer = False\n+ _load_tok...
ggml-org/llama.cpp
19,829
webui: Add setting to have full height Code Blocks in Chat Messages
Close #19742
null
9051663d5d67bdab765e9bc9afee41ed34f09260
null
low
[ { "filename": "tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettings.svelte", "patch": "@@ -114,6 +114,11 @@\n \t\t\t\t\tlabel: 'Render user content as Markdown',\n \t\t\t\t\ttype: SettingsFieldType.CHECKBOX\n \t\t\t\t},\n+\t\t\t\t{\n+\t\t\t\t\tkey: SETTINGS_KEYS.FULL_HEIGHT_CODE_BLOCKS,\...
vuejs/vue
6,681
doc: spelling and formatting
<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one) - [x] Bugfix **Does this PR introduce a breaking change?** (check one) - [x] No **The PR fulfills these requirements:** - [x] It's submitted to the `dev`...
ed88ac411403782bb0e249a9bad73c2174c27c5e
924bfec9bcd87ad7be77883d5180613a90d93a4b
14
medium
[ { "filename": "benchmarks/ssr/README.md", "patch": "@@ -2,9 +2,9 @@\n \n This benchmark renders a table of 1000 rows with 10 columns (10k components), with around 30k normal elements on the page. Note this is not something likely to be seen in a typical app. This benchmark is mostly for stress/regression te...
facebook/react
32,793
Warn if addTransitionType is called when there are no pending Actions
Stacked on #32792. It's tricky to associate a specific `addTransitionType` call to a specific `startTransition` call because we don't have `AsyncContext` in browsers yet. However, we can keep track if there are any async transitions running at all, and if not, warn. This should cover most cases. This also errors ...
0b1a9e90c5d5b6a4633c225c9100af69f53752c8
deca96520f1e9e804b0e5b0d81563327d9c55521
1
medium
[ { "filename": "packages/react-reconciler/src/ReactFiberHooks.js", "patch": "@@ -2219,6 +2219,11 @@ function handleActionReturnValue<S, P>(\n typeof returnValue.then === 'function'\n ) {\n const thenable = ((returnValue: any): Thenable<Awaited<S>>);\n+ if (__DEV__) {\n+ // Keep track of the...