instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
wandb__wandb__11418
wandb/wandb
11,418
defect
07f1350925c2ec831328694fcbeb1dec2e1b07a2
1faefdf07fe22fd612272f1a44f387a05c5a23e1
feat: experimental commands for multi-process wandb-core service reuse
Description ----------- > <b>TL;DR:</b> Adds `wandb beta core start/stop` commands to run a detached wandb-core and reuse it across multiple processes via `WANDB_SERVICE` to avoid redundant `wandb-core`/`gpu_stats` instances. The SDK provides a clean UX for managing multiple runs originating from the same process,...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 32fd0d3d002..91ab974ca30 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -23,6 +23,7 @@ Section headings should be at level 3 (e.g. `### Added`). - Warning message when `run.log_artifact` does not create a new version because th...
21
20
5
[{"id": "G0", "claim": "The wg.Add(1)/go func/defer wg.Done pattern can be simplified with s.wg.Go.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Tests for the connectionStart/connectionEnd/idle-timer logic would be good to ensure nothing break...
null
wandb__wandb__11557
wandb/wandb
11,557
defect
cb416d971d639721b480e2f7e179926d29ac0865
37b7cc863adc3c34ca62eb515e2eb44ac7c8a8e2
feat(sweeps): implement public Api().sweep().agent().runs()
Description ----------- - Fixes WB-10226 Updates the Agent() class to support fetching runs the agent has submitted through runs(). Runs will be fetched using the LightweightRunFragment through the paginated GQL query. Runs will not be cached in the Agent class. Runs returned through this API have the same funct...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 57ec74f21ad..88c00ea9d54 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -15,6 +15,7 @@ Section headings should be at level 3 (e.g. `### Added`). ## Unreleased ### Added +- Added .runs() to the Agent class to support querying...
1
1
0
[{"id": "G0", "claim": "Make the default page size 50 a named constant at the top of the file and have the other cases that hard-code 50 use that constant too.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wandb__wandb__11558
wandb/wandb
11,558
defect
11654787df79f61f4fcfeaa8fba21d567c62fe1d
cb416d971d639721b480e2f7e179926d29ac0865
feat(sweeps): deliver public Api().sweep().agent/s()
Description ----------- - Fixes WB-10226 This implements 2 functions in the Public Api: .agent() and .agents(). These correspond to the GQL queries defined under the Sweep node in the graphql. The following fields are exposed as attributes ` id name host state totalRuns createdAt heartbea...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index b730bb597cc..57ec74f21ad 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -15,7 +15,7 @@ Section headings should be at level 3 (e.g. `### Added`). ## Unreleased ### Added - +- Added .agent() and .agents() to the public Api Swe...
7
5
1
[{"id": "G0", "claim": "Using the generated GQL in Sweep.agent() with a plain variables dict makes it impossible to tell whether all necessary variables are passed, and the reviewer asks whether this is the correct way to use the generated code.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "...
null
wandb__wandb__11613
wandb/wandb
11,613
defect
bd225cd2f41d6670e96ce3d69697a0ecb9e2091e
53126dc3d39e6ea15e3b693d79af571a9d1d8228
fix(automations): preserve event filters in update_automation
## Description ## Problem `api.update_automation(automation, event=new_event)` silently drops event filters. For example: ```python new_event = OnAddArtifactAlias( scope=collection, filter=ArtifactEvent.alias == "staging", ) updated = api.update_automation(automation, event=new_event) # updated.e...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index e52ae97b3dc..bb4cc7d551c 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -33,4 +33,5 @@ Section headings should be at level 3 (e.g. `### Added`). ### Fixed +- Fixed `update_automation()` silently dropping event filters (e.g....
6
5
0
[{"id": "G0", "claim": "The dict merge in prepare_to_update can use the dict union operator now that Python 3.8 support is dropped: obj_dict = dict(obj or {}) | kwargs.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The saved_automation and save...
null
wandb__wandb__11615
wandb/wandb
11,615
defect
4535529d10c53b480a4e2abe3f5c0d9c2b9fb4f6
bbac6efcd3807d08b81607753713bd859c412f49
fix(artifacts): fix multipart download deadlock with new executor
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes [WB-32566](https://coreweave.atlassian.net/browse/WB-32566) When downloading artifacts with many large files, we would sometimes reach a deadlock because we used a sha...
diff --git a/tests/unit_tests/test_artifacts/test_wandb_artifacts.py b/tests/unit_tests/test_artifacts/test_wandb_artifacts.py index 25eadd126bc..3c1c2f1d717 100644 --- a/tests/unit_tests/test_artifacts/test_wandb_artifacts.py +++ b/tests/unit_tests/test_artifacts/test_wandb_artifacts.py @@ -526,19 +526,19 @@ def test_...
7
3
2
[{"id": "G0", "claim": "There should be some timeout on writer.join in the finally block.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code should use Executor.shutdown(cancel_futures=True), which Python 3.9+ supports, instead of the manual ca...
null
wandb__wandb__11639
wandb/wandb
11,639
defect
8bf901855e39af122c26334b85ccc2d5f740d413
6933c61edba281907d727bd2be15f9101fe10e69
feat(sdk): add run.pin_config_keys() to surface config on Run Overview
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> Implements [WB-32643](https://coreweave.atlassian.net/browse/WB-32643) - Adds `run.pin_config_keys(keys)` method that stores a list of top-level config key names in `config["_...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index b8ca128f8ec..76e8a3716c6 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -31,6 +31,7 @@ This version drops compatibility with server versions older than 0.63.0 (for Ded - Media pane for displaying `wandb.Image` data as ANSI thum...
5
5
2
[{"id": "G0", "claim": "The type validation in pin_config_keys should be removed and the whole method reduced to self._set_config_wandb(\"pinned_keys\", list(keys)), keeping the Sequence[str] annotation, because the project convention is not to validate types.", "category": "design", "verdict": "supported", "priority":...
null
wandb__wandb__8735
wandb/wandb
8,735
defect
2c4c50c388fb64ae6c90af3335b0bf46484eba0d
931f7d9251ce026f1d9d0adcfcb6a3321da2fbf6
fix: sanitize media keys to prevent out-of-directory media traversal.
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-18169, WB-10232, WB-9641 - Fixes #3656 What does the PR do? Include a concise description of the PR contents. This PR fixes an issue when metric names started w...
diff --git a/tests/unit_tests/test_media/test_media_logging.py b/tests/unit_tests/test_media/test_media_logging.py new file mode 100644 index 000000000000..1af7a3423712 --- /dev/null +++ b/tests/unit_tests/test_media/test_media_logging.py @@ -0,0 +1,121 @@ +from pathlib import Path + +import matplotlib.pyplot as plt +i...
4
4
1
[{"id": "G0", "claim": "The slash handling in _wb_filename rests on an implicit Windows-only assumption (that '\\' is disallowed elsewhere), and the key should be treated the same way on Windows and non-Windows platforms.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
wandb__wandb__9211
wandb/wandb
9,211
defect
d9d8de94e37b0c6a3bd20e0ab9157e48195fb7e3
fab4f960dc0e4ddfbc936e8475cc5bc64cf58b45
fix: update settings object in metaflow to use the correct function
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes #9200 What does the PR do? Include a concise description of the PR contents. This PR updates the settings usage in metaflow and moves the tests from landfill to fu...
diff --git a/landfill/functional_tests/metaflow/.gitignore b/landfill/functional_tests/metaflow/.gitignore deleted file mode 100644 index f86ad1cff019..000000000000 --- a/landfill/functional_tests/metaflow/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.metaflow -wandb diff --git a/landfill/functional_tests/metaflow/wandb-e...
1
1
0
[{"id": "G0", "claim": "The commented-out exitcode lines in the new metaflow test should be removed or uncommented rather than left as dead code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wandb__wandb__9592
wandb/wandb
9,592
defect
bb0ac5d792a0fc8f9c37bd05cabbcd579f5994b4
9c2347e1bce8598e59cc3040103cf521b2d67264
fix: resuming a run would overwrite image masks
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-15237 - Fixes #6107 What does the PR do? Include a concise description of the PR contents. When resuming a run, the image mask is not carried over to the new r...
diff --git a/core/internal/runconfig/runconfig.go b/core/internal/runconfig/runconfig.go index 094427168676..47f4b27584fa 100644 --- a/core/internal/runconfig/runconfig.go +++ b/core/internal/runconfig/runconfig.go @@ -130,18 +130,11 @@ func (rc *RunConfig) MergeResumedConfig(oldConfig map[string]any) { // Add any to...
10
9
0
[{"id": "G0", "claim": "The new comment lines in core/internal/runconfig/runconfig.go exceed the line-length limit; please keep lines shorter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The project name passed to wandb.init is not needed for...
null
wandb__wandb__9692
wandb/wandb
9,692
defect
0126ae722376ad3cfd60231e0c6860db545eb01f
976a2405cf9d887846ea7d90d432c223b76df926
feat: add support for pathlib.Path objects in media classes
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-21419 - Fixes #4387 What does the PR do? Include a concise description of the PR contents. This PR provides users the ability to initialize W&B media objects wi...
diff --git a/tests/system_tests/test_core/test_data_types_full.py b/tests/system_tests/test_core/test_data_types_full.py index b5b60de66ab6..52b4b781c0b9 100644 --- a/tests/system_tests/test_core/test_data_types_full.py +++ b/tests/system_tests/test_core/test_data_types_full.py @@ -1,9 +1,65 @@ +import json import pla...
10
8
1
[{"id": "G0", "claim": "Drop the PATH alias in media.py and stop importing it, writing the Union types explicitly instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Union[PATH, Any] collapses to Any, so the bokeh (and audio) parameter annot...
null
wandb__wandb__9728
wandb/wandb
9,728
defect
083b3074abc3411df805ab452ee910bcf5bec760
a87b3728fdc635773ac637f8338f4aa0bea891a5
fix: html media object raises IsADirectoryError
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-24403 - Fixes #9648 What does the PR do? Include a concise description of the PR contents. This change updates the documentation for the `html.py` media object ...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 21ab57db45da..bd6874d1eb2f 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -34,3 +34,4 @@ Section headings should be at level 3 (e.g. `### Added`). - Fixed ValueError on Windows when running a W&B script from a different drive...
6
5
0
[{"id": "G0", "claim": "Add a `data_is_not_path` keyword argument (default False) to `wandb.Html` so users can pass a literal string that happens to match an existing file path, with only the path check skipped when it is set, plus a BREAKING.md entry planning to drop the old path-sniffing behavior on a short timeline....
null
wandb__wandb__9786
wandb/wandb
9,786
defect
20144720f4afcccaf8125421aa0cf51f4cbb947a
cb8edd4fa2f7eb305fdc909b4c013c4938388dd4
fix: inconsistent image normalization for wandb.Image
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-15801 - Fixes #6287, #7377 What does the PR do? Include a concise description of the PR contents. When normalizing image values, during the creation of a `wandb.I...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 7a1a2270e90..2bcf1082745 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -25,6 +25,7 @@ Section headings should be at level 3 (e.g. `### Added`). - `Api.integrations()`, `Api.slack_integrations()`, `Api.webhook_integrations()`...
3
1
1
[{"id": "G0", "claim": "Squeezing the permuted pytorch tensor could potentially squeeze out an alpha dimension.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If np.ptp(data) is zero, the new normalization computes 0/0 and produces NaN for constant im...
null
wandb__wandb__9802
wandb/wandb
9,802
defect
e9335ea42ac0258c68fef050079a87ead797b349
25b53d0299b4d4d5ff8b5f76534b3bb2150a8936
feat: add support for pytorch.tensors in image masks and bounding boxes
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-23302 - Fixes #9461 What does the PR do? Include a concise description of the PR contents. Currently when creating a `wandb.image` with image masks, or bounding...
diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index cf5746581712..5fffb35de23a 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -24,6 +24,7 @@ Section headings should be at level 3 (e.g. `### Added`). - `Api.integrations()`, `Api.slack_integrations()`, `Api.webhook_integrations(...
1
1
0
[{"id": "G0", "claim": "The reviewer is unsure about the pytorch tensor handling added to JSONEncoderUncompressed in wandb/util.py and asks the author, if possible, to change the code so that this change to util.py is not required.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
wandb__wandb__9883
wandb/wandb
9,883
defect
8cc51bde72aa0c9cc08c3026927a9bce4cc991c5
23b3ae59808e2d60e25ee504afdcb48be0effe82
fix: inconsistent image normalization for wandb.Image
Description ----------- <!-- Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable) --> - Fixes WB-15801 - Fixes #6287, #7377 What does the PR do? Include a concise description of the PR contents. When normalizing image values, during the creation of a `wandb.I...
diff --git a/BREAKING.md b/BREAKING.md index 1801e26e232..f34d7d7b35b 100644 --- a/BREAKING.md +++ b/BREAKING.md @@ -73,3 +73,7 @@ When preparing a release that can include breaking changes, consider applying ch - Owner: @kptkin - Deprecated in 0.20.0 (https://github.com/wandb/wandb/pull/9837) - Can do i...
7
7
3
[{"id": "G0", "claim": "The warn_on_invalid_data_range helper should not be a class method since inheritance isn't used; it should be a private top-level function with an underscore prefix.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The invalid-range...
null
wang-bin__QtAV__144
wang-bin/QtAV
144
defect
e4df334a257977eb403dbc31690d9db4a1fef00a
3a105e12abb820a648e2889ce7b2cbc76a905576
Added support for loading media from a QIODevice.
You can now use your own QIODevice (random access only) with QtAV. For example to play media files from memory or archives.
diff --git a/src/AVDemuxer.cpp b/src/AVDemuxer.cpp index 946e91a9b..13507d7df 100644 --- a/src/AVDemuxer.cpp +++ b/src/AVDemuxer.cpp @@ -23,6 +23,7 @@ #include <QtAV/AVError.h> #include <QtAV/Packet.h> #include <QtAV/QtAV_Compat.h> +#include <QtAV/QAVIOContext.h> #include <QtCore/QThread> #include <QtCore/QCo...
6
6
2
[{"id": "G0", "claim": "The buffer allocated with new[] in the constructor is released with plain delete in the destructor, which is undefined behaviour; use delete[] or a fixed-size array member instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
wangeditor-team__wangEditor__2766
wangeditor-team/wangEditor
2,766
defect
277d09720fd1a82b3aac6493d003334d46f1dd8f
77fda85c97b524a6c1b593fba9b3f31eb8ed31b0
fix: 失去焦点tooltip不消失
解决bug编辑器失去焦点和销毁tooltip不消失问题 bind-event.ts 去掉 if(editor.focus) 原因是有些地方用到了event.stopPropagation方法导致失去焦点事件无法触发 在失去焦点和销毁编辑器的时候调用editor.txt.eventHooks.toolbarClickEvents.forEach(fn => fn(event))钩子来移除tooltip
diff --git a/src/editor/index.ts b/src/editor/index.ts index fec3c7498..8ed382082 100644 --- a/src/editor/index.ts +++ b/src/editor/index.ts @@ -179,7 +179,8 @@ class Editor { public destroy(): void { // 调用钩子函数 this.beforeDestroyHooks.forEach(fn => fn.call(this)) - + let event: Event + ...
4
3
3
[{"id": "G0", "claim": "Calling every toolbarClickEvents listener with an undefined `event` variable (declared only to silence the compiler) would throw at runtime if any listener used that argument; if the argument cannot always be passed it should be declared optional instead.", "category": "correctness", "verdict": ...
null
wantedly__subee__7
wantedly/subee
7
defect
d67c4faac5222e349d3ccd8669edd2499dc23490
f64b0b081d3ad2db5a55479a4f1d248a8ba8e570
Add e2e test
# WHY Since there is only unit test in subee, we want to add e2e test for cloud pub/sub. # WHAT Test using emurator's docker image. @izumin5210
diff --git a/.circleci/config.yml b/.circleci/config.yml index a87864f..2c2a2ee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,6 +37,27 @@ jobs: condition: << parameters.cover >> steps: - run: go test -race -v ./... + e2e: + docker: + - image: circleci/go...
1
1
0
[{"id": "G0", "claim": "The e2e job's Docker image `circleci/golang:latest` should be pinned to a fixed version.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wapiti-scanner__wapiti__185
wapiti-scanner/wapiti
185
defect
6a3f08c8fb89702fa553329f7a38d86501b5c1a1
e4cf04862d0fb565548ad868abcf823072fd904c
Unit tests
## Description This pull requests add more tests to the files: - jsoncookie.py - page.py ## Related Issue(s) N/A
diff --git a/tests/net/test_jsoncookie.py b/tests/net/test_jsoncookie.py new file mode 100644 index 000000000..3ddb493a6 --- /dev/null +++ b/tests/net/test_jsoncookie.py @@ -0,0 +1,120 @@ +from typing import Dict +from http.cookiejar import CookieJar +from unittest import mock +from unittest.mock import MagicMock, mock...
1
1
0
[{"id": "G0", "claim": "Reorder the imports in tests/net/test_page.py to respect PEP8 grouping (standard library, then third party, then local) with a blank line between each group.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
wapiti-scanner__wapiti__208
wapiti-scanner/wapiti
208
defect
8ae26b97d326d13b7f8fd84ad077b30716be20cd
010502d7b1304af9eca69e0cf4b6851df3463b9f
Now the wapp module will detect all the technologies on the root url and on the redirected one
## Description Before this pull request, the Wapp module was detecting technologies and their versions only on the redirection of the root URL. For instance, if the URL `https://test.com` redirects to `https://test.com/login/` and we decide to do an analysis on `https://test.com` it will in reality do an analysis o...
diff --git a/tests/attack/test_mod_wapp.py b/tests/attack/test_mod_wapp.py index a1ffdebc2..3b4e27976 100644 --- a/tests/attack/test_mod_wapp.py +++ b/tests/attack/test_mod_wapp.py @@ -390,3 +390,54 @@ async def test_vulnerabilities(): ) assert persister.add_payload.call_args_list[3][1]["category"] == _('Fing...
1
1
0
[{"id": "G0", "claim": "The version-merging in _detect_applications should use an easier (more idiomatic) way to merge two dictionaries in Python instead of the manual loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wapiti-scanner__wapiti__213
wapiti-scanner/wapiti
213
defect
90ba890c72b2561fbbdea83620b696635ea13f54
456c1c10ccdb90d592ad2a9f1c87c9f280425ce3
Improve handling of modules
Prevent loading modules if they weren't selected and cach ImportError silently if they are missing
diff --git a/setup.py b/setup.py index c4b7ad24e..e1e3fa5c0 100644 --- a/setup.py +++ b/setup.py @@ -124,11 +124,13 @@ def run_tests(self): "loguru>=0.5.3", "dnspython==2.1.0", "httpcore>=0.14.1", - "sslyze==5.0.0", - "humanize==3.13.1" ], extras_require={ "NT...
2
1
0
[{"id": "G0", "claim": "Module configuration should stay in each module's class: load the wanted modules first and then collect their get & post settings (e.g. in a dict) so they can be modified later, instead of the hardcoded per-module modules_configuration dict in attack.py.", "category": "design", "verdict": "suppo...
null
wapiti-scanner__wapiti__222
wapiti-scanner/wapiti
222
defect
564e6eff6f3cec100587912f4ae1f0d970fef43f
b017799d3c4440633be28589735d8096464bdbd1
Added tests for the Log4Shell module
## Description Added tests for the Log4Shell module. ## Related Issue(s) N/A
diff --git a/tests/attack/test_mod_log4shell.py b/tests/attack/test_mod_log4shell.py new file mode 100644 index 000000000..ab5619507 --- /dev/null +++ b/tests/attack/test_mod_log4shell.py @@ -0,0 +1,313 @@ +import asyncio +from asyncio import Event +from typing import Dict + +import os +from dns.resolver import Answer,...
1
1
0
[{"id": "G0", "claim": "Remove the unused imports (Answer, httpx, Attack, ModuleBackup) from tests/attack/test_mod_log4shell.py and reformat the file for PEP8.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wapiti-scanner__wapiti__240
wapiti-scanner/wapiti
240
defect
c53ab58e33f8b96633c304a1aaca7d617ead5659
af9cd5a916ec5e4aa12cb30a8902f11def75617f
Fixed the html_redirections function to adapt to every type of http-equiv meta tag and retrieve URLs
## Description Sometimes Wapiti crawls URLs in the meta tag, but the tag can be written in three different formats. Currently, we can only detect URLs with one specific formatting, and in this PR, I have added the two other types. The three types: The URL is written without any quotes. (already supported)...
diff --git a/tests/net/test_page.py b/tests/net/test_page.py index 486a9a0a8..70f6e6a8d 100644 --- a/tests/net/test_page.py +++ b/tests/net/test_page.py @@ -722,3 +722,66 @@ def test_title_page(): assert page.soup is not None assert page.title == "Foobar" + +@respx.mock +def test_html_redirection(): + ta...
1
1
0
[{"id": "G0", "claim": "Use startswith/endswith instead of index and length arithmetic to check the quote characters, for readability, refactoring the pre-existing clumsy logic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wapiti-scanner__wapiti__345
wapiti-scanner/wapiti
345
defect
e0fdf84cf61e604e980f4092224e833874ab83f1
f200e46f1fe8a9e00f6e0492f3e41c6786795943
Add wappalyzer dom detection and unit test about it
Add wappalyzer dom detection and unit test about it
diff --git a/tests/attack/test_mod_wapp.py b/tests/attack/test_mod_wapp.py index 74dee3033..838ee83b0 100644 --- a/tests/attack/test_mod_wapp.py +++ b/tests/attack/test_mod_wapp.py @@ -141,6 +141,58 @@ async def test_html_detection(): '["Development"], "groups": ["Web development"]}' ) +@pytest....
11
10
1
[{"id": "G0", "claim": "Remove the commented-out debug print statements left in the new dom-handling code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the new test, iterate directly over persister.add_payload.call_args_list instead of loop...
null
wapiti-scanner__wapiti__436
wapiti-scanner/wapiti
436
defect
b0f1f9f2bc11fdbf8a465a2c69705b4d3a0456a6
7aa2b696cb27df8e81879c261b0195eb369d7979
Add module spring4shell
Based on @bretfourbe 's work. #275 I changed the detection method to be less aggressive and also added unit test.
diff --git a/tests/attack/test_mod_spring4shell.py b/tests/attack/test_mod_spring4shell.py new file mode 100644 index 000000000..1e8c84b6c --- /dev/null +++ b/tests/attack/test_mod_spring4shell.py @@ -0,0 +1,94 @@ +import asyncio +import os +from asyncio import Event +from unittest.mock import patch, AsyncMock +from ht...
2
2
0
[{"id": "G0", "claim": "Use Python tuple unpacking instead of indexes when splitting the payload: key_payload, value_payload = payload.split(\"=\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Collapse the duplicated GET/POST branches that bo...
null
wapiti-scanner__wapiti__437
wapiti-scanner/wapiti
437
defect
31033b095c1628e0ab4b65a759de812d3a0661ad
3137c40ce4cafea1b30831f5e6d8116cb875aa0a
Add module for Unrestricted uploads vulnerability
* adds module to test for unrestricted file uploads by sending PHP file with several extensions * fix how excluded urls were used (was some old code left after refactoring) * pass excluded urls through attack options so the module doesn't attempt to fetch those urls
diff --git a/tests/attack/test_mod_upload.py b/tests/attack/test_mod_upload.py new file mode 100644 index 000000000..13d711d90 --- /dev/null +++ b/tests/attack/test_mod_upload.py @@ -0,0 +1,98 @@ +import logging +from asyncio import Event +from unittest.mock import AsyncMock, patch +import re + +import pytest +import r...
2
2
0
[{"id": "G0", "claim": "The manual index loop over pattern could be simplified to `for char in pattern:`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The if/else appending to `res` could be written as a single line `res += r'.*' if char == '*...
null
wapiti-scanner__wapiti__500
wapiti-scanner/wapiti
500
defect
6be9bb337f41544e2c073040e89bee0e572c112a
6e03786eeebd72c632ab9457ff53da79ac2cec3b
Add time check for time-consuming modules
Add max-attack-time check for time-consuming modules. Fix https://github.com/wapiti-scanner/wapiti/issues/498
diff --git a/wapitiCore/attack/attack.py b/wapitiCore/attack/attack.py index e3353e679..f0648aece 100644 --- a/wapitiCore/attack/attack.py +++ b/wapitiCore/attack/attack.py @@ -226,6 +226,7 @@ def __init__( self._stop_event = stop_event self.options = attack_options self.crawler_configuration...
3
2
2
[{"id": "G0", "claim": "The time check should use time.monotonic instead of datetime.utcnow to prevent changes in computer time.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author should apply the time.monotonic modification to the time check...
null
wapiti-scanner__wapiti__554
wapiti-scanner/wapiti
554
defect
910b77b8857635282d60e9312873fc47294cf16a
368a228d322199017eaa9cd6d50d3bac19a34c72
Add an option for Wapp module and update
Adding the "--wapp-url" option to customise the update URL of the Wappalyzer database
diff --git a/tests/attack/test_mod_wapp.py b/tests/attack/test_mod_wapp.py index d31d68ab3..2ac853725 100644 --- a/tests/attack/test_mod_wapp.py +++ b/tests/attack/test_mod_wapp.py @@ -1,6 +1,7 @@ import os +import json from asyncio import Event -from unittest.mock import AsyncMock +from unittest.mock import AsyncMoc...
4
3
0
[{"id": "G0", "claim": "The _is_valid_json helper need not wrap json.loads in try/return True; it could simply return json.loads(response.content), since `not json.loads(...)` is already false.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
wapiti-scanner__wapiti__573
wapiti-scanner/wapiti
573
defect
56e46e3c0a164cf0d3706f4c2179308b2baffc7a
bd75f75c3e40f8b34f6c979cbf7ec47831b76db4
Add Fortinet detection
Add Fortinet products detection for module network_device
diff --git a/tests/attack/test_mod_network_device.py b/tests/attack/test_mod_network_device.py index a9184a2de..14189ec68 100644 --- a/tests/attack/test_mod_network_device.py +++ b/tests/attack/test_mod_network_device.py @@ -2,6 +2,7 @@ from unittest.mock import AsyncMock import httpx +from httpx import RequestErro...
3
3
0
[{"id": "G0", "claim": "Avoid repeating the two 'remote/fgt_lang' entries by extracting them into a fortivpn_list used both to build check_list and in the success check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the success check, use th...
null
wapiti-scanner__wapiti__577
wapiti-scanner/wapiti
577
defect
3e0baf6f4aa779d31e7153861753b6a9fcc6c286
99694d43f2c3a1f66c765d9e971f9c5f0c92a655
Add Citrix to mod_network_device
Add Citrix products detection for module network_device
diff --git a/tests/attack/test_mod_network_device.py b/tests/attack/test_mod_network_device.py index 14189ec68..3af81d13e 100644 --- a/tests/attack/test_mod_network_device.py +++ b/tests/attack/test_mod_network_device.py @@ -363,3 +363,85 @@ async def test_raise_on_request_error(): await module.check_forti...
4
4
0
[{"id": "G0", "claim": "The no-detection constant is misspelled MSG_NO_CIITRIX and its text says \"No Forti Product Detected\" in a Citrix module; rename it to MSG_NO_CITRIX with the text \"No Citrix Product Detected\" at both its definition and its log_blue call.", "category": "maintainability", "verdict": "supported"...
null
wapiti-scanner__wapiti__757
wapiti-scanner/wapiti
757
defect
86d7ffb7602181f89d2fd9b784157080a7a96445
65de6bdefd5f1a1f3f746d858dbd73d9276a8528
Speed up `mod_backup` by using concurrent request.
The mod_back module was previously launching 62 sequential requests for each page crawled, with 32 of these being duplicate requests. Most execution time was spent waiting on I/O. This modification optimizes the module by eliminating duplicate requests and executing all requests concurrently instead of sequentially. ...
diff --git a/wapitiCore/attack/mod_backup.py b/wapitiCore/attack/mod_backup.py index 776371ae9..5fecc769f 100644 --- a/wapitiCore/attack/mod_backup.py +++ b/wapitiCore/attack/mod_backup.py @@ -21,6 +21,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to...
3
3
0
[{"id": "G0", "claim": "The new loop over the gathered responses is indented with two-space steps, inconsistent with the file's four-space style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The page is added to attacked_get once per payload w...
null
wapiti-scanner__wapiti__95
wapiti-scanner/wapiti
95
defect
b4016bea82c67ee5feb1d9359a037987d66d2274
20edd719a9e5bad9f3598e9f9e03ce822118a985
Add js parser for angular
Add basic js parser for angular : extract related domains and paths. Add brotli module in requirements to support br content-encoding, this will help to detect more js files.
diff --git a/Pipfile b/Pipfile index 38e73aa31..ff8e1cd51 100644 --- a/Pipfile +++ b/Pipfile @@ -18,6 +18,7 @@ yaswfp = ">=0.9.3" six = ">=1.15.0" browser-cookie3 = "==0.11.4" importlib_metadata = "==3.7.2" +brotli = ">=1.0.9" [requires] python_version = "3.8" diff --git a/setup.py b/setup.py index 83da422f5..f9...
5
4
2
[{"id": "G0", "claim": "The regex fragment '(?:[\\w\\s?\\.+]+)?' before the captured path should be simplified to '[\\w\\s.+]*'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The verbose full-URL regex should be replaced with the simpler form r...
null
warehouse-pg__warehouse-pg__102
warehouse-pg/warehouse-pg
102
defect
c7a3b6de59f737addd5a7208b273f274ebac12c4
770d470cedefda9c5da29097fc4d78dc764a7e13
feat: Implement DISTRIBUTED COORDINATOR ONLY tables
This commit introduces coordinator-only distributed tables, a new type of table whose data resides exclusively on the coordinator node rather than being distributed across segments.
diff --git a/gpcontrib/gp_distribution_policy/gp_distribution_policy.c b/gpcontrib/gp_distribution_policy/gp_distribution_policy.c index 506f7aab7f2..23ec09f2464 100644 --- a/gpcontrib/gp_distribution_policy/gp_distribution_policy.c +++ b/gpcontrib/gp_distribution_policy/gp_distribution_policy.c @@ -69,6 +69,13 @@ gp_d...
3
1
0
[{"id": "G0", "claim": "The GpPolicyIsEntry(rel->rd_cdbpolicy) check added in ATPrepCmd's AT_SetDistributedBy case at line 5217 appears to duplicate the check at lines 5198-5202.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message '...
null
warehouse-pg__warehouse-pg__72
warehouse-pg/warehouse-pg
72
defect
b1c28aab3a8c9437832495c9e74a82f6478eb1e9
804b4dc48ab9bd12e66db7aa7663787b3221f880
Use pipe instead of socket to terminate poll() blocking immediately
### Background In the UDP receiver thread (rx thread) of the Motion module, when the system decides to shut down the interconnect, the caller sets the shared variable `ic_control_info.shutdown` to `true`. During its polling loop, the rx thread checks this variable, and once it detects that it has been set, it ...
diff --git a/src/backend/cdb/motion/ic_udpifc.c b/src/backend/cdb/motion/ic_udpifc.c index 4b002d95fc0..c97b4e0009b 100644 --- a/src/backend/cdb/motion/ic_udpifc.c +++ b/src/backend/cdb/motion/ic_udpifc.c @@ -43,6 +43,7 @@ #include "port/pg_crc32c.h" #include "pgstat.h" #include "postmaster/postmaster.h" +#include "...
1
1
1
[{"id": "G0", "claim": "The test file's `#define RX_THREAD_POLL_TIMEOUT (10000)` is placed before `#include \"../../motion/ic_udpifc.c\"`, which also defines that macro, so the definition is likely overridden and may not take effect; the reviewer asked the author to confirm this macro issue.", "category": "correctness"...
null
warehouse-pg__warehouse-pg__83
warehouse-pg/warehouse-pg
83
defect
0178d3cc30d2f3644a227e6a8bff7b0a57719b4c
d07a1bb8bfe14914458d30eaafd8d1b9afdfc484
Make ReScanForeignScan callback optional for FDWs
Foreign Data Wrappers are no longer required to implement the ReScanForeignScan callback. This change simplifies the development of FDWs for data sources that do not natively support rescanning, such as streaming APIs or certain remote services. When an FDW omits this callback, the system provides a two-layered ...
diff --git a/src/backend/executor/nodeForeignscan.c b/src/backend/executor/nodeForeignscan.c index 37314926557..7351a9b527e 100644 --- a/src/backend/executor/nodeForeignscan.c +++ b/src/backend/executor/nodeForeignscan.c @@ -307,6 +307,16 @@ ExecReScanForeignScan(ForeignScanState *node) { PlanState *outerPlan = out...
5
3
2
[{"id": "G0", "claim": "The `subdir` in src/test/fdw/no_rescan_test_extension/Makefile is set to `src/test/fdw/no_rescan_extension`, which does not match the actual directory name and will cause build failures.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "...
null
warp-drive-data__warp-drive__10421
warp-drive-data/warp-drive
10,421
defect
42e0c103fe1af74fbe86c61dd50afb7c25b9a773
0259a2979a5d83cbb0c74247b9f6280c00da5884
fix(fragments): Fix withArrayDefaults to take a primitive type parameter and correctly output the type
We were using the name of the array to generate type. This should actually be the primitive type. <!-- Thank you for opening up this PR! --> If this PR updates API docs, preview them by: - install [bun](https://bun.sh/docs/installation) (if needed) - install [volta](https://docs.volta.sh/guide/getting-starte...
diff --git a/tests/legacy/tests/-test-store/schemas/info.ts b/tests/legacy/tests/-test-store/schemas/info.ts index 91865557091..ebc2138bad1 100644 --- a/tests/legacy/tests/-test-store/schemas/info.ts +++ b/tests/legacy/tests/-test-store/schemas/info.ts @@ -7,7 +7,7 @@ import { withArrayDefaults } from '@warp-drive/lega...
2
2
1
[{"id": "G0", "claim": "The S1 change makes the primitive type a required first argument, so calls for `@array() titles;` where no primitive type is passed have no way to use withArrayDefaults.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "With the...
null
warp-drive-data__warp-drive__7126
warp-drive-data/warp-drive
7,126
defect
4bd2b327c4cbca831f9e9f8bc6b497200a212f9b
9fae340bd78ddcb5f7f079269841c00adf6530d9
Bugfix for wrong hasMany relationship state in scenario of sideposting with lid
The issue appeared in a sideposting scenario: - model A has has many relationship to model B. - instance of model A and instance of model B are created on the client, - model A is saved along with model B sent in `include` section of payload; the linking is done through `lid` - server persisted both models an...
diff --git a/packages/-ember-data/tests/integration/identifiers/lid-reflection-test.ts b/packages/-ember-data/tests/integration/identifiers/lid-reflection-test.ts index 4d58ac081c7..738f2c7bb88 100644 --- a/packages/-ember-data/tests/integration/identifiers/lid-reflection-test.ts +++ b/packages/-ember-data/tests/integr...
1
1
0
[{"id": "G0", "claim": "The test description 'lid works for sideposting scenario' should be beefed up to describe what the test does, e.g. 'updating the client record after save'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
warp-drive-data__warp-drive__7425
warp-drive-data/warp-drive
7,425
defect
22a8f20e2f11ed82c85160944e976073dc530d8b
263ef54dc63bfb4ce13e98bd6f4ebe7eef6b5893
Pass lid from relationship data to get record data
This PR aims to fix #7424. The issue appeared in the sideposting scenario: - model A has belongs to relationship to model B. - instance of model A and instance of model B are created on the client, - model A is saved along with model B sent in `include` section of payload; the linking is done through `lid` - ser...
diff --git a/packages/-ember-data/tests/integration/identifiers/lid-reflection-test.ts b/packages/-ember-data/tests/integration/identifiers/lid-reflection-test.ts index d2268f56e6c..e0415fa9955 100644 --- a/packages/-ember-data/tests/integration/identifiers/lid-reflection-test.ts +++ b/packages/-ember-data/tests/integr...
1
1
0
[{"id": "G0", "claim": "The test relies on const declarations being hoisted to their first usage in TestAdapter, so the declarations should be moved above their first usage (or the identifier declared as a let above and assigned later) instead of hoisting an assignment.", "category": "maintainability", "verdict": "supp...
null
warp-drive-data__warp-drive__8154
warp-drive-data/warp-drive
8,154
defect
fbbff3dabdfcc4ced3d2ecfe8ffe8a4714fbaecb
94ad3eaba6ed337bf33a83f212ca3bd5702c474a
[BUGFIX] Model state error 3.28
Changed base branch from #8009 Hey guys, I faced a problem and did a test + added a fix, the simplest way to replicate: ```js myModel = this.store.createRecord('my-model'); myModel.errors.add('fieldA', ['blank']); myModel.errors.add('fieldB', ['blank']); later(() => { set(myModel, 'fieldA', 'value'); ...
diff --git a/packages/-ember-data/tests/integration/model-errors-test.ts b/packages/-ember-data/tests/integration/model-errors-test.ts index a543974c2a5..735cd278345 100644 --- a/packages/-ember-data/tests/integration/model-errors-test.ts +++ b/packages/-ember-data/tests/integration/model-errors-test.ts @@ -2,7 +2,7 @@...
5
4
0
[{"id": "G0", "claim": "The new test should not need to use get or set.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should assert the model is still invalid after changing the first erred field.", "category": "testing", "verdict": "s...
null
warp-drive-data__warp-drive__8866
warp-drive-data/warp-drive
8,866
defect
abd17f2dac1e966cd1be3441e87374b9acb04885
e409cc85a41907e0bd55e35d0b71977066b6acea
Add tests for parse-cache-control
### Add tests for parse-cache-control Covering happy path for parseCacheControl request util @runspired I made a failing tests for assert that does not exist yet, not sure if it would be useful or not, please take a look
diff --git a/tests/builders/tests/unit/parse-cache-control-test.ts b/tests/builders/tests/unit/parse-cache-control-test.ts new file mode 100644 index 00000000000..fe1f6a859af --- /dev/null +++ b/tests/builders/tests/unit/parse-cache-control-test.ts @@ -0,0 +1,69 @@ +import { module, test } from 'qunit'; + +import { par...
1
1
0
[{"id": "G0", "claim": "The assertion regex placeholder in the invalid-value-type test should be replaced with a real implemented assertion (\"these are useful, lets implement them\").", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
warp-drive-data__warp-drive__9355
warp-drive-data/warp-drive
9,355
defect
4d118ead97d1753262e8967e4d006ac6f9259ed3
d788966a9f870dfc9e71d4ace8a3131d5b12a3cf
Fix: @attr defaultValue() results should persist after initialization
## Description Fixes #9315. (cc @runspired) ## Notes for the release Before this change, when `@attr` defines a `defaultValue` as a function, the default value instantiated on a model instance will not necessarily be the value that is serialized. If the attribute was not `set`, and therefore the default v...
diff --git a/packages/json-api/src/-private/cache.ts b/packages/json-api/src/-private/cache.ts index a2f94212e5c..8179e2ae340 100644 --- a/packages/json-api/src/-private/cache.ts +++ b/packages/json-api/src/-private/cache.ts @@ -70,6 +70,7 @@ interface CachedResource { id: string | null; remoteAttrs: Record<strin...
2
2
2
[{"id": "G0", "claim": "The cached defaultAttrs should also be cleared during patchLocalAttributes, not only in the other places the PR already clears them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "New integration tests covering the PR's defau...
null
warp-drive-data__warp-drive__9743
warp-drive-data/warp-drive
9,743
defect
b14e9acb58e049134cd9b903b0779ed99d4cfd66
c3577697e5731be794b0868691e5af0a6573de99
More dramatic update for update-with-same-state perf test
## Description <!-- insert description here --> ## Notes for the release <!-- If this PR should be described in the Ember release blog post please briefly describe what should be shared. -->
diff --git a/tests/performance/app/routes/update-with-same-state.js b/tests/performance/app/routes/update-with-same-state.js index 273f766a594..6b490348aa0 100644 --- a/tests/performance/app/routes/update-with-same-state.js +++ b/tests/performance/app/routes/update-with-same-state.js @@ -10,9 +10,9 @@ export default Ro...
1
1
1
[{"id": "G0", "claim": "The test should iterate every removed child (all 19k) and make sure the inverse relationship is materialized so that a notification would be generated were it actually changed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
warpdl__warpdl__110
warpdl/warpdl
110
defect
9c0f1905062b9140e030e91ff25da499cdb6593b
de05c94ea795fe4e00695c8870e0cd02dbdb620a
cli,server: add Edge user-agent and fix socket permissions
## Summary - **Issue #99**: Add Microsoft Edge user-agent to `UserAgents` map - **Issue #92**: Fix Unix socket permissions from `0766` to `0700` and make Unix-only with build tags ## Changes ### Issue 99: Edge User-Agent - Added `"edge"` entry to `cmd/uagent.go` with Windows Edge UA string - Edge is Chromium-based a...
diff --git a/cmd/cmd_test.go b/cmd/cmd_test.go index 0a5c9fb1..92a1aab7 100644 --- a/cmd/cmd_test.go +++ b/cmd/cmd_test.go @@ -956,6 +956,19 @@ func TestGetUserAgent_Chrome(t *testing.T) { } } +func TestGetUserAgent_Edge(t *testing.T) { + ua := getUserAgent("edge") + if ua == "" { + t.Fatal("expected Edge user ag...
1
1
1
[{"id": "G0", "claim": "Edge is added only to the base UserAgents map while Firefox and Chrome have platform-specific variants in uagent_darwin.go and uagent_linux.go, so consider adding platform-specific Edge user-agents for macOS and Linux to maintain consistency with the existing pattern.", "category": "correctness"...
null
warpdl__warpdl__119
warpdl/warpdl
119
defect
7a065a029d399d836c7dedb7d99d7fb2ac103149
e319e447f695388bdcac8911f2f3f7ecb1ed4f74
feat: validate disk space before starting downloads
Downloads currently start without checking available disk space, leading to cryptic write failures and inconsistent partial files when disk fills mid-download. ## Changes **Platform-specific disk space validation** - Uses `syscall.Statfs` on Unix systems to query available blocks before download/resume - Checks `Bava...
diff --git a/pkg/warplib/diskspace_unix.go b/pkg/warplib/diskspace_unix.go new file mode 100644 index 00000000..2b0ea233 --- /dev/null +++ b/pkg/warplib/diskspace_unix.go @@ -0,0 +1,39 @@ +//go:build !windows + +package warplib + +import ( + "fmt" + "syscall" +) + +// checkDiskSpace checks if there's enough disk space ...
5
2
1
[{"id": "G0", "claim": "There is no Windows disk space test covering the stub implementation.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The download-flow test does not verify that checkDiskSpace is called during the actual download flow; an integra...
null
warpdl__warpdl__120
warpdl/warpdl
120
defect
7a065a029d399d836c7dedb7d99d7fb2ac103149
a0b7188bc3b9b119db0126cc5f649c5bfe3cd8db
Fix nil vs empty parts map distinction in Resume
`len(parts) == 0` doesn't distinguish nil from empty maps since `len(nil)` returns 0. This allows nil maps to pass validation, leading to division by zero at line 377: `espeed := 4 * MB / int64(len(parts))`. ## Changes - **`pkg/warplib/dloader.go`**: Add explicit nil check before length validation ```go // Before...
diff --git a/pkg/warplib/dloader.go b/pkg/warplib/dloader.go index 9aa3644b..af5114af 100644 --- a/pkg/warplib/dloader.go +++ b/pkg/warplib/dloader.go @@ -361,7 +361,7 @@ func (d *Downloader) Start() (err error) { // It blocks the current goroutine until the download is complete. func (d *Downloader) Resume(parts map...
1
1
1
[{"id": "G0", "claim": "The error message \"download is already complete\" is misleading when parts is nil, so use a more accurate message or split the nil and empty cases into two separate checks with distinct error messages.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
warpdl__warpdl__122
warpdl/warpdl
122
defect
7a065a029d399d836c7dedb7d99d7fb2ac103149
fd3d100e2a7dd4008d8b81083e3c916e852ef20b
Invert part allocation logic: fewer parts for slow downloads, more for fast
## Plan: Limit number of parts for low download speeds ✅ COMPLETE ### Analysis - [x] Understand current part allocation logic in `prepareDownloader()` - [x] Reverse the logic: slow speeds should use fewer parts - [x] Update part allocation to use fewer parts for slower downloads - [x] Update or create tests to validat...
diff --git a/pkg/warplib/dloader.go b/pkg/warplib/dloader.go index 9aa3644b..8bb07987 100644 --- a/pkg/warplib/dloader.go +++ b/pkg/warplib/dloader.go @@ -990,16 +990,16 @@ func (d *Downloader) prepareDownloader() (err error) { switch { case te > getDownloadTime(100*KB, int64(size)): // chunk is downloaded at a ...
3
2
1
[{"id": "G0", "claim": "The new test suite only covers the very slow (<100KB/s) and slow (<1MB/s) scenarios and should also add test cases for the fast (>5MB/s) and super fast (>10MB/s) speed ranges that this PR also modified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
warpdl__warpdl__125
warpdl/warpdl
125
defect
7f1d634eb625999dbd7c0deab9a2a7ad302a1c1f
3a4484c206e7846c3eccf73b3172c2e6a05a91ec
fix: replace panics with graceful error handling
## Summary - **#70** (High): Replace `panic("MYSTERIOUS CORRUPTION!")` in `copyBuffer` with error return - daemon no longer crashes on corruption - **#73** (Medium): Replace `init()` panics with graceful fallback to temp directory when config dir creation fails - **#74** (Low): Validate socket file type before removal ...
diff --git a/internal/server/listener_unix.go b/internal/server/listener_unix.go index d4a69ece..212dede8 100644 --- a/internal/server/listener_unix.go +++ b/internal/server/listener_unix.go @@ -16,7 +16,22 @@ import ( // Transport priority: Unix socket > TCP func (s *Server) createListener() (net.Listener, error) { ...
2
2
2
[{"id": "G0", "claim": "In TestInitConfigDirWithInvalidPath the temp-dir fallback check inside the `if err != nil` block is misleading: if initConfigDir returns an error the fallback also failed, so the comment and check should be revised to assert that ConfigDir retains its original package-initialization value instea...
null
warpdl__warpdl__126
warpdl/warpdl
126
defect
7f1d634eb625999dbd7c0deab9a2a7ad302a1c1f
e1af746112d1271857771ebf9f49a87f8dd83957
cli,core: fix: improve speed counter accuracy and progress bar resume
## Summary - **#95**: Speed counter now uses actual elapsed time instead of fixed 30ms refresh rate for EWMA calculation, providing accurate speed readings. Also fixes race condition in `SetBar()` by adding proper mutex protection. - **#36**: Progress bar now correctly shows initial progress when resuming downloads. A...
diff --git a/cmd/client.go b/cmd/client.go index 6e8922aa..e97134f4 100644 --- a/cmd/client.go +++ b/cmd/client.go @@ -30,6 +30,15 @@ func downloadProgress(sc *SpeedCounter) func(dr *common.DownloadingResponse) err } } +// resumeProgress handles ResumeProgress updates during download resumption. +// It has the sam...
4
2
0
[{"id": "G0", "claim": "The test comment stating \"This test will FAIL with current implementation\" is incorrect and should be reworded to say the test validates the corrected behavior.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mockBarFo...
null
warpdl__warpdl__127
warpdl/warpdl
127
defect
7f1d634eb625999dbd7c0deab9a2a7ad302a1c1f
5d74740c38193500ba4cc691162130c9a8a9b008
core,cli: fix: protocol edge cases - timeout config and test coverage
## Summary - Increases daemon startup timeout from 3s to 10s (configurable via `WARPDL_DAEMON_TIMEOUT` env var) - Adds comprehensive test coverage for bufio modules and daemon timeout Addresses #56 (partial - WT-2 scope) ## Changes | File | Change | |------|--------| | `pkg/warpcli/daemon.go` | Add `getDaemonStartTim...
diff --git a/internal/server/bufio_test.go b/internal/server/bufio_test.go index bf18fef0..9da76ed9 100644 --- a/internal/server/bufio_test.go +++ b/internal/server/bufio_test.go @@ -1,9 +1,14 @@ package server import ( + "io" "net" + "strings" "sync" "testing" + "time" + + "github.com/warpdl/warpdl/common" ...
1
1
0
[{"id": "G0", "claim": "The new test uses os.Unsetenv directly instead of t.Setenv with an empty string, which can cause test pollution because WARPDL_DAEMON_TIMEOUT remains unset after the test; use t.Setenv(\"WARPDL_DAEMON_TIMEOUT\", \"\") instead.", "category": "testing", "verdict": "supported", "priority": "P2", "s...
null
warpdl__warpdl__128
warpdl/warpdl
128
defect
7f1d634eb625999dbd7c0deab9a2a7ad302a1c1f
5bba1dff7c7edf4454e4644f6d7d99e82594ded0
core: fix: GOB persistence corruption issues
## Summary Fixes critical state persistence bugs in the download manager that could cause silent data corruption or loss (#53). - Add buffer-first encoding pattern to prevent partial writes - Add file truncation before encode (fixes garbage data when state shrinks) - Add `Sync()` on explicit Flush/FlushOne/Close opera...
diff --git a/internal/api/flush.go b/internal/api/flush.go index 35a0dc36..75df7350 100644 --- a/internal/api/flush.go +++ b/internal/api/flush.go @@ -14,7 +14,7 @@ func (s *Api) flushHandler(sconn *server.SyncConn, pool *server.Pool, body json. return common.UPDATE_FLUSH, nil, err } if m.DownloadId == "" { - s...
7
6
2
[{"id": "G0", "claim": "The unused parameter 'e any' of encode() should be removed or used in the implementation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In FlushOne, encode() locking plus a second m.mu lock for Sync() creates a redundant...
null
warpdl__warpdl__131
warpdl/warpdl
131
defect
ae8d35c0cfdde5b8abe9a883cb249f1075b68a27
10f3b10ae251ad94e995840b373e7892bc5c16a7
feat: auto-install native messaging host via package manager hooks
## Summary Closes #129 Automatically installs the native messaging host manifest when users install WarpDL via package managers (Homebrew, Scoop, APT/DEB, RPM). This removes the need for manual `warpdl native-host install` after installation. ## Changes ### Core Changes - **`internal/nativehost/defaults.go`**: New ...
diff --git a/.goreleaser.yml b/.goreleaser.yml index 806e7e9a..9d689f9a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -177,6 +177,19 @@ brews: rescue # Daemon wasn't running, that's fine end + # Install native messaging host for browser extensions + begin + system "#{bin}...
5
2
1
[{"id": "G0", "claim": "The $warpdl variable defined in the generated Scoop post_install hook is unused (the next line invokes warpdl directly), so either use it consistently or remove the definition.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
warpdotdev__oz-for-oss__161
warpdotdev/oz-for-oss
161
defect
e35b7c43042e3049765e9c4e15f13b350412958e
60804fe3b35be7599b8ddf4fda3e5e55176daf5d
fix: Error states never surface in the progress comment
Related issue: #160 ## Changes - spec: add product and tech specs for error state surfacing in progress comments Session: https://staging.warp.dev/conversation/d41e89e5-e810-4746-afdd-ec725f638b51
diff --git a/specs/issue-160/product.md b/specs/issue-160/product.md new file mode 100644 index 0000000..9f8021d --- /dev/null +++ b/specs/issue-160/product.md @@ -0,0 +1,97 @@ +# Issue #160: Error states never surface in the progress comment + +## Product Spec + +### Summary + +When a workflow run fails — during agent...
5
2
1
[{"id": "G0", "claim": "The spec should keep the Oz session link present in the error comment when one was recorded before the workflow failed, instead of replacing the body with only the error text and workflow run link.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
warpdotdev__oz-for-oss__175
warpdotdev/oz-for-oss
175
defect
d6aa5db61024447a1b8d2502092775d00c800fe2
792a9adfd6686dc89d59d49b24b8f376c90f3996
refactor: use Oz run artifacts for workflow transport
## Summary - replace the old workflow transport helper with Oz run artifact polling for JSON result retrieval - update the Oz workflow client typing to use SDK models where available, including the review follow-up typing fix - remove the obsolete transport tests and add artifact-focused coverage ## Testing - env PYTH...
diff --git a/.agents/skills/review-pr/SKILL.md b/.agents/skills/review-pr/SKILL.md index f85445e..8f15f47 100644 --- a/.agents/skills/review-pr/SKILL.md +++ b/.agents/skills/review-pr/SKILL.md @@ -14,7 +14,7 @@ Review the current pull request and write the output to `review.json`. - The workflow usually provides the P...
3
3
1
[{"id": "G0", "claim": "The `logging` module is imported but never used in .github/scripts/oz_workflows/artifacts.py and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "_download_artifact_json in .github/scripts/oz_workflows/ar...
null
warpdotdev__oz-for-oss__238
warpdotdev/oz-for-oss
238
defect
d890d144aa2479239a471fec3dcda17832f78edc
ed120d1aad665a6b77d3cacba9475941ae42436f
feat: capture Oz run id in comment metadata
Closes #237 Extends the `oz-agent-metadata` marker embedded in workflow progress comments to capture the Oz agent run id alongside the existing GitHub Actions run id. ## Changes - **`helpers.py`**: Adds two new fields to the comment metadata marker: - `github_run_id`: populated from `GITHUB_RUN_ID` at comment cons...
diff --git a/.github/scripts/oz_workflows/helpers.py b/.github/scripts/oz_workflows/helpers.py index 3aac8f3..5f5e649 100644 --- a/.github/scripts/oz_workflows/helpers.py +++ b/.github/scripts/oz_workflows/helpers.py @@ -1,5 +1,6 @@ from __future__ import annotations +import json import re import uuid from dateti...
3
1
1
[{"id": "G0", "claim": "record_oz_run_id assigns self.oz_run_id and self.metadata before the PATCH to GitHub, so a failed _update_comment leaves the in-memory marker advanced while the comment keeps the old marker, the normalized == self.oz_run_id guard prevents any retry on later polls, and subsequent _append_sections...
null
warpdotdev__oz-for-oss__276
warpdotdev/oz-for-oss
276
defect
46c360d7477608a9d389511b2717eb90d13fd44f
bd9859bdbae7d365b6d62368ce69b5cb82f28c1f
Make oz runs publicly viewable
Specify this config when creating the oz agent run: ``` "session_sharing": { "public_access": "VIEWER" } ``` Depending on the server and client PRs implementing the tech and product spec for app-3762 ## Testing Only checked that this produces the correct payload. Will have to test e2e in staging. ...
diff --git a/.github/scripts/oz_workflows/oz_client.py b/.github/scripts/oz_workflows/oz_client.py index 094ee85..5e576ca 100644 --- a/.github/scripts/oz_workflows/oz_client.py +++ b/.github/scripts/oz_workflows/oz_client.py @@ -2,7 +2,7 @@ import time from pathlib import Path -from typing import Callable, cast +fr...
4
2
1
[{"id": "G0", "claim": "Drop the unreachable empty-string entry from _SESSION_SHARING_DISABLED_VALUES, since optional_env returns a stripped string and the raw == \"\" check short-circuits before the set is consulted.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"i...
null
warpdotdev__oz-for-oss__308
warpdotdev/oz-for-oss
308
defect
cdcd81ac76ada57246ae497ffba0e23de827d39f
ac235d6c7d7a3a2ede347700324ec0b86dbecee5
fix: handle pull_request_review events in respond-to-pr-comment
## Root cause When a user submits a GitHub PR review with \`@oz-agent\` in the **top-level review body** (not in an inline code comment), GitHub fires a \`pull_request_review\` event with \`action: submitted\`. The local \`respond-to-pr-comment\` workflow only subscribed to \`issue_comment\` and \`pull_request_review_...
diff --git a/.agents/skills/implement-specs/scripts/fetch_github_context.py b/.agents/skills/implement-specs/scripts/fetch_github_context.py index 5808538..dc315c0 100644 --- a/.agents/skills/implement-specs/scripts/fetch_github_context.py +++ b/.agents/skills/implement-specs/scripts/fetch_github_context.py @@ -427,6 +...
3
3
1
[{"id": "G0", "claim": "The two if/else branches in main()'s bot guard only differ in which event key holds the user payload; they should be collapsed into a single `user_payload_key` lookup to remove the duplicated `is_automation_user(...)` line.", "category": "maintainability", "verdict": "supported", "priority": "P2...
null
warpdotdev__oz-for-oss__334
warpdotdev/oz-for-oss
334
defect
f2f03085bbcd10fb9e2394a08bbf73ecb1c7d82f
3094cd61f5258cc71960282511434b1bab61e404
feat: support reporter-facing triage statements
Closes #333 ## Summary - add reporter-facing triage `statements` support to `.github/scripts/triage_new_issues.py`, including normalization, visible rendering, and duplicate suppression - render statements above follow-up questions and expand the triage prompt guidance so the agent distinguishes `statements` from `fol...
diff --git a/specs/GH333/product.md b/specs/GH333/product.md new file mode 100644 index 0000000..14e6d17 --- /dev/null +++ b/specs/GH333/product.md @@ -0,0 +1,136 @@ +# Issue #333: Support agent statements in triage response alongside follow-up questions + +## Product Spec + +### Summary + +The triage response comment ...
9
8
5
[{"id": "G0", "claim": "The sentence-count guidance for statements conflicts between product.md (\"one to three sentences\") and tech.md (\"one or two sentences\"); pick one bound and use it in both files so the prompt and the product invariant agree.", "category": "documentation", "verdict": "supported", "priority": "...
null
warpdotdev__oz-for-oss__369
warpdotdev/oz-for-oss
369
defect
8f084668c8cf7c7b25811b933e70f3c8775dcbe3
76d6e272744fa7bb4e2018b7a74df1f1eae079f8
fix: migrate reusable workflows to composite actions
Closes #368 ## Summary - add composite actions for running shared workflow Python entrypoints and building the triage image without checking out `warpdotdev/oz-for-oss` into `__oz_shared` - migrate the reusable workflows in scope to call those actions instead of relying on `WORKFLOW_CODE_*` env vars and direct script ...
diff --git a/.github/actions/build-triage-image/action.yml b/.github/actions/build-triage-image/action.yml new file mode 100644 index 0000000..eb06a1d --- /dev/null +++ b/.github/actions/build-triage-image/action.yml @@ -0,0 +1,23 @@ +name: Build Oz triage image +description: >- + Build the Oz triage Docker image from...
5
4
2
[{"id": "G0", "claim": "The WORKFLOW_CODE_PATH environment variable is no longer needed and should be removed from update-triage.yml altogether.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new contract test test_reusable_workflow_action_c...
null
warpdotdev__oz-for-oss__371
warpdotdev/oz-for-oss
371
defect
287d105a8025571d0464303c8a882766a33fd8d0
637ad3acb206f1962f9fed24fb0f21585b319000
fix: set setup-uv working directory for run-oz-python-script
Closes #370 ## Summary - point `astral-sh/setup-uv` at the `oz-for-oss` action checkout root so `run-oz-python-script` resolves the repository `uv.toml` even when invoked from another repository - keep the dependency install and script paths action-local ## Validation - `python -m venv /tmp/oz-for-oss-venv` - `/tmp/o...
diff --git a/.github/actions/run-oz-python-script/action.yml b/.github/actions/run-oz-python-script/action.yml index c8bb343..941bc1f 100644 --- a/.github/actions/run-oz-python-script/action.yml +++ b/.github/actions/run-oz-python-script/action.yml @@ -19,6 +19,10 @@ runs: uses: astral-sh/setup-uv@d0cc045d04ccac...
2
1
0
[{"id": "G0", "claim": "Remove the low-value test file .github/scripts/tests/test_run_oz_python_script_action.py from the PR.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the dedicated regression test was intentionally removed, the new empty placeh...
null
warpdotdev__oz-for-oss__412
warpdotdev/oz-for-oss
412
defect
9d112605e7ffdddaa323af89bfcd9673c2c3ebde
4a6df92c209ecd61a137fabceb0295cddb513ce3
fix: scope progress comments to current run
Closes #408 ## Summary - Scope workflow progress comment matching to the current run when `GITHUB_RUN_ID` is unavailable. - Preserve same-run comment updates by matching persisted `run_id` / `oz_run_id` metadata. - Add regression coverage for new review invocations creating fresh progress comments while same-run updat...
diff --git a/oz/helpers.py b/oz/helpers.py index 5e2d3137..78dc92e5 100644 --- a/oz/helpers.py +++ b/oz/helpers.py @@ -846,11 +846,22 @@ def _comment_matches_current_run(self, comment: IssueComment | PullRequestCommen body = str(get_field(comment, "body") or "") if self._workflow_prefix not in body: ...
2
2
1
[{"id": "G0", "claim": "The mocked test file tests/test_workflow_progress_comment.py is low-value and should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The run-matching logic should not keep multiple run-id fallbacks; use the single gene...
null
warpdotdev__oz-for-oss__423
warpdotdev/oz-for-oss
423
defect
661a5d28eff60132293e7738a5b426cf0f25a06a
4737825cd87605d890c232d96422b220bc3e91ef
fix: route team slugs to team_reviewers API parameter and reflect failures in progress comment
## Problem The review workflow in oz-for-oss fails to actually request team reviews when a `.github/STAKEHOLDERS` entry references a GitHub team (e.g. `@warpdotdev/oss-maintainers`). The bot's progress comment claims the review was requested, but the GitHub API call silently fails because: 1. Team slugs (containing `...
diff --git a/core/workflows/review_pr.py b/core/workflows/review_pr.py index 8e7e9ec..4462df3 100644 --- a/core/workflows/review_pr.py +++ b/core/workflows/review_pr.py @@ -131,6 +131,46 @@ def _stakeholder_logins(entries: list[dict[str, Any]]) -> set[str]: return logins +def _is_team_slug(login: str) -> bool:...
1
1
1
[{"id": "G0", "claim": "When create_review_request fails after an approve result with empty summary and comments, actually_requested stays empty and the completion message claims feedback was posted even though no review body may exist; the message should track whether feedback was posted or use a dedicated reviewer-re...
null
warpdotdev__warp__9258
warpdotdev/warp
9,258
defect
81910e2442eacba9310bcf054cc9f28811a3235a
58ca79d300ba207b83ec0607a3bfb4151ffb6269
Sort tab configs alphabetically by name
Closes #9132 ...
diff --git a/app/src/user_config/native.rs b/app/src/user_config/native.rs index 1ab988dc3d9..ec55e12e8cc 100644 --- a/app/src/user_config/native.rs +++ b/app/src/user_config/native.rs @@ -204,6 +204,7 @@ pub fn load_tab_configs(tab_config_path: &Path) -> (Vec<TabConfig>, Vec<TabConfi Err(error) => errors....
2
2
2
[{"id": "G0", "claim": "Case-insensitive ties still fall back to filesystem order, so names differing only by case can remain nondeterministic; add a deterministic tie-breaker to the sort.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add unit test...
null
warpdotdev__warp__9283
warpdotdev/warp
9,283
defect
bc3fffa7e57dae20b1878a1aa74e9f003d0617ce
345661c6f622dd4072611ee1ac5ea29de5ff1f4f
Fix vertical tabs panel not opening when tab bar set to Always
## Description Fixes #9201. When using vertical tabs, **Show the tab bar → Always** now opens the vertical tabs panel and applies on window restore. ## Testing I did the manual testing myself. After setting it to always I quit the app with tabs toggled off. And after reopening the tabs were visible. ## Server A...
diff --git a/app/src/workspace/view.rs b/app/src/workspace/view.rs index 6af9ef53206..cc24dd9a9bb 100644 --- a/app/src/workspace/view.rs +++ b/app/src/workspace/view.rs @@ -3390,6 +3390,17 @@ impl Workspace { ) { match event { TabSettingsChangedEvent::WorkspaceDecorationVisibility { .. } => {...
1
1
1
[{"id": "G0", "claim": "The change conflates the workspace decoration visibility setting into also controlling the visibility of the vertical tabs panel (while the window-level top bar stays relevant when vertical tabs are enabled), and the reviewer prefers adding a separate, more narrowly scoped setting `ShowVerticalT...
null
warpdotdev__warp__9305
warpdotdev/warp
9,305
defect
57225a80cc3584cfab64d9baf5bec1f89b95f03f
bffe0a1d185f6b7635e797d329b7850eef68f1b1
Add /set-tab-color slash command
## Description Adds a programmatic way to set or clear the active tab's color, mirroring the manual color selection in the right-click context menu. Closes the gap between the existing `/rename-tab` (programmatic tab rename) and the previously click-only color picker. The new `/set-tab-color <color>` slash command ac...
diff --git a/app/src/search/slash_command_menu/static_commands/commands.rs b/app/src/search/slash_command_menu/static_commands/commands.rs index 48e614abf37..a699e3ea872 100644 --- a/app/src/search/slash_command_menu/static_commands/commands.rs +++ b/app/src/search/slash_command_menu/static_commands/commands.rs @@ -135...
4
4
2
[{"id": "G0", "claim": "Mapping `default` and `reset` onto the same `None` path as `none` makes them suppress directory tab colors (`SelectedTabColor::Cleared`) instead of restoring the directory default when `DirectoryTabColors` is enabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"...
null
warpdotdev__warp__9323
warpdotdev/warp
9,323
defect
7e189ead1a8453286dc48d0cf238108b615bac1f
c4ecde3738d7bbb04256d40641f8332e21f8f263
Add client-side user setting for agent commit attribution
## Description Fixes https://github.com/warpdotdev/warp/issues/9215. When Oz creates a commit or pull request on the user's behalf, it currently always tags the commit with a `Co-Authored-By: Oz <oz-agent@warp.dev>` line. Some teams and individuals don't want Oz's name in their git history. After this change, ...
diff --git a/app/src/settings/ai.rs b/app/src/settings/ai.rs index 50bb2f29add..575d3eb7722 100644 --- a/app/src/settings/ai.rs +++ b/app/src/settings/ai.rs @@ -1446,6 +1446,20 @@ define_settings_group!(AISettings, settings: [ sync_to_cloud: SyncToCloud::Never, private: true, } + + // Whether ...
1
1
1
[{"id": "G0", "claim": "Because the Oz prompt only reads the server-side cloud preference, declaring agent_attribution_enabled with sync_to_cloud respecting the user's Settings Sync toggle lets users who have Settings Sync disabled turn attribution off locally while the server still falls back to the default enabled va...
null
warpdotdev__warp__9326
warpdotdev/warp
9,326
defect
21cb7e56d1d5de6ff5512ae4a71ef384c0fd5b72
ea92bf0f08353d354abbb16edcafe78a67a58aed
Fix read_files with out-of-bounds line ranges producing empty result
## Description Fixes APP-4002 <img width="444" height="303" alt="Screenshot 2026-04-28 at 5 42 20 PM" src="https://github.com/user-attachments/assets/1c45e5fa-1a20-4aa9-8666-c6d59b781fa5" /> This is a defensively coded UI in case something else leads to missing file contexts. <img width="469" height="113"...
diff --git a/app/src/ai/blocklist/block/view_impl/output.rs b/app/src/ai/blocklist/block/view_impl/output.rs index 455346f2297..34dabf1dbb6 100644 --- a/app/src/ai/blocklist/block/view_impl/output.rs +++ b/app/src/ai/blocklist/block/view_impl/output.rs @@ -422,7 +422,7 @@ pub(super) fn render(props: Props, app: &AppCon...
4
2
1
[{"id": "G0", "claim": "finalize() calls flush_range(true) only once, so a read_files request with several ranges beyond EOF emits only the first out-of-bounds range and silently drops the remaining requested ranges.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "...
null
warpdotdev__warp__9328
warpdotdev/warp
9,328
defect
929944198ca8b88539254543500c3d3d1d8db630
ce803352be2e31462d069040bbec46200f088f8b
APP-3805: Auto-update SSH remote-server binary on version skew
## Description [APP-3805](https://linear.app/warpdotdev/issue/APP-3805/client-server-version-skew) — handle client/server version skew for the SSH remote-server binary. Previously the remote binary lived at a single unversioned path. When a client updated but the remote still had an older binary, the two could silent...
diff --git a/app/src/remote_server/server_model.rs b/app/src/remote_server/server_model.rs index 6983deb85e1..f7c9d9d217e 100644 --- a/app/src/remote_server/server_model.rs +++ b/app/src/remote_server/server_model.rs @@ -497,11 +497,15 @@ impl ServerModel { } /// Handles `Initialize` by returning the server...
2
2
2
[{"id": "G0", "claim": "If `deregister_session` runs while `transport.connect()` is still in flight, the new inline connection flow unconditionally reinserts `session_id` once connect completes, resurrecting a torn-down session and spawning a new remote-server process; restore the previous `contains_key` guard before i...
null
warpdotdev__warp__9331
warpdotdev/warp
9,331
defect
c0feac21dba3fcc3c879434ae2f807cc668083b9
8415710f27400a357e0e01914c093b3ac78053b7
[APP-3801] implement remote environments auth
## Description Implement remote environment auth according to specs ## Testing https://www.loom.com/share/24a9b613b3fa4419a317d3888539f914 ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode ## Changelog Entries for Stable <!-- The entries below will be used when constructin...
diff --git a/app/src/lib.rs b/app/src/lib.rs index e110566e713..04dada41c85 100644 --- a/app/src/lib.rs +++ b/app/src/lib.rs @@ -565,12 +565,12 @@ pub fn run() -> Result<()> { } } #[cfg(not(target_family = "wasm"))] - warp_cli::Command::Worker(warp_cli::WorkerComman...
2
1
1
[{"id": "G0", "claim": "Deduplicating token-rotation notifications by `host_id` is no longer safe now that daemon sockets are identity-scoped: sessions for different identities on the same host can rotate the token into the wrong daemon and skip the intended one.", "category": "security", "verdict": "supported", "prior...
null
warpdotdev__warp__9338
warpdotdev/warp
9,338
defect
ffe93a5e6d6f519e428127a0540954bf56e3e295
93f5768d7bd8130ae1608d68294c35d94a8b638b
Fix doubled-word typos in crates/ comments
## Description While reading through a few crates I kept noticing duplicated words in comments — "the the", "in in", "to to", "and and", "a a", "that that". A quick `grep` turned up 17 of them across 15 files. All edits are in `//` and `///` comments — no code, test, or behavior change. Files touched: - `crates/sett...
diff --git a/crates/settings/src/manager.rs b/crates/settings/src/manager.rs index 4b7daa1292c..4f6cadfad02 100644 --- a/crates/settings/src/manager.rs +++ b/crates/settings/src/manager.rs @@ -94,7 +94,7 @@ pub enum SettingsEvent { } impl SettingsManager { - /// Registers a function that updates a a setting with...
1
1
0
[{"id": "G0", "claim": "The edited wasm logger doc comment on crates/warp_logging/src/wasm.rs line 191 still says \"Initialize the logger which the given config. If failed, ...\" and should read \"Initialize the logger with the given config\" so the comment reads correctly.", "category": "documentation", "verdict": "su...
null
warpdotdev__warp__9376
warpdotdev/warp
9,376
defect
d0f045c01bacbd845a631d07da30f277cfd2b98d
b2f68b8ff62b9c01f21db0ef7723380fca931807
Preseed auth and trust settings for codex CLI.
## Description <!-- Please remember to add your design buddy onto the PR for review, if it contains any UI changes! --> This PR seeds the trust and auth config files for the codex harness, so that we don't get interactive dialogs re: trusting project folders or setting up auth when running in an autonomous cloud agen...
diff --git a/Cargo.lock b/Cargo.lock index 5487866fb97..e8f7c82a326 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14358,6 +14358,7 @@ dependencies = [ "tokio", "tokio-util", "toml 0.8.23", + "toml_edit 0.25.6+spec-1.1.0", "tracing", "typed-path 0.10.0", "ui_components", diff --git a/app/Cargo.toml b/app/Carg...
4
3
3
[{"id": "G0", "claim": "auth.json stores the API key but prepare_codex_auth writes it through the generic write_json_file (std::fs::write), so newly-created files follow the process umask (commonly 0644) and the secret may be world-readable; write this secret file with restrictive permissions like Codex's own 0600 stor...
null
warpdotdev__warp__9400
warpdotdev/warp
9,400
defect
c325d146ab314971e1577f168cf45f03118c3ac5
5b03738d0e3d46019cdae890ecfce15fa4611cab
Include .yml and .markdown in Drive import file picker
### Description The Warp Drive import flow lets users pick workflow (YAML) and notebook (Markdown) files. The picker uses `FileType::Yaml` and `FileType::Markdown` from `warpui_core::platform::file_picker`, which previously listed only `yaml` and `md`. That doesn't match what the importer is willing to ingest: - [`ap...
diff --git a/crates/warpui_core/src/platform/file_picker.rs b/crates/warpui_core/src/platform/file_picker.rs index 57c00f99c41..5eac80c39b8 100644 --- a/crates/warpui_core/src/platform/file_picker.rs +++ b/crates/warpui_core/src/platform/file_picker.rs @@ -28,8 +28,8 @@ impl FileType { pub fn extensions(&self) -> ...
1
1
0
[{"id": "G0", "claim": "Per repo conventions, the inline `mod tests` in file_picker.rs should be moved into a `file_picker_tests.rs` file alongside it and wired up with a `#[path]` attribute.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
warpdotdev__warp__9476
warpdotdev/warp
9,476
defect
ca42aacc3947bebf64a9aa01c33d9d879ecb184a
c0cd46e4fb7625d607bce5ba588943cdb0505ff1
Fix chord shortcuts on Windows non-Latin keyboard layouts
Fixes #9036. ## Description On Windows, non-Latin keyboard layouts (Cyrillic, Greek, Arabic, etc.) translate the physical key to a non-ASCII character even when Ctrl/Cmd is held. That makes bindings like `ctrl-c` / `ctrl-v` (and the terminal's copy/paste shortcuts) fail to match — users have to switch their syste...
diff --git a/crates/warpui/src/windowing/winit/event_loop/key_events.rs b/crates/warpui/src/windowing/winit/event_loop/key_events.rs index fa590f2b031..487e52fb1ee 100644 --- a/crates/warpui/src/windowing/winit/event_loop/key_events.rs +++ b/crates/warpui/src/windowing/winit/event_loop/key_events.rs @@ -101,6 +101,20 @...
1
1
1
[{"id": "G0", "claim": "Exclude AltGr/right-Alt from the Ctrl/Super non-ASCII fallback, because on Windows AltGr is reported as Ctrl+Alt and a non-ASCII AltGr character could otherwise be rewritten into a ctrl-alt-<qwerty> chord and be handled before TypedCharacters is emitted.", "category": "correctness", "verdict": "...
null
warpdotdev__warp__9503
warpdotdev/warp
9,503
defect
e3470ae088c01b24ad6509a9b02e8ecfa6dfef83
66460f407ea93586b6692f707b8f274848b8f186
Run executable shell scripts in the terminal instead of opening in the editor
## Description `is_file_openable_in_warp` returns `Some(Text)` for any non-binary file, which shadowed the existing executor branch in `open_file` when handling a `file://` URL — so executable shell scripts were opened in the editor instead of being run. The URI handler now classifies the action up front via a new pur...
diff --git a/app/src/uri/mod.rs b/app/src/uri/mod.rs index 023dadf1ed5..d930e33f355 100644 --- a/app/src/uri/mod.rs +++ b/app/src/uri/mod.rs @@ -13,7 +13,9 @@ use crate::linear::{LinearAction, LinearIssueWork}; use crate::root_view::{open_new_window_get_handles, OpenLaunchConfigArg}; use crate::server::ids::ServerId;...
3
3
3
[{"id": "G0", "claim": "The execute-bit check matches any execute bit (0o111), so a file with only group/other execute but no user-execute bit can be classified as a runnable shell script; use the user execute bit (0o100) to match the documented routing policy.", "category": "security", "verdict": "supported", "priorit...
null
warpdotdev__warp__9528
warpdotdev/warp
9,528
defect
9b3a9908786886726f4061d001d5ec5e5bc7e23f
71ed12acbbb62a80b15a8d3de9bee5d887d3bdbc
[APP-3106] Client: preserve user query modes in CloudMode
## Description With my server changes in [this](https://github.com/warpdotdev/warp-server/pull/10678) PR, we now accept an explicit user query mode in ambient agent queries sent via the public API. This PR passes `UserQueryMode`through ambient agent requests so CloudMode preserves `/plan` and `/orchestrate` semantics,...
diff --git a/app/src/ai/agent/mod.rs b/app/src/ai/agent/mod.rs index 2ae96641ef1..b5cb2423800 100644 --- a/app/src/ai/agent/mod.rs +++ b/app/src/ai/agent/mod.rs @@ -2327,6 +2327,7 @@ impl PassiveSuggestionTrigger { } #[derive(Clone, Copy, Debug, PartialEq, Eq, Default, Serialize, Deserialize)] +#[serde(rename_all =...
1
1
1
[{"id": "G0", "claim": "Adding `#[serde(rename_all = \"lowercase\")]` to `UserQueryMode` may break existing data if the enum is (de)serialized anywhere.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
warpdotdev__warp__9553
warpdotdev/warp
9,553
defect
cca4346355933fda8dd4ddc3b6a09cd1c165c82e
d3763d4e971549fde400df1cf4cd20914c009a9f
Attach image drops in CLI-agent sessions instead of typing the path (drag-and-drop)
## Description Fixes #9545. When a CLI agent (e.g. Claude Code) is the active foreground process in a Warp tab, dragging an image file onto the tab inserts the file path as text into the agent's PTY instead of routing the drop through the same image-paste pipeline that Cmd+V uses. Cmd+V on an image works correctl...
diff --git a/app/src/terminal/view.rs b/app/src/terminal/view.rs index 187d83793be..51257a9d262 100644 --- a/app/src/terminal/view.rs +++ b/app/src/terminal/view.rs @@ -23768,9 +23768,17 @@ impl TerminalView { .active_block() .is_active_and_long_running(); + // CLI agents are always l...
1
1
1
[{"id": "G0", "claim": "Provide a before/after verification video because the PR does not appear to fix the linked GH issue (images dropped into Claude Code input still show paths).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
warpdotdev__warp__9667
warpdotdev/warp
9,667
defect
85ebd33bf5e0b68ef4619d928169651a5da771cf
b9ae79e6977a21db2144f7332f66efb330926d9a
feat: recognize Mistral Vibe as a CLI agent (#9607)
## Description Resolves #9607. Adds `CLIAgent::Vibe` so running `vibe` (or `vibe-acp`) in a Warp pane is detected as a known CLI agent on par with Claude Code, Codex, Gemini CLI, OpenCode, etc. Mistral Vibe is the open-source ACP-compatible CLI shipped alongside Devstral 2. The change is purely additive and follows t...
diff --git a/app/src/server/telemetry/events.rs b/app/src/server/telemetry/events.rs index 4e513a1384e..45c49f0162f 100644 --- a/app/src/server/telemetry/events.rs +++ b/app/src/server/telemetry/events.rs @@ -500,6 +500,7 @@ pub enum CLIAgentType { Auggie, Cursor, Goose, + Vibe, Unknown, } dif...
1
1
1
[{"id": "G0", "claim": "`detect` compares the first token exactly to `command_prefix()`, so `vibe-acp` remains undetected despite the PR scope; add a secondary match and a regression test.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
warpdotdev__warp__9681
warpdotdev/warp
9,681
defect
aa2ac33074d8b06f71ad7c84ecd61ccb16a756ad
4341ee4cbdaede34bf5291424b4379780a6fd822
remote_server: gate install on glibc preinstall check + tolerate cleanup races
## Description Two related fixes to the remote-server setup flow: ### 1. Gate remote-server install on a glibc preinstall check (APP-4281) The prebuilt remote-server binary is linked against glibc 2.31. On older Linux hosts (e.g. RHEL/Rocky/CentOS 8 with glibc 2.28) the binary downloads fine but fails at runti...
diff --git a/app/src/remote_server/ssh_transport.rs b/app/src/remote_server/ssh_transport.rs index 6bd1cc33da9..0402922ea95 100644 --- a/app/src/remote_server/ssh_transport.rs +++ b/app/src/remote_server/ssh_transport.rs @@ -14,7 +14,10 @@ use warpui::r#async::executor; use remote_server::auth::RemoteServerAuthConte...
3
1
0
[{"id": "G0", "claim": "The preinstall probe is run through `run_ssh_script`, which invokes `bash -s`, so on Alpine/minimal hosts without bash the check fails before it can classify the host and fail-opens into the install/prompt path instead of silently falling back for non-glibc hosts; the reviewer asks for a `sh -s`...
null
warpdotdev__warp__9683
warpdotdev/warp
9,683
defect
f61ef1dcd9bc18eee1f85a5647f98454a3819c37
e7cdedb2ecbd521c33594c8a590c271371ab53f7
[REMOTE-1318] Merge org and user command denylists with per-row editability
## Description When an org enforces a command denylist override, the entire denylist UI was previously disabled — users couldn't add their own entries. This PR merges the org and user denylists into a single list where: - **Org rows**: remove button disabled, tooltip on hover ("This option is enforced by your org...
diff --git a/app/src/ai/blocklist/permissions.rs b/app/src/ai/blocklist/permissions.rs index ec9c45d34e2..b2fed85fee5 100644 --- a/app/src/ai/blocklist/permissions.rs +++ b/app/src/ai/blocklist/permissions.rs @@ -398,18 +398,35 @@ impl BlocklistAIPermissions { profile_id: ClientProfileId, ) -> Vec<AgentMo...
4
3
3
[{"id": "G0", "claim": "User-owned denylist rows stay removable when AI is disabled because only org rows set is_disabled; preserve the previous AI-off disabled state in addition to per-org locking in both denylist renderers.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
warpdotdev__warp__9697
warpdotdev/warp
9,697
defect
f696f5b830fc350a3d4fd1bea1a0308b5e9b5f9e
55d8369cc62f720a3c1875f1b8bad80be2b8a074
Save and upload codex conversation transcript
## Description <!-- Please remember to add your design buddy onto the PR for review, if it contains any UI changes! --> Add transcript upload for codex cloud agent runs, mirroring what we already have for claude transcripts. Of note: - codex nests session JSONL files within `YYYY/MM/DD` folders, we walk the dirs ...
diff --git a/app/src/ai/agent_sdk/driver/harness/codex.rs b/app/src/ai/agent_sdk/driver/harness/codex.rs index 37ccc1da6d3..446a98b92b2 100644 --- a/app/src/ai/agent_sdk/driver/harness/codex.rs +++ b/app/src/ai/agent_sdk/driver/harness/codex.rs @@ -1,7 +1,7 @@ use std::collections::HashMap; use std::fs; -use std::pat...
5
3
1
[{"id": "G0", "claim": "parse_session_meta returns metadata for any first entry with a payload, so an early read whose first parsed JSONL entry is not an actual session_meta can cache default cwd/version forever, and only return cached metadata for a real session_meta entry with usable metadata.", "category": "correctn...
null
warpdotdev__warp__9700
warpdotdev/warp
9,700
defect
f696f5b830fc350a3d4fd1bea1a0308b5e9b5f9e
9a49e85c0562c9c6efbdf26cff0bb4a146cafefa
Conversation resuming for codex
## Description <!-- Please remember to add your design buddy onto the PR for review, if it contains any UI changes! --> Following the pattern for resuming claude conversations, we add support for codex conversations. These changes are pretty straightforward: - Pull out `fetch_transcript_envelope` and `entries_to...
diff --git a/app/src/ai/agent_sdk/driver/harness/claude_code.rs b/app/src/ai/agent_sdk/driver/harness/claude_code.rs index b6761eb616e..0ee2754deac 100644 --- a/app/src/ai/agent_sdk/driver/harness/claude_code.rs +++ b/app/src/ai/agent_sdk/driver/harness/claude_code.rs @@ -86,28 +86,9 @@ impl ThirdPartyHarness for Claud...
2
1
1
[{"id": "G0", "claim": "The Claude harness non-resume match arm still returns a 3-tuple after the binding was changed to (session_id, preexisting_conversation_id), so the crate will not compile.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "At some...
null
warpdotdev__warp__9864
warpdotdev/warp
9,864
defect
00df35b5dc951b9ed9ac57f873ea0b0484f42ad6
e9584d70fcab39169640af975d8ccb1f83b3d79c
Distinguish between agent conversation model update types
Closes #10076 ## Description The "Runs" agent management view rebuilds its entire card list whenever any conversation's status changes. Most of those events are visually no-ops (re-emitted statuses or status changes that don't cross the active filter), but subscribers can't tell because the event carries no detail. ...
diff --git a/app/src/ai/agent/conversation.rs b/app/src/ai/agent/conversation.rs index 05a2fbbe8b0..ac439f0536e 100644 --- a/app/src/ai/agent/conversation.rs +++ b/app/src/ai/agent/conversation.rs @@ -669,11 +669,15 @@ impl AIConversation { } else { None }; + let prev_status = self...
2
2
0
[{"id": "G0", "claim": "Storing `StatusFilter` in `ConversationUpdateKind::StatusSet` forces a new `conversation_status_filter` mapping helper; `AgentRunDisplayStatus` (which already exposes `status_filter`) could be stored instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
warptools__warpforge__32
warptools/warpforge
32
defect
a093df3918f5a9cb11982477fec03b34c86d0a28
42189f3a54354b9ff3c7867983636235214b0998
add ware unpack command
Currently unpacks directly from workspace stack to the local filesystem and passes along arguments to rio to do the actual work.
diff --git a/cmd/warpforge/internal/util/util.go b/cmd/warpforge/internal/util/util.go index c5d03dea..ec5b7b4e 100644 --- a/cmd/warpforge/internal/util/util.go +++ b/cmd/warpforge/internal/util/util.go @@ -131,6 +131,8 @@ func ModuleFromFile(filename string) (wfapi.Module, error) { } // ExecModule executes the giv...
8
4
2
[{"id": "G0", "claim": "The unpack command needs tests — e.g. a testmark exec fixture that runs the unpack command and then uses shell find/cat commands to visualize and sanity-check the results, which would also make good documentation examples.", "category": "testing", "verdict": "supported", "priority": "P1", "scope...
null
warptools__warpforge__39
warptools/warpforge
39
defect
ee0f990b713169fbbf97c9fe75ed69810f03d109
4f504b1c0a2a1a98b2e5886d01d4678acf6c536f
fix up cli tests
Huzzah! :partying_face: >With the new additions to testmark, we have a bunch of tests to fix that weren't actually executing before. This gets us back into a relatively good state where all the tests pass. >This change also makes significant changes to how the offline "/net/" flag works. I.E. Any non-executab...
diff --git a/cmd/warpforge/main_test.go b/cmd/warpforge/main_test.go index 4b50398c..9bead81f 100644 --- a/cmd/warpforge/main_test.go +++ b/cmd/warpforge/main_test.go @@ -28,6 +28,25 @@ func getTestWorkspaceStack(t *testing.T) []*workspace.Workspace { return wss } +type tagset map[string]struct{} + +func newTagSet...
3
2
0
[{"id": "G0", "claim": "The inline comment saying the child-iteration 'sucks' is a bit much.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test fixture's catalog mirror points at an https:// warehouse URL although the local vendored file://...
null
warptools__warpforge__40
warptools/warpforge
40
defect
d6e2fbe32a24e90a525e4559a37fbb31503646a8
e60a71035c19725c7d230cc4106d0e21897f2cc1
Ferk panic
Relatively minor fix. I will however take a moment to complain about ipld error output. >execution failed: error from ExecFn is "warpforge-error-plot-invalid: plot file ./plot.wf not parsed: caused by: warpforge-error-serialization: serialization error: unable to deserialize plot: bindnode TODO: len mismatch" Parti...
diff --git a/cmd/warpforge/ferk.go b/cmd/warpforge/ferk.go index 6381e51b..6cb4fefa 100644 --- a/cmd/warpforge/ferk.go +++ b/cmd/warpforge/ferk.go @@ -7,6 +7,7 @@ import ( "github.com/ipld/go-ipld-prime" "github.com/ipld/go-ipld-prime/codec/json" + "github.com/serum-errors/go-serum" "github.com/urfave/cli/v2" ...
1
1
0
[{"id": "G0", "claim": "Both commented-out replace directives in go.mod (the newly added ../go-ipld-prime one and the pre-existing /home/eric one) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
warptools__warpforge__51
warptools/warpforge
51
defect
20763b6a7162f9778c3297a335efba503648b506
dc43fdc103faecdc02be84ab469a24743b69e990
replace wfapi.Error with serum errors
This is a pretty significant consistency change so that we don't get stuck supporting a mix of wfapi.Error and serum errors. I've found that they interact in strange ways (particularly around handling "cause" and how they serialize). This should make other work a bit easier. Updates serum to v0.8.0 for quoted templa...
diff --git a/cmd/warpforge/catalog.go b/cmd/warpforge/catalog.go index e57a4f76..d6da5cd2 100644 --- a/cmd/warpforge/catalog.go +++ b/cmd/warpforge/catalog.go @@ -13,6 +13,7 @@ import ( "github.com/go-git/go-git/v5/config" "github.com/go-git/go-git/v5/plumbing" "github.com/go-git/go-git/v5/storage/memory" + "gith...
2
2
1
[{"id": "G0", "claim": "The locally declared codedError interface in pkg/workspace/workspace.go shouldn't be necessary since the serum package's scoped Code() function does the job.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Many wfapi error construc...
null
warptools__warpforge__56
warptools/warpforge
56
defect
b7c63efc352b2eaec43a538e9ac25dcd54917b5f
3494cbc69b50f9ac357c5f2bd868e57b0785cacb
Add validation rules to module names
Also refactors some utility functions by placing them into the dab package. Overall this helps ensure that modules are being validated by centralizing the module file handling.
diff --git a/cmd/warpforge/catalog.go b/cmd/warpforge/catalog.go index 0fbcbecc..37966c75 100644 --- a/cmd/warpforge/catalog.go +++ b/cmd/warpforge/catalog.go @@ -20,6 +20,7 @@ import ( "github.com/warptools/warpforge/cmd/warpforge/internal/catalog" "github.com/warptools/warpforge/cmd/warpforge/internal/util" "gi...
3
2
0
[{"id": "G0", "claim": "Add some examples of valid module names to the ValidateModuleName doc comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "cmdCheck should return a wapi/serum error for the os.Getwd failure (e.g. serum.Errorf) instead of...
null
warptools__warpforge__57
warptools/warpforge
57
defect
b7c63efc352b2eaec43a538e9ac25dcd54917b5f
8b8317764b54535ed8b560cc2fac6a672694956b
Use .warphome as the name for the home workspace
This stops is from being possible to acceidently get some one else's home workspace as part of your workspace stack.
diff --git a/pkg/dab/workspace.go b/pkg/dab/workspace.go index d80267ef..10fe0ee5 100644 --- a/pkg/dab/workspace.go +++ b/pkg/dab/workspace.go @@ -2,4 +2,5 @@ package dab const ( MagicFilename_Workspace = ".warpforge" + MagicFilename_HomeWorkspace = ".warphome" ) diff --git a/pkg/formulaexec/formula_exec.go b/pkg...
3
3
0
[{"id": "G0", "claim": "The function comments on MemoBasePath and CatalogBasePath should say `e.g.` instead of `i.e.`, since the paths given are examples rather than exhaustive definitions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "In DotPa...
null
warptools__warpforge__69
warptools/warpforge
69
defect
db7770be0feb7f91c4b49bf476473ec4f59edbad
003bcd3f23b40979d329ff61fb4ace5abfc25719
Ferk tweaks
Makes some changes to how Ferk works: 1. Allows the plot specified to be a plot file or a module directory 2. Modify ferk to run a specific step in the plot (default: `ferk`) Most notably, this adds `dab.FindActionableFromFS` which finds actionable files (modules, formulas, plots) in a standard way. This is only u...
diff --git a/cmd/warpforge/ferk.go b/cmd/warpforge/ferk.go index a5749298..cce790d3 100644 --- a/cmd/warpforge/ferk.go +++ b/cmd/warpforge/ferk.go @@ -14,6 +14,7 @@ import ( "github.com/warptools/warpforge/cmd/warpforge/internal/util" "github.com/warptools/warpforge/pkg/config" + "github.com/warptools/warpforge/p...
7
6
2
[{"id": "G0", "claim": "The comment in FindActionableFromFS misspells \"proceed\" as \"procede\" and should read \"we can proceed to the behavior for dir feature detection (without popping)\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The com...
null
warrant-dev__apirunner__21
warrant-dev/apirunner
21
defect
800d59f788b1991ed7f432a4fb8961a29089d2b7
3bf61a2288b932c39b5e4555cea3a474b4f975c9
Ignore nested occurrences of ignored fields
Reimplement IgnoredFields by ignoring diffs generated by deep.Equal on any of the fields listed in IgnoredFields so that nested occurrences of the fields are also ignored.
diff --git a/suite.go b/suite.go index d29c564..7c1fa9e 100644 --- a/suite.go +++ b/suite.go @@ -292,11 +292,6 @@ func (suite TestSuite) executeTest(test TestSpec, extractedFields map[string]str } func (suite TestSuite) compareObjects(obj map[string]interface{}, expectedObj map[string]interface{}, extractedFields m...
1
1
0
[{"id": "G0", "claim": "Add a comment stating that the filtering does a post-process removal of diffs for ignoredFields because the deep lib is being used.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
warrant-dev__apirunner__42
warrant-dev/apirunner
42
defect
b02865d35cb20ff8f42bf415702dceef60875575
7e28d9c21e7eeeadde0b40e0a3ee49ec599efe6a
[BUG] Fix issue where string bodies were not parsed or compared correctly
Issue: String bodies would include escaped quotes in request data (`"\"Hello, World!\""`) Fix: Do not `json.Marshal` body if it is of string type Issue: String response bodies were only parsed as JSON objects Fix: If `json.Unmarshal` fails and body is a string, compare as a string. Other enhancements: - Added...
diff --git a/.gitignore b/.gitignore index fc95c31..44677df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ cmd/apirunner/apirunner dist/ +.idea/ diff --git a/basicresponse.json b/basicresponse.json index b607c1a..d48b38e 100644 --- a/basicresponse.json +++ b/basicresponse.json @@ -13,6 +13,21 @@ ...
2
1
0
[{"id": "G0", "claim": "The reviewer asks whether the new non-JSON/string-comparison branches in executeTest still need an explicit return Failed(test.Name, testErrors, time.Since(start)) to report the test failure.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1"...
null
wasm-bindgen__wasm-bindgen__3087
wasm-bindgen/wasm-bindgen
3,087
defect
2d1651f3dab24450f3f5f9314c88c93985e1bd90
3f727a8a39394a827ccc896efb80e5ff5ab275c0
add JsValue::is_array() + tests
Closes #3086
diff --git a/crates/cli-support/src/intrinsic.rs b/crates/cli-support/src/intrinsic.rs index 8563369525fa..5e5c70be698c 100644 --- a/crates/cli-support/src/intrinsic.rs +++ b/crates/cli-support/src/intrinsic.rs @@ -95,6 +95,9 @@ intrinsics! { #[symbol = "__wbindgen_is_function"] #[signature = fn(ref_e...
1
1
1
[{"id": "G0", "claim": "The IsArray intrinsic should generate Array.isArray(x) instead of x instanceof Array, since instanceof gives wrong answers per the instanceof-vs-isArray caveat.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
wasm-bindgen__wasm-bindgen__3279
wasm-bindgen/wasm-bindgen
3,279
defect
5f6e651ea17bff33775c4477e036d644c4c2b6e9
eef8075cd11f296c487136189b72ec1b8d47f09f
Remove faulty `location.href` fallback and disable `--split-linked-modules` by default
This removes the faulty fallback to `location.href` on the no-modules target. > The problem is that if you are in a worker and using `importScripts()`, `location.href` can never return the path to the imported script, the shim, which is what we want, instead `location.href` will return the path to the script that star...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fff2677b472..e46a64a709f0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,8 @@ jobs: test_wasm_bindgen: name: "Run wasm-bindgen crate tests (unix)" runs-on: ubuntu-latest + env: + WASM_...
3
1
0
[{"id": "G0", "claim": "The new cli.md sentence about the no-modules target should be reworded to the suggested phrasing that names `link_to!` and explains why the URL cannot be figured out outside a document.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
wasm-bindgen__wasm-bindgen__3293
wasm-bindgen/wasm-bindgen
3,293
defect
8780e5da512cd676cf96b82233f779db2feeb44d
23570537a3909be068d39a9f65d935e6712d4441
Implement `#[should_panic(expected = "...")]` handling
Catching panics was already in place, it was just a matter of properly parsing `should_panic` and printing the correct error messages. I tried to stay as close as possible to the output Rust gives. EDIT: I found out later that there was no proper way to "only" get the panic message, so I just customized the pani...
diff --git a/crates/futures/tests/tests.rs b/crates/futures/tests/tests.rs index 6a950f7c8696..3c4eb7b80c2c 100644 --- a/crates/futures/tests/tests.rs +++ b/crates/futures/tests/tests.rs @@ -155,3 +155,15 @@ async fn can_use_an_async_iterable_as_stream() { assert_eq!(stream.next().await, Some(Ok(JsValue::from(24))...
11
10
8
[{"id": "G0", "claim": "The variants of the `Failure` enum are unclear to a first-time reader and should get doc comments explaining what they mean.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The macro must accept the same `should_panic` synta...
null
wasm-bindgen__wasm-bindgen__3351
wasm-bindgen/wasm-bindgen
3,351
defect
76e4cad8bb0dadc27b532bc051817ecf9bc3ac7a
785bfc295f9281ef27be42c201dead454f9e6665
Worker tests
Fixed #3340. Origin #3348
diff --git a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs index 3286a118cc71..2647104c8a25 100644 --- a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs +++ b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs @@ -28,8 +28,8 @@ mod shell; enum TestMode {...
3
3
1
[{"id": "G0", "claim": "Add example tests that run in a worker under tests/worker so the new worker mode gets run in CI and stays tested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In stringify_error the original JsValue is shadowed and a redundant ...
null
wasm-bindgen__wasm-bindgen__3562
wasm-bindgen/wasm-bindgen
3,562
defect
ed43f546bcfb76e10c9615968faa3a1001b227ea
bd5da44d5d5baf14a8b23656542dfa124f06ad16
Remove class wrap for constructors in Rust exports
After #1594 constructors of Rust exported structs started using class wrapping when generating JS shims. Wrapping erases prototype information from the object instance in JS and as a result it is not possible to override methods (via inheritance) of the generated class. This PR is rebased from #3561, it passes the c...
diff --git a/crates/cli-support/src/js/binding.rs b/crates/cli-support/src/js/binding.rs index 83a04f92fb60..6a204fc9d1bf 100644 --- a/crates/cli-support/src/js/binding.rs +++ b/crates/cli-support/src/js/binding.rs @@ -166,7 +166,12 @@ impl<'a, 'b> Builder<'a, 'b> { // more JIT-friendly. The generated code sho...
4
4
3
[{"id": "G0", "claim": "The new guide sentence should read \"a bug in `wasm-bindgen`\" rather than \"a bug in the `wasm-bindgen`\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Constructors should not be allowed to return `Option<T>` or JS primi...
null
wasm-bindgen__wasm-bindgen__3593
wasm-bindgen/wasm-bindgen
3,593
defect
4d4851d45200d0d1aeaa07108072dfa0f1f185f7
4ae9cdddcc73bb8df0fc4c792595d804123b2f02
Add attribute `crate` to proc-macro `wasm-bindgen-test`
Also rework how the attributes of the proc-macro are parsed using `syn` (it was simpler to handle an attribute that has a value). Closes #3588
diff --git a/crates/test-macro/Cargo.toml b/crates/test-macro/Cargo.toml index 88d8c5de1719..6ffc549f2cc5 100644 --- a/crates/test-macro/Cargo.toml +++ b/crates/test-macro/Cargo.toml @@ -14,6 +14,7 @@ proc-macro = true [dependencies] proc-macro2 = "1.0" quote = "1.0" +syn = { version = "2.0", default-features = fals...
3
3
1
[{"id": "G0", "claim": "The wasm-bindgen-test-macro crate probably isn't defining the full feature set it requires from syn, which is the likely cause of the current failure.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should als...
null
wasm-bindgen__wasm-bindgen__3621
wasm-bindgen/wasm-bindgen
3,621
defect
2b7ab446767d63548bfb9bbb2815e325affb32ac
629cf712bd1d14524cbbfcd50a331dd9d92bf86a
fix: handle raw identifier in field
fix #3586, using `Ident.unraw` to handle raw identifier.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 02f0bcffcb3e..564dc8c5db6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -103,6 +103,9 @@ ### Fixed +* Fixed `wasm_bindgen_macro_support` macro to handle raw identifiers in field names. + [#3621](https://github.com/rustwasm/wasm-bindgen/pull/3621) + * Fixed bindin...
2
2
1
[{"id": "G0", "claim": "The changelog entry should say the `wasm_bindgen` macro, not `wasm_bindgen_macro_support`, was fixed to handle raw identifiers in field names.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test for the raw-identifier han...
null
wasm-bindgen__wasm-bindgen__3625
wasm-bindgen/wasm-bindgen
3,625
defect
2b7ab446767d63548bfb9bbb2815e325affb32ac
3e735e904535608b13962c8b54bb0f17d94336dc
Unwrap argument types in macro
`syn` wraps argument types in a `syn::TypeGroup` for free functions/methods generated from `macro_rules!` this means that references end up generating wrong code during proc macro expansion. This PR unwraps argument types in `syn::TypeGroup` and matches against the inner element for such cases. Fixes #3078
diff --git a/CHANGELOG.md b/CHANGELOG.md index 02f0bcffcb3e..954601768dc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -126,6 +126,9 @@ proc-macro. [#3601](https://github.com/rustwasm/wasm-bindgen/pull/3601) +* Fix bug with function arguments coming from `macro_rules!`. + [#3625](https://github.com/rustwasm...
2
2
2
[{"id": "G0", "claim": "The new unwrap in codegen.rs should also handle `Type::Paren` and, in case there are multiple nested `Type::Paren`s/`Type::Group`s, unwrap them too (the reviewer suggests a `while let`).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
wasm-bindgen__wasm-bindgen__3647
wasm-bindgen/wasm-bindgen
3,647
defect
277b20f306e13382f73d7ce396dd67d61915f15a
5a3cfa4321e17af009e21fc6f0a18d18582d775f
Add enum types for function parameters and return types
The adjusted typescript-tests unfortunately aren't great to assert the correctness of the generated types because a generated `(a: number) => void` could still be assigned to a `(a: Foo) => void` as the enum values in `Foo` are merely `number`s. Therefore the tests currently only asserts that something structurally com...
diff --git a/crates/backend/src/codegen.rs b/crates/backend/src/codegen.rs index 86a584becc85..97d0d7330f84 100644 --- a/crates/backend/src/codegen.rs +++ b/crates/backend/src/codegen.rs @@ -1382,6 +1382,9 @@ impl<'a> ToTokens for DescribeImport<'a> { impl ToTokens for ast::Enum { fn to_tokens(&self, into: &mut T...
4
3
0
[{"id": "G0", "claim": "The pull request should not use collect() because quote! can handle iterators directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The expected TypeScript for the optional-enum parameter should be (_?: wbg.Foo) withou...
null
wasm-bindgen__wasm-bindgen__3866
wasm-bindgen/wasm-bindgen
3,866
defect
983ec579a3dfca7ccb4f63f1f1adaa48f8bb3bec
53a650fddd736b236f2fecd0d41df0c6c4059159
Don't allow invalid Unicode scalar values in `char`
This adds runtime checks for passing `char` from JS, which prevents invalid Unicode scalar values. Fixes #2269.
diff --git a/CHANGELOG.md b/CHANGELOG.md index b4c87dd8df48..2c5a62321a02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,9 @@ * Make .wasm output deterministic when using `--reference-types`. [#3851](https://github.com/rustwasm/wasm-bindgen/pull/3851) +* Don't allow invalid Unicode scalar values in `ch...
2
2
1
[{"id": "G0", "claim": "The error message thrown by _assertChar is misleading: it says 'expected a number argument' although c is the result of codePointAt(0) rather than something received from user code, and it is the wrong message for the case where c is not a number (which happens when the string is empty, since co...
null
wasm-bindgen__wasm-bindgen__3915
wasm-bindgen/wasm-bindgen
3,915
defect
d25a68eaa778f339ea9deb147ddc76a1facfc625
2b33d8f4172752ce55528ef189a5707c567f14b9
Improve the performance of 'string enums'
Closes #3468
diff --git a/CHANGELOG.md b/CHANGELOG.md index f5cf57ea7e0e..5a13aac1b3a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,9 @@ * Generate JS bindings for WebIDL dictionary setters instead of using `Reflect`. This increases the size of the Web API bindings but should be more performant. Also, importing getter...
10
6
2
[{"id": "G0", "claim": "The PR author asks whether the generated FromWasmAbi should keep returning the __Invalid variant (which preserves current behaviour and lets invalid_enum_return pass) or would be better off panicking on invalid values.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "int...
null