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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VoltAgent__voltagent__1152 | VoltAgent/voltagent | 1,152 | defect | 19c4fcfc10ba0908e47c482b17355715c7467da3 | 15f62d1d4e9072be7682bdde88a225fd5e83b7db | fix: delete stale vectors when clearing messages | ## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [x] Tests for the changes have been added
- [ ] Docs have been added /... | diff --git a/.changeset/mean-pets-perform.md b/.changeset/mean-pets-perform.md
new file mode 100644
index 000000000..6d1e67cda
--- /dev/null
+++ b/.changeset/mean-pets-perform.md
@@ -0,0 +1,21 @@
+---
+"@voltagent/core": patch
+---
+
+Fix stale semantic-search results after `Memory.clearMessages()`.
+
+Previously, `cle... | 2 | 1 | 1 | [{"id": "G0", "claim": "User-wide clears only collect vectors from the first page of conversations, so stale vectors remain once a user has more conversations than the adapter's default page size.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The c... | null |
VoltAgent__voltagent__1155 | VoltAgent/voltagent | 1,155 | defect | a3aa5f626dde76fe601a4ddfd51c6849c95fa897 | 87c9e67ffa76ec526a688486fc21eaa37d71537c | fix(core): capture provider-reported OpenRouter costs | ## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [ ] Related issue(s) linked
- [x] Tests for the changes have been added
- [x] Docs have been added /... | diff --git a/.changeset/fair-seahorses-ring.md b/.changeset/fair-seahorses-ring.md
new file mode 100644
index 000000000..73e2ce608
--- /dev/null
+++ b/.changeset/fair-seahorses-ring.md
@@ -0,0 +1,5 @@
+---
+"@voltagent/core": patch
+---
+
+Capture provider-reported OpenRouter costs in observability spans and document c... | 6 | 4 | 2 | [{"id": "G0", "claim": "Root-span usage and provider cost should be recorded before output middleware, guardrails, or the onEnd hook can throw or set their own attributes, otherwise successful OpenRouter costs are dropped from (or overwritten on) the agent span, generateText being the only path that recorded after onEn... | null |
VoltAgent__voltagent__1191 | VoltAgent/voltagent | 1,191 | defect | 3776cb67c3378094b7bc524cb10ca1f78b86d141 | 33946ed56b2b320a482cd8aadbd3002e9c31d659 | fix(serverless-hono): defer waitUntil cleanup to prevent tool crashes… | ## Summary
... | diff --git a/.changeset/fix-serverless-waituntil-cleanup.md b/.changeset/fix-serverless-waituntil-cleanup.md
new file mode 100644
index 000000000..9b7e6527f
--- /dev/null
+++ b/.changeset/fix-serverless-waituntil-cleanup.md
@@ -0,0 +1,9 @@
+---
+"@voltagent/serverless-hono": patch
+---
+
+fix(serverless-hono): defer wa... | 3 | 3 | 1 | [{"id": "G0", "claim": "Scheduling cleanup as `Promise.resolve().then(cleanup)` inside `waitUntil` is only a microtask and does not order cleanup after waitUntil registrations made later by background streaming/tool work, so the global `___voltagent_wait_until` may still be cleared too early and late registrations can ... | null |
VoltAgent__voltagent__1199 | VoltAgent/voltagent | 1,199 | defect | 3776cb67c3378094b7bc524cb10ca1f78b86d141 | b5392799490174dd197b86df58cea186734a90c8 | fix: correct A2A agent card URLs | ## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [x] Tests for the changes have been added
- [x] Docs have been added /... | diff --git a/.changeset/bright-badgers-confess.md b/.changeset/bright-badgers-confess.md
new file mode 100644
index 000000000..181327d85
--- /dev/null
+++ b/.changeset/bright-badgers-confess.md
@@ -0,0 +1,13 @@
+---
+"@voltagent/a2a-server": patch
+"@voltagent/server-core": patch
+"@voltagent/server-hono": patch
+"@vol... | 5 | 4 | 3 | [{"id": "G0", "claim": "The updated discovery examples use the ID `supportagent`, but the later JSON-RPC curl in examples/with-a2a-server/README.md still targets `/a2a/support`, which can produce a 404 for users following the documented flow step-by-step.", "category": "documentation", "verdict": "supported", "priority... | null |
VoltAgent__voltagent__1218 | VoltAgent/voltagent | 1,218 | defect | fbbdc9eca53201d2b8657a6080b17473d336fe5c | ef6cda1982da79a2b915c4c7184f79d8dd86f092 | feat(core): expose request headers to dynamic agents | ## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [x] Tests for the changes have been added
- [x] Docs have been added /... | diff --git a/.changeset/expose-request-headers-dynamic-agents.md b/.changeset/expose-request-headers-dynamic-agents.md
new file mode 100644
index 000000000..a27d35bd7
--- /dev/null
+++ b/.changeset/expose-request-headers-dynamic-agents.md
@@ -0,0 +1,43 @@
+---
+"@voltagent/core": patch
+"@voltagent/server-core": patch
... | 5 | 3 | 1 | [{"id": "G0", "claim": "In packages/server-hono/src/routes/index.ts the withRequestHeadersInOptions body parameter is typed `any`, which bypasses TypeScript type checking for untrusted JSON at the request boundary, and should be changed to `unknown` with a type guard (e.g. an isJsonRecord predicate) for type safety.", ... | null |
VoltAgent__voltagent__1247 | VoltAgent/voltagent | 1,247 | defect | 28ebcfc212630eddd0dbb7fe54f03719e04bdcb9 | a79a309d33afc1602bcfcb753f5042540a7c0b98 | fix(server-core): report occupied initial port | ## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [x] Tests for the changes have been added
- [ ] Docs have been added /... | diff --git a/.changeset/port-conflict-guidance.md b/.changeset/port-conflict-guidance.md
new file mode 100644
index 000000000..a8fbada36
--- /dev/null
+++ b/.changeset/port-conflict-guidance.md
@@ -0,0 +1,7 @@
+---
+"@voltagent/server-core": patch
+---
+
+fix(server-core): report initial port conflicts instead of silen... | 3 | 2 | 2 | [{"id": "G0", "claim": "Failing fast now also applies when no port was passed (default 3141 busy), whereas it previously fell through to the next port — a scope expansion beyond issue #1236 that should be documented in the changeset/PR description or gated so it applies only when preferredPort !== undefined.", "categor... | null |
VoltAgent__voltagent__1249 | VoltAgent/voltagent | 1,249 | defect | 69b78fd881b39a3f0251a19ea4331d6abdee6309 | ef44250544a7e69694802278a12945d9d0f68fc4 | fix(core): allow disabling title temperature | ## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [x] Tests for the changes have been added
- [x] Docs have been added /... | diff --git a/.changeset/generate-title-temperature-override.md b/.changeset/generate-title-temperature-override.md
new file mode 100644
index 000000000..3f328c04d
--- /dev/null
+++ b/.changeset/generate-title-temperature-override.md
@@ -0,0 +1,7 @@
+---
+"@voltagent/core": patch
+---
+
+fix(core): allow disabling conve... | 7 | 3 | 2 | [{"id": "G0", "claim": "The isTemperatureWarning function checks a non-existent 'unsupported' discriminant and accesses fields (feature, message) that do not exist on the actual Warning union, violating TypeScript type safety and failing to detect real temperature warnings.", "category": "correctness", "verdict": "supp... | null |
VoltAgent__voltagent__348 | VoltAgent/voltagent | 348 | defect | dedc7721669d01d1eb42779740d54c16d6bf7890 | 2447c39e60f78d984891023c4355892b60bf1171 | fix(xsai): xsai-tools-sent-undefined | fix #337
## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [ ] Tests for the changes have been added
- [ ] D... | diff --git a/.changeset/grumpy-bars-turn.md b/.changeset/grumpy-bars-turn.md
new file mode 100644
index 000000000..f5baf1449
--- /dev/null
+++ b/.changeset/grumpy-bars-turn.md
@@ -0,0 +1,5 @@
+---
+"@voltagent/xsai": major
+---
+
+fix xsai empyt tools will sent undefined
diff --git a/packages/xsai/src/index.ts b/packag... | 3 | 3 | 2 | [{"id": "G0", "claim": "The maxSteps guard should be simplified with optional chaining: `maxSteps: xsaiTools?.length > 0 ? options.maxSteps : undefined`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `?? undefined` fallback should never tri... | null |
VoltAgent__voltagent__943 | VoltAgent/voltagent | 943 | defect | ab39d68851357ece0075724414da40665f9989a7 | 3f4466779c8c130d9c1b4b730fa1eca1e83943b7 | fix: allow merging `andAgent` output with existing workflow data via … | …an optional mapper
## PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [ ] Related issue(s) linked
- [ ] Tests for the changes have been ad... | diff --git a/.changeset/smart-mangos-work.md b/.changeset/smart-mangos-work.md
new file mode 100644
index 000000000..bed439b5b
--- /dev/null
+++ b/.changeset/smart-mangos-work.md
@@ -0,0 +1,19 @@
+---
+"@voltagent/core": patch
+---
+
+fix: allow merging `andAgent` output with existing workflow data via an optional mapp... | 2 | 1 | 1 | [{"id": "G0", "claim": "The quick-start doc example maps only `output.type` into `emailType`, while the 'Merge Output With Existing Data' section and the chaining example map the whole `output` object that the downstream `data.emailType.type` reads expect, and the examples should be aligned.", "category": "documentatio... | null |
VoltAgent__voltagent__949 | VoltAgent/voltagent | 949 | defect | 64f9c8c98452fc3fafc3321518e4a346cd2ac937 | 1ebe40bbc352b22977974451c8529ea2b314c180 | feat: support streaming tool outputs by returning an AsyncIterable fr… | …om `execute`
## PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [ ] Related issue(s) linked
- [ ] Tests for the changes have been added
-... | diff --git a/.changeset/upset-shrimps-guess.md b/.changeset/upset-shrimps-guess.md
new file mode 100644
index 000000000..0def4f0a1
--- /dev/null
+++ b/.changeset/upset-shrimps-guess.md
@@ -0,0 +1,30 @@
+---
+"@voltagent/core": patch
+---
+
+feat: support streaming tool outputs by returning an AsyncIterable from `execut... | 5 | 1 | 1 | [{"id": "G0", "claim": "The finally block in the async generator execution path calls endChildSpan even though the span is already ended within handleToolSuccess or handleToolError, which could cause issues depending on how the tracing implementation handles duplicate end calls; remove the redundant span ending (or doc... | null |
VoltAgent__voltagent__978 | VoltAgent/voltagent | 978 | defect | 0f89b2a35c8284a6c04242b07abd7611eda748a2 | f2df1cc829df8045ebd06850c4561e235d17143c | feat: allow tool-specific hooks and let `onToolEnd` override tool out… | …put #975
## PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://voltagent.dev/docs/community/contributing/#commit-convention
## Bugs / Features
- [x] Related issue(s) linked
- [x] Tests for the changes have been added
- [x]... | diff --git a/.changeset/tool-hooks-and-overrides.md b/.changeset/tool-hooks-and-overrides.md
new file mode 100644
index 000000000..20211e7d8
--- /dev/null
+++ b/.changeset/tool-hooks-and-overrides.md
@@ -0,0 +1,43 @@
+---
+"@voltagent/core": minor
+---
+
+feat: allow tool-specific hooks and let `onToolEnd` override too... | 6 | 5 | 3 | [{"id": "G0", "claim": "The PR adds a second \"## Tool Hooks\" heading to website/docs/agents/tools.md, which will generate duplicate anchors and confuse navigation/links; rename one of the sections to a distinct title.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
VorpalBlade__chezmoi_modify_manager__72 | VorpalBlade/chezmoi_modify_manager | 72 | defect | b185cd2b639ae8851babf2cecb0dae1ee95eef74 | d9a5ab4398aa8717689a150c2e21b6f6abbf00b4 | feat: Add support for upcoming CHEZMOI_SOURCE_FILE | This will only work once https://github.com/twpayne/chezmoi/pull/3518 has landed in a release of chezmoi
TODO:
* [ ] Documentation:
* [x] Document in `--help-syntax`
* [x] Check README and elsewhere that might need updates
* [x] Document minimum required chezmoi version for this feature. Relevant locatio... | diff --git a/Cargo.lock b/Cargo.lock
index b67ccf8..c1350ee 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -442,6 +442,7 @@ dependencies = [
"os_info",
"pathdiff",
"pretty_assertions",
+ "regex",
"rustc_version_runtime",
"self_update",
"strum",
diff --git a/Cargo.toml b/Cargo.toml
index 486ec50..85c15fe 100644... | 4 | 4 | 0 | [{"id": "G0", "claim": "The nested version check inside `if Style::InPath == style` in sanity_check can be collapsed into a single if statement.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "DummyChezmoi::version uses clone on ChezmoiVersion, w... | null |
VowpalWabbit__vowpal_wabbit__3989 | VowpalWabbit/vowpal_wabbit | 3,989 | defect | bf718f6b2df28cf2be6052154d3d77b5c5fb4023 | 8ccb306402b4c680ac6609a662751d41dba17c52 | feat: Flatbuffer format | Changes the FB data format to be more performant by avoiding extra level of tables at the feature data level.
Remaining work for CI:
- [x] Fix flatbuffer conversion tests in DevOps CI
- [x] WASM - it is sporadic - has succeeded and failed on the same change from inside this PR
- [x] Coverage - going to avoid tryi... | diff --git a/command-cmake-build.sh b/command-cmake-build.sh
new file mode 100755
index 00000000000..50e89056b59
--- /dev/null
+++ b/command-cmake-build.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+cmake --build build -j 8
\ No newline at end of file
diff --git a/command-cmake-configure.sh b/command-cmake-configure.sh
new file mod... | 9 | 8 | 2 | [{"id": "G0", "claim": "The three user-local build/run scripts (command-cmake-build.sh, command-cmake-configure.sh, command-run-flat-test.sh) should be removed from the PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out 'Origin... | null |
VowpalWabbit__vowpal_wabbit__4261 | VowpalWabbit/vowpal_wabbit | 4,261 | defect | 417012d772bf26cecc8d234a820994aa65144d82 | ddc4e5def92c19384a86d2b49800966ca976b373 | feat: Add explicit simd implementation for one pass svd in large action spaces. | Add an explicit SIMD implementation using AVX-512 for the one pass svd part in large actions. For now, it only works with quadratic interactions.
By default, VW builds with `VW_BUILD_LAS_WITH_SIMD=ON` so it includes the SIMD binaries. The compile flag can be turned off, for example when some CI runs on unsupported a... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa3bee959ae..e3a1dca74dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -132,6 +132,7 @@ option(VW_GTEST_SYS_DEP "Override using fetch package for gtest dependency. Inst
option(VW_EIGEN_SYS_DEP "Override using the submodule for Eigen3 dependency. Instead will use... | 3 | 2 | 1 | [{"id": "G0", "claim": "The commented-out alternative vpopcnt implementation left in compute_dot_prod_simd.h is unneeded dead code and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why the simd implementatio... | null |
VowpalWabbit__vowpal_wabbit__4298 | VowpalWabbit/vowpal_wabbit | 4,298 | defect | 1e941b7ecac788de1689b845911603e4fa26bfbc | 0fd878054f0a327c5745a9f63c1614760403e065 | feat: Enforce minimum probability for squarecb and update impl | Update implementation of `exploration::enforce_minimum_probability`
Mixture implementation can be found here: https://github.com/VowpalWabbit/vowpal_wabbit/compare/master...canondetortugas:vowpal_wabbit:uniform_exploration | diff --git a/test/core.vwtest.json b/test/core.vwtest.json
index cf09f989daa..b67b559a032 100644
--- a/test/core.vwtest.json
+++ b/test/core.vwtest.json
@@ -5486,5 +5486,18 @@
"input_files": [
"train-sets/explore_eval_egreedy.dat"
]
+ },
+ {
+ "id": 426,
+ "desc": "squarecb with epsilon",
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The '// TODO: Do we need to sort here?' comment this pull request added in cb_explore_adf_squarecb::predict may no longer be valid and should be checked and removed if unneeded.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VowpalWabbit__vowpal_wabbit__4407 | VowpalWabbit/vowpal_wabbit | 4,407 | defect | 211f9a0269d5db8d26d9cc1dca963a8039dd2483 | d82968a22acc515267b25eb17a9efcde05e4559d | refactor: Add metrics collector | ***NOTE***
Remember to remove metric_output_hooks from RLClientlib when updading VW and replace with metrics_manager register_callback_function | diff --git a/python/pylibvw.cc b/python/pylibvw.cc
index 47c2f3d687c..913295c956b 100644
--- a/python/pylibvw.cc
+++ b/python/pylibvw.cc
@@ -327,10 +327,10 @@ py::dict get_learner_metrics(vw_ptr all)
{
py::dict dictionary;
- if (all->options->was_supplied("extra_metrics"))
+ if (all->global_metrics.are_metrics_... | 11 | 10 | 4 | [{"id": "G0", "claim": "collect_metrics should not remove the registered callbacks but simply iterate them, which also lets the method be const and keeps the callbacks available for progressive snapshots of metrics over time.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
VowpalWabbit__vowpal_wabbit__4408 | VowpalWabbit/vowpal_wabbit | 4,408 | defect | 4d61fca43db2050a6d64b560829259629e93b21b | 6238d928e30d4ab30c58ec36e806fc020379c5b3 | refactor: standardize googletest naming | Remove `_tests` from group and `test_` from individual tests to shorten filtering and consistency | diff --git a/vowpalwabbit/c_wrapper/tests/vwdll_test.cc b/vowpalwabbit/c_wrapper/tests/vwdll_test.cc
index 03d4f7fbff2..9f7040bdba0 100644
--- a/vowpalwabbit/c_wrapper/tests/vwdll_test.cc
+++ b/vowpalwabbit/c_wrapper/tests/vwdll_test.cc
@@ -27,7 +27,7 @@ void check_weights_equal(T& first, T& second)
EXPECT_EQ(second... | 4 | 4 | 4 | [{"id": "G0", "claim": "Renaming the test suite in vowpalwabbit/slim/test/ut_util.cc to vowpal_wabbit_slim also requires updating the ctest --tests-regex in .github/workflows/build_vw_slim.yml, otherwise those tests are no longer selected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ... | null |
VowpalWabbit__vowpal_wabbit__4472 | VowpalWabbit/vowpal_wabbit | 4,472 | defect | 65a8a7113186652761475607adc8177b048f6bdc | de3d561dc0ec4bcd6222c7ad56ef7a0857b0cc72 | refactor: estimators ns in cressieread | missing from https://vowpalwabbit.org/docs/vowpal_wabbit/cpp/latest/namespaceVW_1_1estimators.html | diff --git a/vowpalwabbit/core/include/vw/core/estimators/cressieread_estimator.h b/vowpalwabbit/core/include/vw/core/estimators/cressieread_estimator.h
index a8ad9e9f998..47107b8a6a8 100644
--- a/vowpalwabbit/core/include/vw/core/estimators/cressieread_estimator.h
+++ b/vowpalwabbit/core/include/vw/core/estimators/cre... | 1 | 1 | 0 | [{"id": "G0", "claim": "Now that the class lives in the estimators namespace, it could be named simply `cressieread` instead of `cressieread_estimator`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
VowpalWabbit__vowpal_wabbit__4487 | VowpalWabbit/vowpal_wabbit | 4,487 | defect | dcbcd07c7f5c8b7de2b1e19a453242deeef8c368 | c914f76632dd22adb60005dbbf26dc3412a04c86 | feat: Switch to scalar code for unimplemented interactions in las simd code path. | Add warnings and remove throws.
Add tests checking which code path should be taken. | diff --git a/vowpalwabbit/core/src/reductions/cb/cb_explore_adf_large_action_space.cc b/vowpalwabbit/core/src/reductions/cb/cb_explore_adf_large_action_space.cc
index b81c0e5c9fa..02e8d3e7013 100644
--- a/vowpalwabbit/core/src/reductions/cb/cb_explore_adf_large_action_space.cc
+++ b/vowpalwabbit/core/src/reductions/cb/... | 2 | 2 | 0 | [{"id": "G0", "claim": "The scalar-code-path warning should spell out the internal acronym 'LAS' as 'Large action space' in the log message.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'not supported yet' error messages in the AVX2 and AVX5... | null |
VowpalWabbit__vowpal_wabbit__4505 | VowpalWabbit/vowpal_wabbit | 4,505 | defect | ecc55d11275309c7ab46a1db1c8e36223a159121 | e7b727af72d038a22b2452eee8c47dc2c9d8a718 | refactor: make flat_example an implementation detail of ksvm | The primary use of `flat_example` is to easily calculate the dot produce of two examples. Therefore, I added functionality to better reflect that. KSVM is pretty complex so I didn't go all out there, but `flat_example` is now an implementation detail.
Additionally, KSVM depends on the cache representation for its mo... | diff --git a/vowpalwabbit/core/include/vw/core/example.h b/vowpalwabbit/core/include/vw/core/example.h
index 99f7e8bb0cd..c13a8975f3f 100644
--- a/vowpalwabbit/core/include/vw/core/example.h
+++ b/vowpalwabbit/core/include/vw/core/example.h
@@ -143,26 +143,8 @@ class example : public example_predict // core example da... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commented-out linear_kernel function block in memory_tree.cc can be deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VowpalWabbit__vowpal_wabbit__4524 | VowpalWabbit/vowpal_wabbit | 4,524 | defect | 37f4b19a7d30c75078de963b8e08f052a0579166 | c3dfaca22d4fdd5613e5335917815751de413988 | fix: [automl] avoid ccb pulling in generate_interactions | alternate fix of https://github.com/VowpalWabbit/vowpal_wabbit/pull/4522 | diff --git a/.github/workflows/python_wheels.yml b/.github/workflows/python_wheels.yml
index 5b2102d948a..4bfae45fee2 100644
--- a/.github/workflows/python_wheels.yml
+++ b/.github/workflows/python_wheels.yml
@@ -70,8 +70,8 @@ jobs:
shell: bash
run: |
pip install -r requirements.txt
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The superfluous `*1` and `+0` in the reserve-size computation should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
VowpalWabbit__vowpal_wabbit__4556 | VowpalWabbit/vowpal_wabbit | 4,556 | defect | 6ee7721190381206591cba9f5ca6e11e90439f4a | 9f14c3e867320d04d8c642145630fe6ee6fde9a2 | feat: Add emt_initial flag to the EMT reduction | This pull request does:
1. Adds the `--emt_initial` flag which selects the distance function used to initialize the scoring function.
2. Improves the runtime performance of EMT on datasets with large numbers of featres
3. Adds the new emt_initial flag to the model saving/loading subroutines
4. Adds unittests for... | diff --git a/test/train-sets/ref/help.stdout b/test/train-sets/ref/help.stdout
index 16ffd877248..6f9323b3012 100644
--- a/test/train-sets/ref/help.stdout
+++ b/test/train-sets/ref/help.stdout
@@ -567,6 +567,8 @@ Weight Options:
--emt_scorer arg Indicates the type of scorer to use (type: str... | 2 | 2 | 1 | [{"id": "G0", "claim": "The explicit save/load of the emt_initial option in read_model_field/write_model_field is unnecessary because the option is already persisted via .keep(), and this code can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
VowpalWabbit__vowpal_wabbit__4568 | VowpalWabbit/vowpal_wabbit | 4,568 | defect | 2353bd142fa7e727ffc14c3ca0778d61d019c649 | 75abeb381e5e99a1b072efe6c19e2f151248a840 | feat(CB_GF): accept graph in json format | and tests and graph validation
graph accepted as:
```
"_graph" : [{"row": 0, "col": 1, "val": 2}, {"row": 1, "col": 1, "val": 3}]
``` | diff --git a/vowpalwabbit/core/CMakeLists.txt b/vowpalwabbit/core/CMakeLists.txt
index 07913b3e3a5..044004c5cf2 100644
--- a/vowpalwabbit/core/CMakeLists.txt
+++ b/vowpalwabbit/core/CMakeLists.txt
@@ -450,7 +450,7 @@ set(vw_core_test_sources
tests/cats_tree_test.cc
tests/cats_user_provided_pdf.cc
t... | 1 | 1 | 0 | [{"id": "G0", "claim": "The get_graph function should take the logger instead of the whole VW::workspace object.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WAVM__WAVM__40 | WAVM/WAVM | 40 | defect | f1184f011931e4da0df14c9c941e3ccf7db3107d | ec80ff2e4be0cc1876be77a3b0578036210974bd | Introduce 'wavm' to execute WebAssembly command line programs. | $wavm echo.wast Hello World!
Hello World!
wavm takes a program as the first argument (and optionally -text or -binary
to specify a format) and executes the function main. If main takes arguments
wavm will pass in any extra arguments. If main returns i32 wavm's will pass
along that as the exit code.
;; Example progra... | diff --git a/Source/Programs/CMakeLists.txt b/Source/Programs/CMakeLists.txt
index a578e2848..a5b75618c 100644
--- a/Source/Programs/CMakeLists.txt
+++ b/Source/Programs/CMakeLists.txt
@@ -9,3 +9,7 @@ set_target_properties(Run PROPERTIES FOLDER Programs)
add_executable(Test Test.cpp CLI.h)
target_link_libraries(Test ... | 5 | 5 | 2 | [{"id": "G0", "claim": "Replace Run with wavm: wavm should work on Test/Benchmark/a.out.wast and Test/zlib/zlib.wast, which the reviewer expected to require only supporting \"_main\" as the exported function name and a main function that takes no parameters.", "category": "design", "verdict": "supported", "priority": "... | null |
WCY-dt__MrRSS__179 | WCY-dt/MrRSS | 179 | defect | 06c49a540f8c6f51562af70661029b8953bce490 | 1658039970926291cc8c5cc08ee82cdc18a81c78 | Implement AES-256-GCM credential encryption with automatic migration | ## Credential Encryption Implementation - COMPLETE ✅
### Overview
Implement secure encryption for API keys, passwords, and other sensitive credentials stored in the database, with automatic migration for existing plain-text data.
### Implementation Checklist
- [x] Explore codebase and understand current storage mech... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4221a1120..c4ce84d74 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to MrRSS will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Version... | 6 | 6 | 3 | [{"id": "G0", "claim": "The SetEncryptedSetting calls in HandleSettings for the translation API keys, the summary AI API key, and the proxy credentials do not check for errors, so if encryption fails the credentials are silently not saved and the user gets no indication; add error handling such as logging or returning ... | null |
WCY-dt__MrRSS__183 | WCY-dt/MrRSS | 183 | defect | a12266ecd0d9198ff28fd3005685ff92a639edea | b24cc85fe6e3a92320556cad836858a72b65d7dc | Support alpha and beta pre-release versions with CI workflow | ## Description
Implements pre-release version support (alpha/beta) in the release workflow and auto-update system. Pre-releases are excluded from "latest" designation and hidden from user update notifications. Additionally, adds a CI/CD workflow for automated build verification on pre-release branches.
## Type of Cha... | diff --git a/.github/workflows/pre-release-check.yml b/.github/workflows/pre-release-check.yml
new file mode 100644
index 000000000..ed449ad74
--- /dev/null
+++ b/.github/workflows/pre-release-check.yml
@@ -0,0 +1,283 @@
+name: Pre-release Check
+
+on:
+ push:
+ branches:
+ - 'release/**'
+ - 'pre-release... | 6 | 1 | 0 | [{"id": "G0", "claim": "Add a pre-release-check workflow similar to the release workflow that works on a selected branch but needs no version input, no create-release job, no artifact uploads and no portable builds.", "category": "feature", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
WICG__inert__117 | WICG/inert | 117 | defect | 4639047deaf2c9cd53dc78a50395b57beedb0f3c | 9bd27133d4a84cf41b58df58a41d105dc652d534 | Don't save tabindex set by inert as saved tabindex | This was causing issues with elements added to an inert root, as the mutation observer would observe the tabindex changing when the element was managed, and then re-manage the element, saving '-1' as the saved tabindex, meaning that when the element was unmanaged it would write '-1' back as the tabindex. | diff --git a/package-lock.json b/package-lock.json
index 8f000ef..39407c1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2177,9 +2177,9 @@
}
},
"cryptiles": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-3.1.2.tgz",
- "integrity": "sha... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the blank newline the new test leaves before the closing of the setTimeout block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the element variable from button1 to button, applying it consistently to the d... | null |
Wai-Technologies__raaghu-react__493 | Wai-Technologies/raaghu-react | 493 | defect | 2f5bdb7d3bb917cd8dedb390ade2e728c3bf5768 | e5dd7a4329e6bb786d9fc033ecfbe2f9bb17972e | Resolved Bug 467, 482 and 485 : Resolved Issues on Counter, Collapse, Button and Card Element Issues | ## Description
> Resolve the issues on Element Radio button unable to select:
- **Counter**
- **Collapse**
- **Button**
- **Card**
> Make the changes to rds-button.css, rds-card.stories.tsx, rds-card.tsx, rds-collapse.tsx & rds-counter.css file.
> Resolve issue on light color varient outline is not visibl... | diff --git a/raaghu-elements/src/rds-button/rds-button.css b/raaghu-elements/src/rds-button/rds-button.css
index f3a11b43a..e396da039 100644
--- a/raaghu-elements/src/rds-button/rds-button.css
+++ b/raaghu-elements/src/rds-button/rds-button.css
@@ -19,3 +19,11 @@
.alignClass {
top: -1px;
}
+
+.theme-dark .btn-ligh... | 3 | 1 | 1 | [{"id": "G0", "claim": "rds-button.css should not use hard-coded color values and should use variables instead.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Verify the collapse change in the raaghu application and add a screenshot as evidence.",... | null |
Wai-Technologies__raaghu-react__957 | Wai-Technologies/raaghu-react | 957 | defect | dec8a6b9ec77cccd40ade561b711a42fbf74c4e8 | a324c11b88728dd3e05b5cd31a0834b1aa35a283 | Completed Task 777 : Design System > Elements > Enhancements in file uploader | ## Description
> Enhancement done for file uploaders per figma design:
Added 3 new layouts:
1)Drop Area Top Icon
2)Drop Area Side Icon
3)Drop Area With Upload Button
Modified the basic file uploader layout since there is no delete option for the selected file.
## Screenshots :
 and register no `multiple` control in argTypes, so multi-select mode is not enabled or configurable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
Waikato__moa__313 | Waikato/moa | 313 | defect | ad289cc23432ad538384490007083f5f55a2b453 | 2b51d2b4ddc6ae85457ddea5c434a7be66f7d846 | Add support for Streaming Gradient Boosted Regression (SGBR) | - StreamingGradientBoostedRegression extends StreamingGradientBoostedTrees
- StreamingGradientBoostedTrees parameters used in the paper are set inside the StreamingGradientBoostedRegression init function
- Since these values are default, they are used as default values.
- Add StreamingGradientBoostedRegress... | diff --git a/moa/src/main/java/com/github/javacliparser/FloatOption.java b/moa/src/main/java/com/github/javacliparser/FloatOption.java
index 72dc33ab0..ecd0fe0d1 100644
--- a/moa/src/main/java/com/github/javacliparser/FloatOption.java
+++ b/moa/src/main/java/com/github/javacliparser/FloatOption.java
@@ -64,6 +64,20 @@ ... | 3 | 3 | 0 | [{"id": "G0", "claim": "Fix the misspelling in the StreamingGradientBoostedRegression constructor comment, which reads \"initializ object with correct default values\" instead of \"initialise\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a... | null |
WasmEdge__WasmEdge__1791 | WasmEdge/WasmEdge | 1,791 | defect | a5910a88c7bd11101be235310c4697fa4a09d0c6 | 22b287f0a635315907666c0892eabd7f56babb93 | [Misc] add print support for uint128 | Fix #1704
Signed-off-by: LFsWang <tnst92002@gmail.com> | diff --git a/lib/driver/runtimeTool.cpp b/lib/driver/runtimeTool.cpp
index 1ee5b757e91c..9f8e6bda0633 100644
--- a/lib/driver/runtimeTool.cpp
+++ b/lib/driver/runtimeTool.cpp
@@ -22,6 +22,21 @@
#include <vector>
namespace WasmEdge {
+std::ostream &operator<<(std::ostream &OS, uint128_t Value) {
+ std::string S;
+ ... | 3 | 3 | 1 | [{"id": "G0", "claim": "Use std::numeric_limits<uint64_t>::max() instead of the (uint64_t)-1 literal in the uint128 print guard.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The guard must compare with <=, not <, so a value equal to uint64 max... | null |
WasmEdge__WasmEdge__2041 | WasmEdge/WasmEdge | 2,041 | defect | b29ad5a253ecb1d92bf56f5715acc0757b324c01 | 223f4d9f039d2b2c52174c5d957d10087772950a | Support serialize and deserialize in WasmEdge | Signed-off-by: Omkar Acharekar <omkaracharekar12@gmail.com>
Fixes #1841
Remaining section:
* Element Section | diff --git a/lib/loader/serialization/serialize.cpp b/lib/loader/serialization/serialize.cpp
new file mode 100644
index 000000000000..797d3a25fc52
--- /dev/null
+++ b/lib/loader/serialization/serialize.cpp
@@ -0,0 +1,255 @@
+#include "ast/module.h"
+#include "loader/loader.h"
+#include "serialization/serialize/serial... | 8 | 8 | 3 | [{"id": "G0", "claim": "Do not include a .cpp file from serialize.cpp; split the serialization code into proper header and code files.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Change the long 'HelperFunctions' banner comment to a properly styled co... | null |
WasmEdge__WasmEdge__2057 | WasmEdge/WasmEdge | 2,057 | defect | 50acdbf4ba36ed29a2a9f92253c3ec008dec9acd | b12ac37202c5ce8147c2b07ebd6a249f18e8264a | feat: remove none type from val type | This PR fixes #2029.
It is based on #2030, and currently include the change in #2030. Should be after #2030. | diff --git a/bindings/java/wasmedge-jni/lib/ValueType.c b/bindings/java/wasmedge-jni/lib/ValueType.c
index 2075df4b4b33..803cb1982a9f 100644
--- a/bindings/java/wasmedge-jni/lib/ValueType.c
+++ b/bindings/java/wasmedge-jni/lib/ValueType.c
@@ -41,9 +41,6 @@ WasmEdge_Value JavaValueToWasmEdgeValue(JNIEnv *env, jobject jV... | 2 | 2 | 2 | [{"id": "G0", "claim": "Fix the code so the PR passes the lint checks.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use the Data.Type field instead of a bare bool/int flag when recording the block type.", "category": "correctness", "verdict": ... | null |
WasmEdge__WasmEdge__2610 | WasmEdge/WasmEdge | 2,610 | defect | eb292fc2f0f60c4a26b0b098a2b37a35b576610f | 88af5f8e2b36f004fab114b57d387191da003492 | [CI] Add release workflows for wasm_bpf plugin, and the reletad installing script | Replaces #2570
Closes #2537
This pull request adds release/test jobs for the `wasm_bpf` plugin, and modifies the installing script to support installing this plugin.
- Modifies release.yml and build-extensions.yml to build and publish the wasm_bpf plugin on Ubuntu and manylinux
- Modifies the install.py to suppor... | diff --git a/.github/workflows/build-extensions.yml b/.github/workflows/build-extensions.yml
index 0040254a0982..0ad763b4d7f4 100644
--- a/.github/workflows/build-extensions.yml
+++ b/.github/workflows/build-extensions.yml
@@ -152,13 +152,15 @@ jobs:
env:
output_prefix: build/plugins
test_prefix: bui... | 13 | 4 | 2 | [{"id": "G0", "claim": "The PR lacks detailed explanations and descriptive commit messages for many of its changes, which could make future troubleshooting and issue tracking harder.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The wasm_bpf test... | null |
WasmEdge__WasmEdge__3860 | WasmEdge/WasmEdge | 3,860 | defect | 4d56bda65f6a8a75b21e14e4808efed72d3f26d2 | 7ed758916c58ce9df30d476f582a3b3b9f9423ce | [Executor] coredump: add coredump | Fixes #2264
Fixes #3205
Support the core dump when WebAssembly enters a trap.
This core dump feature follows the [conventions](https://github.com/WebAssembly/tool-conventions/blob/main/Coredump.md). And add a parameter to generate the core dump file for the [Wasmgdb](https://github.com/xtuc/wasm-coredump).
Th... | diff --git a/include/common/configure.h b/include/common/configure.h
index 06d7b4ed0480..65676c31f763 100644
--- a/include/common/configure.h
+++ b/include/common/configure.h
@@ -116,6 +116,8 @@ class RuntimeConfigure {
RuntimeConfigure(const RuntimeConfigure &RHS) noexcept
: MaxMemPage(RHS.MaxMemPage.load(st... | 12 | 6 | 1 | [{"id": "G0", "claim": "In createCorestack the std::memcpy should use sizeof(uint32_t) instead of sizeof(int64_t), as the data type being copied is int32_t.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Hardcoding the thread name \"main\" in create... | null |
WasmEdge__WasmEdge__3876 | WasmEdge/WasmEdge | 3,876 | defect | 49e890373deda0b0b1906fe1c5213c6fb8e5b9aa | 71e3e283f063acfe44975fbd5c8320bec2d4a350 | [Loader] Serializer: Add Exception Handling proposal | Signed-off-by: Mohamed Atef <mohamedatef1698@gmail.com>
| diff --git a/include/loader/serialize.h b/include/loader/serialize.h
index c97cc82efd33..ef31e4492795 100644
--- a/include/loader/serialize.h
+++ b/include/loader/serialize.h
@@ -61,6 +61,8 @@ class Serializer {
std::vector<uint8_t> &OutVec) const noexcept;
Expect<void> serializeSect... | 15 | 5 | 2 | [{"id": "G0", "claim": "The direct serializeType calls for ExternalTableType and ExternalMemoryType assume an Expect<void> return type and might lead to incorrect handling if serializeType has a different return type or behavior.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_exist... | null |
WasmEdge__WasmEdge__3883 | WasmEdge/WasmEdge | 3,883 | defect | cbc54ba1237a8676939102bfb9598c643ab2f556 | 02d65ce9ab4c16449bf37a07dba95e08a1d7d1ca | [Plugin] Stable Diffusion: support clip_g option | Support clip_g option for #3880.
Fixes #3880 | diff --git a/include/host/mock/wasmedge_stablediffusion_func.h b/include/host/mock/wasmedge_stablediffusion_func.h
index 1623204cf935..9d73954e2143 100644
--- a/include/host/mock/wasmedge_stablediffusion_func.h
+++ b/include/host/mock/wasmedge_stablediffusion_func.h
@@ -20,7 +20,7 @@ class CreateContext : public Runtim... | 5 | 1 | 0 | [{"id": "G0", "claim": "The change may introduce or leave memory-management errors: `freeContext` erasing `Contexts.begin() + Id - 1` without checking `Id`, `free(Results)` being called twice in `saveResults`, and `readControlImage` possibly freeing an already-freed pointer after `preprocess_canny`.", "category": "corr... | null |
WasmEdge__WasmEdge__3956 | WasmEdge/WasmEdge | 3,956 | defect | 4d0c3cda225bdd73024636d4a4c798647ac809cb | e42d7fd1b61533a3a6d9fe58a5e4a04713195b2d | [WASI-NN] GGML: add graph and context new/delete management. (PART 2) | This is the part 2 of mllama implementation in WASI-NN GGML.
(base on #3955) | diff --git a/plugins/wasi_nn/wasinn_chattts.cpp b/plugins/wasi_nn/wasinn_chattts.cpp
index 3cb478678878..f15fdb7541f1 100644
--- a/plugins/wasi_nn/wasinn_chattts.cpp
+++ b/plugins/wasi_nn/wasinn_chattts.cpp
@@ -27,8 +27,8 @@ Expect<WASINN::ErrNo> load(WASINN::WasiNNEnvironment &Env,
Span<con... | 72 | 2 | 0 | [{"id": "G0", "claim": "The setInput error message for the top_P key says \"temperature\" instead of \"top_P\" and should be corrected.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The GIL lock is declared but not used as an RAII guard, which ... | null |
WasmEdge__WasmEdge__3969 | WasmEdge/WasmEdge | 3,969 | defect | 258ef7624a33df1166d54df7b9ec597d7c9e9d33 | 57589984f7dcc7277b6008a046ad1ab27f953839 | fix nested vm call | WasmEdge stores references to current VM in thread local variables.
`enterFunction` calls `prepare` which overwrites these variables.
Problem occurs when VM 1 calls host, which calls VM 2
```
enterFunction(this=executor_1) // `This = executor_1`
...host... // wasm instance 1 c... | diff --git a/include/executor/executor.h b/include/executor/executor.h
index 78a21eed239d..67e5c8881f4a 100644
--- a/include/executor/executor.h
+++ b/include/executor/executor.h
@@ -922,6 +922,26 @@ class Executor {
std::atomic_uint32_t *StopToken;
};
+ /// Restores thread local VM reference after overwriti... | 15 | 2 | 2 | [{"id": "G0", "claim": "In HostFuncHandler the std::unique_lock constructor is missing a mutex, which the reviewer says will lead to compilation errors; it should be std::unique_lock<std::shared_mutex> Lock(Mutex);.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": ... | null |
WasmEdge__WasmEdge__4072 | WasmEdge/WasmEdge | 4,072 | defect | 2cc48b766f9af5eb0430753ab3d9bc4420f1f6f7 | c60bdfe52a4778aa6e4e3eb8d1aa3ea45f150b74 | [Component Model Validator] Fix InstanceExpr Validation, Add tests | - Validation failed due to a typo in [IndexKind](https://github.com/WasmEdge/WasmEdge/blob/master/include/ast/component/type.h#L189)
FuncType should have the byte identifier `0x01`. See https://github.com/WebAssembly/component-model/blob/main/design/mvp/Binary.md#type-definitions
- tested with `hello_wasi_http.wasm` ... | diff --git a/include/ast/component/type.h b/include/ast/component/type.h
index 862943d8d5c0..f169053b954c 100644
--- a/include/ast/component/type.h
+++ b/include/ast/component/type.h
@@ -186,7 +186,7 @@ class FuncType {
enum class IndexKind : Byte {
CoreType = 0x00,
- FuncType = 0x02,
+ FuncType = 0x01,
Comp... | 14 | 2 | 1 | [{"id": "G0", "claim": "The IsAsync method in the ResourceType class should be declared const since it does not modify any member variables, as its non-constness may lead to confusion or errors when calling it on a const object.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_ex... | null |
WasmEdge__WasmEdge__4233 | WasmEdge/WasmEdge | 4,233 | defect | fef49e68bcb9f9db268824bee5f68e5a2eb693f8 | 6e4663afb86b84be76d384ce06a90c9195739b51 | feat(c-api): add method to delete registered modules from VM | Closes: #2481
Currently, the WasmEdge C API does not provide a way to delete or unregister a module that has been registered to a `WasmEdge_VMContext`. This can lead to inefficient memory/resource usage in long-running applications or when modules are dynamically managed.
This PR introduces a new API function:
... | diff --git a/include/api/wasmedge/wasmedge.h b/include/api/wasmedge/wasmedge.h
index 58800460d27c..afaa4b844aaf 100644
--- a/include/api/wasmedge/wasmedge.h
+++ b/include/api/wasmedge/wasmedge.h
@@ -3788,6 +3788,17 @@ WASMEDGE_CAPI_EXPORT extern uint32_t WasmEdge_VMGetFunctionList(
const WasmEdge_VMContext *Cxt, W... | 11 | 3 | 1 | [{"id": "G0", "claim": "StoreManager::reset() uses a shared lock where an exclusive lock is needed, which may cause race conditions when modifying the NamedMod map.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "unregisterModule() should check Ite... | null |
WasmEdge__WasmEdge__4522 | WasmEdge/WasmEdge | 4,522 | defect | 1c4865ace73375d18c4c7781f1d7529f11ce32b4 | 3424819fafa1c808ec460faa39955cf1a2e2c1a3 | fix(AOT): align the NaN propagation order in {f32x4,f64x2}.max/min with the interpreter mode | The AOT compiler's implementation of SIMD floating-point min/max
operations had the NaN handling select operations in the wrong order,
causing different results compared to the interpreter when both
operands contain NaN values.
The interpreter processes NaN checks as:
1. If LHS is NaN, use LHS
2. If RHS is NaN,... | diff --git a/lib/llvm/compiler.cpp b/lib/llvm/compiler.cpp
index e4d5790ffd90..d009e79d3c1b 100644
--- a/lib/llvm/compiler.cpp
+++ b/lib/llvm/compiler.cpp
@@ -5340,8 +5340,8 @@ class FunctionCompiler {
LHS.getType());
Ret = Builder.createSelect(OGT, RHS, Ret);
Ret = Builder.createSelect(OLT, LH... | 3 | 3 | 1 | [{"id": "G0", "claim": "A test case should be added to check the PR's fixed NaN propagation behaviour (or the results verified).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test case should live inside one of the existing test suites instead of c... | null |
WasmEdge__WasmEdge__4542 | WasmEdge/WasmEdge | 4,542 | defect | 73068937ef768021b17eb9ba35038a12696bf453 | c704049a527fc925ebba1b07c99349e73310ccf0 | ci(riscv): enable RISC-V cross-compilation CI | This PR optimizes the RISC-V CI workflow by switching to cross-compilation, reducing build time from ~40m to ~15m.
### Changes
1. **Workflow:** Updated `build_for_riscv.yml` to use `ubuntu-latest` with `gcc-riscv64-linux-gnu`.
2. **AOT Support:** Enabled `-DWASMEDGE_BUILD_AOT_RUNTIME=ON` by installing `libllvm-15-... | diff --git a/.github/workflows/build_for_riscv.yml b/.github/workflows/build_for_riscv.yml
index 172c9ca258e9..46db1c5c4f19 100644
--- a/.github/workflows/build_for_riscv.yml
+++ b/.github/workflows/build_for_riscv.yml
@@ -37,54 +37,121 @@ permissions:
contents: read
jobs:
- # TODO: Refactor `lint` with `on.work... | 7 | 4 | 3 | [{"id": "G0", "claim": "The cross-compile job's container should use Ubuntu 24.04 rather than the 22.04 image the pull request pins.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request removes the Harden Runner step and uses untagged action r... | null |
WasmEdge__WasmEdge__4669 | WasmEdge/WasmEdge | 4,669 | defect | 43374f1bfd10d7be2dfa4421ca50ec75846ab10f | 276d4366ed686e5e2105b302c7b7104c7569d507 | fix(validator): handle unreachable type in ref.test/ref.cast validation | ## Description
Fix logic error in `ref.test`/`ref.cast` validation that incorrectly rejects valid modules containing these instructions after `unreachable`.
After `unreachable`, `popType()` returns `std::nullopt` representing the bottom/unreachable type. The condition at `formchecker.cpp:950` used `!Type.has_value() ... | diff --git a/lib/validator/formchecker.cpp b/lib/validator/formchecker.cpp
index bc80d89ecb8b..929ed3995a8f 100644
--- a/lib/validator/formchecker.cpp
+++ b/lib/validator/formchecker.cpp
@@ -947,7 +947,7 @@ Expect<void> FormChecker::checkInstr(const AST::Instruction &Instr) {
case OpCode::Ref__cast_null: {
EXPE... | 4 | 3 | 1 | [{"id": "G0", "claim": "A test containing the ref.test/ref.cast instruction should be added to cover the validation change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Modifying the condition to let the unreachable (bottom) type pass deviates from th... | null |
WasmEdge__WasmEdge__4671 | WasmEdge/WasmEdge | 4,671 | defect | 43374f1bfd10d7be2dfa4421ca50ec75846ab10f | ba2609700f5ce88210de20b3e3b8f8ea5caf2d5a | fix(executor): use memmove semantics for same-memory memory.copy | ## Description
Fix data corruption in `memory.copy` when source and destination regions overlap within the same memory instance.
`runMemoryCopyOp` uses `getBytes()` returning a live `Span` into the memory buffer, then `setBytes()` which calls `std::copy` (forward iteration only). When `dst > src` within the same memo... | diff --git a/lib/executor/engine/memoryInstr.cpp b/lib/executor/engine/memoryInstr.cpp
index 99fdb77cbfc2..8b3a933cc526 100644
--- a/lib/executor/engine/memoryInstr.cpp
+++ b/lib/executor/engine/memoryInstr.cpp
@@ -3,6 +3,8 @@
#include "executor/executor.h"
+#include <cstring>
+
namespace WasmEdge {
namespace Ex... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new same-memory branch in runMemoryCopyOp should be an if-else instead of an early return followed by the original path.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test should not live in test/executor: th... | null |
WasmEdge__WasmEdge__4676 | WasmEdge/WasmEdge | 4,676 | defect | 43374f1bfd10d7be2dfa4421ca50ec75846ab10f | 18df45ef756a97d776da838a49ac00358526198d | fix(loader): validate try_table catch flag byte range | ## Description
Add range validation for the catch flag byte in `try_table` instruction loading.
The catch flag byte was not validated to be in the range 0x00-0x03. Values 0x04-0xFF were silently accepted with upper bits ignored via masking. For example, flag=0xFF would behave identically to 0x03 (`catch_all_ref`).
A... | diff --git a/lib/loader/ast/instruction.cpp b/lib/loader/ast/instruction.cpp
index da8086bf3e7c..b11edd3f3700 100644
--- a/lib/loader/ast/instruction.cpp
+++ b/lib/loader/ast/instruction.cpp
@@ -339,6 +339,10 @@ Expect<void> Loader::loadInstruction(AST::Instruction &Instr) {
auto &Desc = Instr.getTryCatch().Catc... | 2 | 2 | 0 | [{"id": "G0", "claim": "The try_table catch-flag tests should be merged into a single LoadTryTable test and the cases re-constructed in the style of the surrounding tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of reusing Illegal... | null |
WasmEdge__WasmEdge__4679 | WasmEdge/WasmEdge | 4,679 | defect | 43374f1bfd10d7be2dfa4421ca50ec75846ab10f | 0b59933bec8ea5459619711f2433f4c04fe265cb | fix(executor): preserve nullability for externalized refs in ref.test/ref.cast | ## Description
Fix `ref.test`/`ref.cast` losing nullability information when handling externalized references.
In `runRefTestOp` (refInstr.cpp:330), when an externalized reference is encountered, the value type is always created as non-nullable:
```cpp
VT = ValType(TypeCode::Ref, TypeCode::ExternRef);
```
This disca... | diff --git a/lib/executor/engine/refInstr.cpp b/lib/executor/engine/refInstr.cpp
index 1e69ea1caf1e..a51a785d43f4 100644
--- a/lib/executor/engine/refInstr.cpp
+++ b/lib/executor/engine/refInstr.cpp
@@ -327,7 +327,8 @@ Executor::runRefTestOp(const Runtime::Instance::ModuleInstance *ModInst,
// Copy the value type he... | 3 | 2 | 1 | [{"id": "G0", "claim": "The pull request's fixes do not include corresponding regression tests; add the relevant tests to cover them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new tests should not sit in a standalone test binary; consolidate th... | null |
WasmEdge__WasmEdge__4732 | WasmEdge/WasmEdge | 4,732 | defect | ed9dab8c54377bd297f973a52d0b67174838cfcf | ba9a481780f55cf3408e0e721fb53cb2059d4a88 | fix(executor,llvm): lld issue and wait issue in multi-thread environment | ## Description
1. feat(runtime): add registerModule with alias name across API layers
2. fix(executor): move WaiterMap from Executor to MemoryInstance
3. fix(llvm): serialize LLD linker invocations with mutex
## Checklist
Before submitting this PR, please ensure the following:
- [x] **DCO Signed-off**: Al... | diff --git a/.github/scripts/whitelist.symbols b/.github/scripts/whitelist.symbols
index 46f0c36f370a..3d5ffa9664bb 100644
--- a/.github/scripts/whitelist.symbols
+++ b/.github/scripts/whitelist.symbols
@@ -67,6 +67,7 @@ WasmEdge_ExecutorInstantiate
WasmEdge_ExecutorInvoke
WasmEdge_ExecutorRegister
WasmEdge_Executor... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reworded InvalidAlignment trap message (\"atomic alignment must be natural\") reads oddly, as if a number were compared against the set of natural numbers, and the wording should be reconsidered.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"},... | null |
WasmEdge__WasmEdge__4788 | WasmEdge/WasmEdge | 4,788 | defect | f3ee7865243ef16a954cf14827b5abc8342182d8 | b114eb6fe30b97fb59a690b3e17bbd7785d6ab55 | fix(po): reject numeric option values with trailing garbage | ## Description
Fixes #4787.
WasmEdge's Program Options (PO) numeric parser silently accepted values with trailing non-numeric characters. `--time-limit=100abc` was accepted as `100`, `--gas-limit 42xyz` as `42`, and so on. On top of that, the `ArgumentParser` state machine discarded the error return from `consume_arg... | diff --git a/include/po/parser.h b/include/po/parser.h
index b143510e184a..ddcf452f2b8e 100644
--- a/include/po/parser.h
+++ b/include/po/parser.h
@@ -33,9 +33,10 @@ stringToInteger(ConvResultT (&Conv)(const char *, char **, int),
auto SavedErrNo = std::exchange(errno, 0);
const auto Result = Conv(CStr, &EndPtr, ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The EndPtr == CStr condition is redundant in the failure case; the check should be just `if (*EndPtr != '\\0')`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new error messages should be built with fmt::format inste... | null |
Watfaq__clash-rs__1053 | Watfaq/clash-rs | 1,053 | defect | 23f75748528c1f8a807a009fc5c56279673ec119 | 780b9a90ea3c4321e670b332982ad97acff535e9 | feat: enrich /configs api response | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/clash-lib/src/app/api/handlers/config.rs b/clash-lib/src/app/api/handlers/config.rs
index ee16b3ad4..46fab6498 100644
--- a/clash-lib/src/app/api/handlers/config.rs
+++ b/clash-lib/src/app/api/handlers/config.rs
@@ -16,18 +16,34 @@ use crate::{
app::{
api::AppState,
dispatcher,
- ... | 5 | 3 | 1 | [{"id": "G0", "claim": "The global_state mutex guard is held across multiple .await points in get_configs (ports/allow-lan/listeners/bind_address), which can block other tasks and may deadlock if an awaited call acquires the same mutex; capture the needed fields into locals and drop the guard before the other awaits.",... | null |
Watfaq__clash-rs__1056 | Watfaq/clash-rs | 1,056 | defect | 301cd958a321fcb72a18b72c4712c5225ed1fc14 | 8de744fe1d1adf06c06d1d20aa4e6cb8776f0171 | feat: enrich api response for plain proxies | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/clash-lib/src/app/outbound/manager.rs b/clash-lib/src/app/outbound/manager.rs
index dde6c3c7d..861d854e9 100644
--- a/clash-lib/src/app/outbound/manager.rs
+++ b/clash-lib/src/app/outbound/manager.rs
@@ -146,6 +146,8 @@ impl OutboundManager {
for (k, v) in self.handlers.iter() {
let m... | 6 | 1 | 1 | [{"id": "G0", "claim": "The new as_map() implementations return credentials in cleartext (Trojan/Shadowsocks/TUIC/SOCKS/ShadowQuic passwords, VMess/VLESS/TUIC uuid) via the REST API, and the reviewer asks that secrets be redacted or omitted (or replaced by presence booleans) consistently across all plain handlers.", "c... | null |
Watfaq__clash-rs__1061 | Watfaq/clash-rs | 1,061 | defect | c07aac0628f547060197c84dfb83d6a0beeaa0ce | 1d32089041f3b580bce34b879d203c1f8c323825 | feat: allow proxy groups/providers as outbounds for DNS and geo-data downloads | - [x] Add `OutboundHandlerRegistry` (`Arc<RwLock<HashMap<String, AnyOutboundHandler>>>`) type alias
- [x] Add `SharedOutboundHandler`: resolves named outbound from registry at connect time, enabling late-bound proxy group resolution
- [x] Add `FALLBACK_DIRECT` global cached handler (avoids per-miss allocation); `direct... | diff --git a/clash-lib/src/app/dns/dhcp.rs b/clash-lib/src/app/dns/dhcp.rs
index cd61ae8b9..6059b1c65 100644
--- a/clash-lib/src/app/dns/dhcp.rs
+++ b/clash-lib/src/app/dns/dhcp.rs
@@ -9,7 +9,6 @@ use async_trait::async_trait;
use dhcproto::{Decodable, Encodable};
use futures::FutureExt;
use std::{
- collections:... | 8 | 6 | 1 | [{"id": "G0", "claim": "Call sites behind cfg(docker_test) (e.g. config_helper.rs::build_dns_resolver) still pass a HashMap to EnhancedResolver::new, which will fail to compile when docker tests are enabled, and the split registry type alias fails cargo fmt, so CI is failing.", "category": "correctness", "verdict": "su... | null |
Watfaq__clash-rs__1322 | Watfaq/clash-rs | 1,322 | defect | dd693bf5a741c0f99d6a821725df5d678a9553c5 | bf426a00feedc8c0a5efb1d0c2bb8fd2d9ff23e3 | fix: tun reliability | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/clash-netstack/src/device.rs b/clash-netstack/src/device.rs
index dd46bef70..02e57d9f5 100644
--- a/clash-netstack/src/device.rs
+++ b/clash-netstack/src/device.rs
@@ -48,18 +48,19 @@ impl Device for NetstackDevice {
&mut self,
_timestamp: Instant,
) -> Option<(Self::RxToken<'_>, Sel... | 10 | 5 | 3 | [{"id": "G0", "claim": "parse_server_isn indexes into syn_ack without validating the slice length, so a malformed or truncated packet may panic at syn_ack[ihl + 4..ihl + 8]; add bounds validation or return Option<u32>.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id":... | null |
Watfaq__clash-rs__1346 | Watfaq/clash-rs | 1,346 | defect | 7dcd110cdee1b00e4c66a69625d7d1f5dd5ef86f | c4243e58b0947eb926f7a0ecb8229e791e3c4da1 | fix(udp): full cone NAT — correct domain→orig_dest attribution for UDP sessions | ## Problem
In FAKE-IP (and resolve-cache) mode, UDP outbound sessions were incorrectly attributing upstream responses to the wrong inbound destination.
**Root cause (dispatcher_impl.rs L377):** The session key was `(outbound_name, client_src_addr)`. When a session was first created, `orig_dest` was captured from the ... | diff --git a/clash-lib/src/proxy/datagram.rs b/clash-lib/src/proxy/datagram.rs
index fa20cbe33..7ce5d0d0f 100644
--- a/clash-lib/src/proxy/datagram.rs
+++ b/clash-lib/src/proxy/datagram.rs
@@ -4,8 +4,10 @@ use crate::{
};
use futures::{FutureExt, Sink, Stream, ready};
use std::{
+ collections::HashMap,
fmt::... | 3 | 3 | 2 | [{"id": "G0", "claim": "Run cargo +nightly fmt and fix all clippy issues on the pull request's code.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add eviction/TTL for the append-only ip_to_domain map to prevent unbounded growth and stale NAT s... | null |
Watfaq__clash-rs__562 | Watfaq/clash-rs | 562 | defect | d163787bed7e3be1dd6b9e641c25162317cbf8f4 | 9b507359e0925474c529b9885ca37d77ccb55bc6 | feat: compatiable with mihomo `icon` field | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/clash_lib/src/app/outbound/manager.rs b/clash_lib/src/app/outbound/manager.rs
index 6b39ccce5..05dffccb0 100644
--- a/clash_lib/src/app/outbound/manager.rs
+++ b/clash_lib/src/app/outbound/manager.rs
@@ -27,7 +27,7 @@ use crate::{
proxy::{
fallback, loadbalance, selector, socks, tor, trojan,
... | 2 | 2 | 0 | [{"id": "G0", "claim": "CommonOptions already exists on plain outbounds but not on the group types, and the reviewer asks that it be added to the groups too.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new HandlerSharedOptions struct duplicates ... | null |
Watfaq__clash-rs__819 | Watfaq/clash-rs | 819 | defect | 9e5e3cbb6f0b93e0b04298155c37ecd58976b6af | 0312f2688471cd369fb45af7c6612b40360b32db | feat(rules): add inline rules to rule_providers | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/clash_lib/src/app/remote_content_manager/providers/fetcher.rs b/clash_lib/src/app/remote_content_manager/providers/fetcher.rs
index 8a1d549c5..01633d2bc 100644
--- a/clash_lib/src/app/remote_content_manager/providers/fetcher.rs
+++ b/clash_lib/src/app/remote_content_manager/providers/fetcher.rs
@@ -7,7 +7,... | 6 | 1 | 1 | [{"id": "G0", "claim": "Unit tests should be added for InlineRuleProvider deserialization and the downstream pipeline to ensure that inline_rules are correctly parsed and applied.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The generic name `items` i... | null |
Web3Auth__web3auth-web__2471 | Web3Auth/web3auth-web | 2,471 | defect | bda09b6031a56d186826ea3b31f3bd7e629a7cb2 | fbd7a00ed93bdcf03f367d49e1b3a690faffcc0a | Use same consent config with sdk and whitelabel | ## Jira Link
<!-- Link to the Jira ticket (if applicable) -->
## Description
Sdk config for consent required is not the same with whitelabel config (which configurable on dashboard also)
- fix demo: if consent required we add sample links for privacy and tnc (links should be showing on consent screen now)
- ... | diff --git a/demo/vue-app-new/src/MainView.vue b/demo/vue-app-new/src/MainView.vue
index 096ac2f91..71dd8b20f 100644
--- a/demo/vue-app-new/src/MainView.vue
+++ b/demo/vue-app-new/src/MainView.vue
@@ -131,9 +131,10 @@ const options = computed((): Web3AuthOptions => {
? { ...whiteLabel, widgetType: widget, targetId... | 1 | 1 | 1 | [{"id": "G0", "claim": "Setting consentRequired/privacyPolicy/tncLink via web3AuthOptions.uiConfig! throws a TypeError at runtime when consentConfigMode is \"required\", because web3AuthOptions is created without a uiConfig property and the non-null assertion only silences the type checker; uiConfig must be initialized... | null |
WebAssembly__wabt__1236 | WebAssembly/wabt | 1,236 | defect | b51f2cd46959467c8e3bb567799f400dbf8070e7 | abea5e73376a03e9433b3eb388fd9d0fb94cab48 | interpreter: Allow traps to include custom error strings | This means we can give more precise/useful errors for runtime failures.
Change interp::Result from an enum to struct so it can hold the
result enum plus an optional detailed error message.
Add TRAP_MSG and TRAP_IF_MSG macros that work just like TRAP and
TRAP_IF but contain a format string and printf-like argume... | diff --git a/src/interp/interp.cc b/src/interp/interp.cc
index fc914eb7df..00b386b2b1 100644
--- a/src/interp/interp.cc
+++ b/src/interp/interp.cc
@@ -36,11 +36,11 @@ namespace interp {
// Differs from the normal CHECK_RESULT because this one is meant to return the
// interp Result type.
#undef CHECK_RESULT
-#define... | 2 | 2 | 0 | [{"id": "G0", "claim": "The GetAccessAddress bounds check should use a TRAP_IF_MSG-style helper instead of the verbose explicit if/TRAP_MSG block.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The code should consistently use TRAP_IF_MSG (all-or-nothing... | null |
WebAssembly__wabt__1357 | WebAssembly/wabt | 1,357 | defect | a5994b2f94586063f7cce021e537f2cda82f3ba0 | 27ee8c52b1328100a5d47f9b5a461b6fee265583 | Fix interpreter garbage collector | The interpreter has a garbage colletor (Store::Collect), that *almost*
worked.
In particular, the free list had no fast way to determine whether an
object was used or not. This is necessary when iterating over objects to
actually delete them. This commit adds an `is_free_` vector for this
purpose.
The `Store:... | diff --git a/src/interp/interp-inl.h b/src/interp/interp-inl.h
index 9e9af7f1ab..7650ff1b98 100644
--- a/src/interp/interp-inl.h
+++ b/src/interp/interp-inl.h
@@ -134,40 +134,54 @@ inline Frame::Frame(Ref func,
//// FreeList ////
template <typename T>
-bool FreeList<T>::IsValid(Index index) const {
- return index ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a `size_t object_count = objects_.size()` local in Store::Collect() and use it there and on lines 269, 273 and 383 instead of the repeated size calls.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WebAssembly__wabt__1430 | WebAssembly/wabt | 1,430 | defect | a9317fb219e958b819b9ce98d15214803953c24c | 943feb58ce9f4c747cd023ec9968a589dc40de5d | wasi: Implement more of the wasi API | I've been used the tests from wasi-sdk to get started:
https://github.com/WebAssembly/wasi-sdk/tree/master/tests
All these tests now pass. Still this isn't saying much, there are still
some big missing pieces. Started using the new serdes
(serialize/deserialze) API in uvwasi. I think we are almost at the
po... | diff --git a/src/interp/interp-wasi.cc b/src/interp/interp-wasi.cc
index 28d94584d7..d52e143d84 100644
--- a/src/interp/interp-wasi.cc
+++ b/src/interp/interp-wasi.cc
@@ -53,6 +53,49 @@ _Static_assert(_Alignof(__wasi_size_t) == 4, "witx calculated align");
_Static_assert(sizeof(__wasi_ptr_t) == 4, "witx calculated siz... | 5 | 4 | 3 | [{"id": "G0", "claim": "Add a TODO about checking the number of WASI params before accessing them, since the new host functions index params unchecked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Prefer C++ static_assert over the C _Static_assert... | null |
WebAssembly__wabt__1512 | WebAssembly/wabt | 1,512 | defect | 4b9852ad23541c851031398b835d6387b1b51393 | 20bcb86c0c73d5b52dfce2df33e082e58f4ba956 | Made the interpreter "type-safe" in debug mode | Adds a type field to `Value` to verify the right union member is being read.
A Wasm module that has been validated shouldn't need this, but any code reading the wrong value would trigger UB, but still often work (like a uint32_t read from a uint64_t on little endian machine), and mask bugs.
Turning this on found bugs... | diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc
index fbc4af9c00..dbf2593c3a 100644
--- a/src/binary-reader-logging.cc
+++ b/src/binary-reader-logging.cc
@@ -607,7 +607,7 @@ Result BinaryReaderLogging::OnSegmentInfo(Index index,
Address alignment,
... | 1 | 1 | 0 | [{"id": "G0", "claim": "GetRef is a template only specialized for v128 and used in one place; remove it and have ParseLaneConstValue use Get plus Set instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WebAssembly__wabt__1809 | WebAssembly/wabt | 1,809 | defect | c5de1f5bbef142f56c8c329c315d5a3776322295 | 0fc90990419ed675948371a5402c376ad3d3d51e | Change Thread in interpreter to a normal object | Improves memory consumption since thread instances are freed without running garbage collector. | diff --git a/src/interp/interp-inl.h b/src/interp/interp-inl.h
index 1237d811c1..0535de8a37 100644
--- a/src/interp/interp-inl.h
+++ b/src/interp/interp-inl.h
@@ -938,16 +938,6 @@ inline std::vector<DataSegment>& Instance::datas() {
}
//// Thread ////
-// static
-inline bool Thread::classof(const Object* obj) {
- ... | 7 | 7 | 1 | [{"id": "G0", "claim": "The new Thread constructor need not be declared `explicit` since it takes multiple arguments.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Method definitions should open braces on the same line as the method name, as the new Thr... | null |
WebAssembly__wabt__1895 | WebAssembly/wabt | 1,895 | defect | d08b0d9fd2b76325b09308268e14969f923ff1fe | 4f23a2e4ca2709dc62ef68c6b76797b368b52a6e | update br_table validation rule + enforce module validity in spectest-interp | - https://github.com/WebAssembly/wabt/pull/1888 and https://github.com/WebAssembly/wabt/pull/1894#issuecomment-1098434603 observed that spectest-interp wasn't checking for errors on a "module" command. (Failure of a module to validate wasn't, by itself, a test failure.)
- and https://github.com/WebAssembly/wabt/pull/1... | diff --git a/src/tools/spectest-interp.cc b/src/tools/spectest-interp.cc
index 97044010c7..adb992a0f0 100644
--- a/src/tools/spectest-interp.cc
+++ b/src/tools/spectest-interp.cc
@@ -1274,7 +1274,10 @@ wabt::Result CommandRunner::Run(const Script& script) {
for (const CommandPtr& command : script.commands) {
sw... | 2 | 2 | 0 | [{"id": "G0", "claim": "On an invalid module the runner should print the error and continue trying to run the other tests in the script instead of returning immediately.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Include modules in the test tally so ... | null |
WebAssembly__wabt__1993 | WebAssembly/wabt | 1,993 | defect | 31604f8f62c4a83d9f89b3d07631de26fe9f1fba | bb15f94cbabb507866d137e11c97740e81129f82 | [spectest-interp] Fix SIMD lane extraction bug | The GetLane methods were looping over a "lane" variable, masking the parameter of the same name. This led to the last lane being returned in all cases, so tests would ignore the other lanes. | diff --git a/src/tools/spectest-interp.cc b/src/tools/spectest-interp.cc
index 8e0618b5c4..2e842dfdfa 100644
--- a/src/tools/spectest-interp.cc
+++ b/src/tools/spectest-interp.cc
@@ -198,41 +198,39 @@ ExpectedValue GetLane(const ExpectedValue& ev, int lane) {
v128 vec = ev.value.value.Get<v128>();
- for (int la... | 2 | 1 | 0 | [{"id": "G0", "claim": "The lane-mismatch error line reads backwards: it prints \"expected i8:255\" for the i8 lane the test expects to be -1 and \"got i8:0\" for the returned 0, and Keith asks whether the two shouldn't be the reverse.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "pre... | null |
WebAssembly__wabt__2054 | WebAssembly/wabt | 2,054 | defect | 712bb5c908c35de7e4878463bb26ca0c89dac479 | 728e562b32556aab49adc8303a6a7ba7d5d919a0 | Update testsuite | As well as the testsuite update there are two notable changes that come with it here. These can both be split out an landed first if it makes sense.
1. wasm2c now supports element sections containing externref. Currently only the null reference is supported.
2. element segments no longer use funcref as the defa... | diff --git a/include/wabt/shared-validator.h b/include/wabt/shared-validator.h
index 154f26197e..8c1f3988b1 100644
--- a/include/wabt/shared-validator.h
+++ b/include/wabt/shared-validator.h
@@ -88,7 +88,7 @@ class SharedValidator {
Result OnStart(const Location&, Var func_var);
Result OnElemSegment(const Locat... | 3 | 3 | 1 | [{"id": "G0", "claim": "Questions why elem segments have to be parsed as Type::Void and then auto-resolved from the table type in BinaryReaderIr, BinaryReaderInterp and SharedValidator, asking which case requires this when the spec's eight flag choices all encode the type explicitly.", "category": "design", "verdict": ... | null |
WebAssembly__wabt__2252 | WebAssembly/wabt | 2,252 | defect | 10652e0c841b6e217f97eb970ee930353a4f0226 | 47625af0d80540430646495aac6ddf750eabc799 | spectest-interp: assert_malformed must error in reader alone | In the spectest interpreter, currently `assert_malformed` is treated the same as `assert_invalid`. This PR requires that `assert_malformed` modules must fail in the reader (not later in validation).
This also fixes an issue where `assert_invalid` wasn't validating text modules, so spectest-interp wasn't working prop... | diff --git a/src/tools/spectest-interp.cc b/src/tools/spectest-interp.cc
index a997e787bc..3288ef343d 100644
--- a/src/tools/spectest-interp.cc
+++ b/src/tools/spectest-interp.cc
@@ -25,6 +25,7 @@
#include <vector>
#include "wabt/binary-reader-ir.h"
+#include "wabt/binary-reader-nop.h"
#include "wabt/binary-reader... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new helper name \"WellformedIR\" should be reconsidered: the reviewer asks whether \"well formed\" is a spec term or something the pull request is coining.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Revert the pull request... | null |
WebAssembly__wabt__2300 | WebAssembly/wabt | 2,300 | defect | b22be5a08611c53e8a893bbab049e6f18da6c55a | 7dc77c0e1b4a96c551773b92bc4ef71cd6bfbef7 | Remove CircularArray (NFC) | This PR removes the CircularArray class (only used in one place) and its unit test, in favor of a small replacement inside the WastParser.
I suspect we could also just use a std::queue with probably only a small performance penalty -- maybe that's cleaner/simpler? | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3f475b924e..18f50bc9bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -699,7 +699,6 @@ if (BUILD_TESTS)
# wabt-unittests
set(UNITTESTS_SRCS
src/test-binary-reader.cc
- src/test-circular-array.cc
src/test-interp.cc
src/test-intrusive-list.cc... | 1 | 1 | 0 | [{"id": "G0", "claim": "The anonymous two-element token-queue class added to WastParser should be given a name (e.g. TokenQueue) and have its method definitions moved out of the header, to keep the containing class readable and keep unused-in-header methods out of it.", "category": "maintainability", "verdict": "suppor... | null |
WebAssembly__wabt__2464 | WebAssembly/wabt | 2,464 | defect | c6853eb4857908072fd1d7c28dffb1d2613a0ee6 | 16f41de013d2c34eac7ada09e6b342e8c5788ab9 | [wasm-interp] Fix memory corruption with recursive call_indirect | The interpreter could overflow the stack without trapping properly in `call_indirect` situations. While it would set the `out_trap` to the trap reason, it would return `RunResult::Ok` and the interpreter code would only check `RunResult::Ok` to decide whether or not to keep running. In other words, while the stack over... | diff --git a/src/interp/interp.cc b/src/interp/interp.cc
index 74f33eb8f7..cb5623d82e 100644
--- a/src/interp/interp.cc
+++ b/src/interp/interp.cc
@@ -1989,7 +1989,7 @@ RunResult Thread::DoCall(const Func::Ptr& func, Trap::Ptr* out_trap) {
PushValues(func_type.results, results);
} else {
if (PushCall(*cast... | 4 | 2 | 0 | [{"id": "G0", "claim": "The new test's $runaway-with-return function seems to declare both a type use (type $out-i32) and an inline (result i32), and the reviewer asks whether that is intended and part of the repro case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
WebAssembly__wabt__2502 | WebAssembly/wabt | 2,502 | defect | 81d6ac4a5d43c8329639bb88fc39f3ca6424896a | 7e4c06081db02a6b2082939b57694f1f3dcac929 | Add support for the custom-page-sizes proposal | This PR adds support for the custom-page-sizes proposal to the lexer, the binary/text parsers and writers, the validator, interpreter, and objdump.
Will plan to add wasm2c in a future PR.
(@fitzgen) | diff --git a/README.md b/README.md
index a6122ee42e..d0ae81a304 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,7 @@ Wabt has been compiled to JavaScript via emscripten. Some of the functionality i
| [multi-memory][] | `--enable-multi-memory` | | ✓ | ✓ | ✓ | ✓ | ✓ |
| [extended-const][] | `--enable-... | 2 | 2 | 1 | [{"id": "G0", "claim": "The implementation should not hard-code page size 1 as the only non-default page size it handles outside the validator, but should allow any power-of-two page size everywhere except the validator.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
WebAssembly__wabt__2583 | WebAssembly/wabt | 2,583 | defect | 5fdc74561954b9e9c35877017b31a2be8fff23d1 | f1b1c05699ef3e8e42b347996fd093567a163a5e | [wast-parser] Add parse_binary_modules option | Enabled by default, this option implements the current behavior of WABT when it encounters "(module binary ...)" script modules. That is, it parses the binary module, reporting any errors that it sees.
When disabled, the binary module will be passed back to the WAST parser as unvalidated raw bytes. This allows for t... | diff --git a/include/wabt/feature.def b/include/wabt/feature.def
index ac96377b43..7827954668 100644
--- a/include/wabt/feature.def
+++ b/include/wabt/feature.def
@@ -19,25 +19,26 @@
#endif
/*
- * variable flag default help
- * ==============================================... | 3 | 2 | 1 | [{"id": "G0", "claim": "The validate-binary-modules toggle should live in a field of WastParserOptions instead of being a command-line feature flag, since it would not make sense for a user to specify this flag on the command line and it would likely break assumptions in the various tools.", "category": "design", "verd... | null |
WebAssembly__wabt__2593 | WebAssembly/wabt | 2,593 | defect | ed94ed771c73189d414c6dcb7d74b60a5198ded2 | a447b9cd1a36355fe9a32555ebec7fed678c386f | Support table initializer expressions; completes function references support | Another large patch on the top of the other two. Now there are 3-4000 lines of new code is waiting for review, and it looks like the end is still far.
The painful part so far:
https://webassembly.github.io/function-references/core/binary/modules.html#element-section
Since type 0-3 is reserved for `(ref func)`, a... | diff --git a/README.md b/README.md
index d35ab0f1cb..b59b1c98ac 100644
--- a/README.md
+++ b/README.md
@@ -63,6 +63,7 @@ Wabt has been compiled to JavaScript via emscripten. Some of the functionality i
| [extended-const][] | `--enable-extended-const` | | ✓ | ✓ | ✓ | ✓ | ✓ |
| [relaxed-simd][] | `--enable-... | 13 | 9 | 1 | [{"id": "G0", "claim": "Adding table initializer expressions makes the new BeginTable/BeginTableInitExpr/EndTableInitExpr/EndTable delegate callbacks a breaking API change, and the author asks how such breaking changes are handled in this project.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope... | null |
WebAssembly__wabt__2693 | WebAssembly/wabt | 2,693 | defect | d09cffc7835de4d5f8647339e3e92a53d7124617 | 86e51735d2b56717ef287cdac96f29e6a5ffba32 | Add bounds check for function body size in binary reader | ## Summary
- `ReadCodeSection` computed `end_offset = body_start_offset + body_size` without validating that `end_offset` falls within the code section boundary (`read_end_`).
- A crafted module with an oversized `body_size` could cause the reader to parse past the section end.
- Add an `ERROR_UNLESS` check that valid... | diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index 379c6f2c0f..d480c68721 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -3019,6 +3019,8 @@ Result BinaryReader::ReadCodeSection(Offset section_size) {
CHECK_RESULT(ReadU32Leb128(&body_size, "function body size"));
Offset body_start_... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a TODO comment to the new test noting it should be moved upstream into the spec repo, since this case presumably lacks an upstream spec test.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WebAssembly__wabt__2728 | WebAssembly/wabt | 2,728 | defect | 5551e79a8f22a645502115683ba0e4d8e5021f8b | acbdb25dffe2a25812346ced7292330c39476d73 | Move filename out of Location | Locations should only contain the line info / binary offset, since the filename is the same everywhere. This patch reduces the memory consumption of locations without loosing any information. | diff --git a/include/wabt/binary-reader-ir.h b/include/wabt/binary-reader-ir.h
index 4de0ee7099..a0b1c57fbf 100644
--- a/include/wabt/binary-reader-ir.h
+++ b/include/wabt/binary-reader-ir.h
@@ -25,8 +25,7 @@ namespace wabt {
struct Module;
struct ReadBinaryOptions;
-Result ReadBinaryIr(const char* filename,
- ... | 5 | 4 | 1 | [{"id": "G0", "claim": "Reviewer asks what the newly added Location::print_filename boolean is for and why one would ever not want to print the filename, questioning the need for the new member.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR's mem... | null |
WebAssembly__wabt__682 | WebAssembly/wabt | 682 | defect | b3a971b43a0a6fa4d15decb6d55a192b00723fa8 | 99b80e21a9dd66848dffaf95d563f02f3c28058f | wat2wasm: Always write output to a file | This involves deriving the output filename from the input
filename when none is otherwise specified.
Also split out filename handling utilities and add unittests
for them. | diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee6d6dafcd..cf50c581c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -219,6 +219,7 @@ add_library(libwabt STATIC
src/opcode.cc
src/error-handler.cc
src/hash-util.cc
+ src/filenames.cc
src/string-view.cc
src/ir.cc
src/expr-visitor.cc
@@ -354,6 +... | 3 | 2 | 0 | [{"id": "G0", "claim": "The StripExtension doc example line saying \"foo.bar\" => \"foo.bar\" is wrong now, since the function strips at the last dot and would return \"foo\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add empty-string test ca... | null |
WebAssembly__wabt__934 | WebAssembly/wabt | 934 | defect | fd4a696c3d104b8bc2520796e758e66439c079f5 | 4ab41b4b963cdba1f9d28ddad2994b3112cd4aab | Add test for disabled opcodes in binary reader | It's easy to forget to add a check for unexpected opcodes, and it's
tedious to have to write additional tests in `test/binary/*`.
This way we can test all potentially disabled instructions at once. | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 275b9bb758..3d893eff8e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -408,6 +408,7 @@ if (NOT EMSCRIPTEN)
# wabt-unittests
set(UNITTESTS_SRCS
+ src/test-binary-reader.cc
src/test-circular-array.cc
src/test-interp.cc
src/test-... | 2 | 2 | 0 | [{"id": "G0", "claim": "Opcode::GetLength() should return GetBytes().size() instead of recomputing the length from the prefix plus the LEB128 length of the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The opcode-enabled check should be d... | null |
WebAssembly__wasi-libc__109 | WebAssembly/wasi-libc | 109 | defect | c54004fcce3aa2b739a903b8da96bc4bb89b623e | 3d0a995181f92d422304dcb15e74719362b1ea9d | Call `populate_environ` only if we actually need environment variables. | This avoids a couple of mallocs and calls to __wasi_environ_sizes_get
and __wasi_environ_get in programs that don't use environment variables.
In theory this should work, however it doesn't currently work as
intended, and seems to be blocked by [LLVM PR43696].
[LLVM PR43696]: https://bugs.llvm.org/show_bug.cgi?... | diff --git a/libc-bottom-half/crt/crt1.c b/libc-bottom-half/crt/crt1.c
index c43971b76..beefb6bbb 100644
--- a/libc-bottom-half/crt/crt1.c
+++ b/libc-bottom-half/crt/crt1.c
@@ -3,7 +3,7 @@
#include <wasi/core.h>
#include <wasi/libc.h>
-extern char **__environ;
+extern char **__environ __attribute__((weak));
extern... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add integer overflow checks to the allocation-size computations in __wasilibc_populate_environ, because a binary could run on execution environments where an overflowed allocation could potentially be a vulnerability (e.g. sandboxed applications).", "category": "security", "verdict": "supported"... | null |
WebAssembly__wasi-libc__142 | WebAssembly/wasi-libc | 142 | defect | fe130532ae0d7c416f24f5a71c808820f42d005f | 7dc78a30a2656ab825a5b403f98d503f698d7b06 | Use constructor functions for optional init routines. | Instead of using weak symbols, use constructor function attributes for the
environment and preopen initialization routines. This is simpler, uses
less code, and is more LTO-friendly. | diff --git a/expected/wasm32-wasi/defined-symbols.txt b/expected/wasm32-wasi/defined-symbols.txt
index fda1ec8c4..b3a46b869 100644
--- a/expected/wasm32-wasi/defined-symbols.txt
+++ b/expected/wasm32-wasi/defined-symbols.txt
@@ -253,8 +253,6 @@ __wasilibc_fd_renumber
__wasilibc_find_relpath
__wasilibc_open_nomode
__... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reserving constructor priority 0 for lower-level (e.g. compiler-generated) init routines is questionable, so the optional init routines should use a value that leaves room on both sides of the reserved range.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
WebAssembly__wasi-libc__554 | WebAssembly/wasi-libc | 554 | defect | c47daaf6c69f82835fc92d9e14361803dfa794fa | dff5f296abcb48ce4e5053e9b29d4a54521d4d9e | test: improve test infrastructure | This change represents a rather large re-design in how `wasi-libc` builds and runs its tests. Initially, #346 retrieved the `libc-test` repository and built a subset of those tests to give us some amount of test coverage. Later, because there was no way to add custom C tests, #522 added a `smoke` directory which allowe... | diff --git a/test/.gitignore b/test/.gitignore
index 469544f61..266ca8d5a 100644
--- a/test/.gitignore
+++ b/test/.gitignore
@@ -1,5 +1,2 @@
build
-download
run
-
-smoke/*.dir
diff --git a/test/Makefile b/test/Makefile
index 31ff39f4e..43046fdc2 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -9,15 +9,28 @@
# - `r... | 7 | 5 | 0 | [{"id": "G0", "claim": "Run-directory names ending in `.c` look strange, and the extension should probably be stripped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Directive comments would be more readable with a special `//!` prefix to disti... | null |
WebAssembly__wasi-libc__562 | WebAssembly/wasi-libc | 562 | defect | f1c557ce174b3ee2eff6122b2deebf637f6cdaee | 57331a737da6b8e78ab0e83284134b92d5b26d3a | Opt-in busywait mode for futexes | We are heavily using wasi-libc + wasip1-threads on browsers. Since wasi-libc uses `memory.atomic.wait32` to implement futex, and the usage of `memory.atomic.wait32` on the main thread is prohibited on browsers, we currently need to write code carefully not to reach the instruction.
Emscripten addresses this limitati... | diff --git a/Makefile b/Makefile
index 00dd30812..3555879dc 100644
--- a/Makefile
+++ b/Makefile
@@ -369,6 +369,7 @@ LIBC_TOP_HALF_MUSL_SOURCES += \
thread/sem_trywait.c \
thread/sem_wait.c \
thread/wasm32/wasi_thread_start.s \
+ thread/wasm32/__wasilibc_busywait.c \
)
endif
ife... | 3 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks that the busywait-enable API be named so it is clear it covers any blocking instruction, not necessarily futex.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions the design of the new... | null |
WebAssembly__wasi-libc__586 | WebAssembly/wasi-libc | 586 | defect | 4720b34e91ccca1b3d4d1df3fd20e6b578898d6a | ca36505f6e048979fa45a18d20d55238ba51846d | Optional SIMD strlen | This is a potential first step at upstreaming #580 piecemeal.
Chose `strlen` as it's already covered by tests. It's also one of the simplest (easiest to review) implementations.
Built and tested with:
```sh
CC=[PATH_TO]/wasi-sdk-25.0-x86_64-linux/bin/clang \
EXTRA_CFLAGS="-O2 -DNDEBUG -msimd128 -mbulk-memory... | diff --git a/libc-top-half/musl/src/string/strlen.c b/libc-top-half/musl/src/string/strlen.c
index 309990f02..47253a150 100644
--- a/libc-top-half/musl/src/string/strlen.c
+++ b/libc-top-half/musl/src/string/strlen.c
@@ -1,6 +1,7 @@
#include <string.h>
#include <stdint.h>
#include <limits.h>
+#include <wasm_simd128.... | 4 | 3 | 3 | [{"id": "G0", "claim": "The bare `#include <wasm_simd128.h>` in strlen.c needs to be guarded (e.g. by `#ifdef __wasm_simd128__`) because the CI toolchain's include path does not provide it unconditionally.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
WebAssembly__wasi-libc__592 | WebAssembly/wasi-libc | 592 | defect | 553305fcc23b879ecd736e5deec874d3f108214c | 853dad46d80305b38ad79fee5e6403e0f1f935ed | Optional SIMD memchr | Continuing #580, followup to #586.
Chose `memchr` because it's somewhat similar to `strlen`, but also because it is the basis for `strnlen` (and in that capacity, for `strndup` and `strlcat`) and is also used by `strstr`, `fnmatch`. | diff --git a/libc-top-half/musl/src/string/memchr.c b/libc-top-half/musl/src/string/memchr.c
index 65f0d789b..0c6693e81 100644
--- a/libc-top-half/musl/src/string/memchr.c
+++ b/libc-top-half/musl/src/string/memchr.c
@@ -2,6 +2,10 @@
#include <stdint.h>
#include <limits.h>
+#ifdef __wasm_simd128__
+#include <wasm_s... | 2 | 1 | 1 | [{"id": "G0", "claim": "The SIMD load in memchr should use inline assembly, like strlen does, if possible, because the direct vector load reads before the allocation and is undefined behavior in C.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Usin... | null |
WebAssembly__wasi-libc__597 | WebAssembly/wasi-libc | 597 | defect | 4ea6fdfa288e15a57c02fe31dda78e5ddc87c3c7 | a730338cf5c0c4cd3271201f842ee5c5bcd18c7a | Optional SIMD str(c)spn | Continuing #580, implements `strspn` and `strcspn`.
This one follows the same general structure as #586, #592 and #594, but uses a somewhat more complicated algorithm, described [here](http://0x80.pl/notesen/2018-10-18-simd-byte-lookup.html).
I used the Geoff Langdale alternative implementation (the tweet as sinc... | diff --git a/libc-top-half/musl/src/string/strcspn.c b/libc-top-half/musl/src/string/strcspn.c
index a0c617bd7..ca4b90dc9 100644
--- a/libc-top-half/musl/src/string/strcspn.c
+++ b/libc-top-half/musl/src/string/strcspn.c
@@ -1,3 +1,7 @@
+#if !defined(__wasm_simd128__) || !defined(__wasilibc_simd_string) || \
+ __clang_... | 6 | 2 | 0 | [{"id": "G0", "claim": "The two 128 constants used as the bitmask lookup (1..128, 1..128) should use -128 as in the original algorithm.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The upfront bitmap build may incur startup costs too heavy for... | null |
WebAssembly__wasi-libc__606 | WebAssembly/wasi-libc | 606 | defect | 93bd1f6048b163ca9b12336a4758a6f5c11c908c | bf042e23e79007f7e607a8ce2fd548f3b780f081 | Port clocks and filesystems functions to use native wasip2 operations | At this point, there should be no further uses of the preview1 component adapter for clocks and filesystems methods when __wasilibc_use_wasip2 is defined.
Also added a DEBUG option to the Makefile that enables -O0/g when DEBUG=true is passed in. | diff --git a/Makefile b/Makefile
index 19145f7ea..4f2d18e3d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,11 @@ NM ?= $(patsubst %clang,%llvm-nm,$(filter-out ccache sccache,$(CC)))
ifeq ($(origin AR), default)
AR = $(patsubst %clang,%llvm-ar,$(filter-out ccache sccache,$(CC)))
endif
+ifeq ($(DEBUG), true)
+EXTRA_C... | 15 | 13 | 9 | [{"id": "G0", "claim": "In the wasip2 path, clock() snapshots and reads the wall clock, but it should use the monotonic clock instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "instant_to_timeval computes tv_sec as ns / 1000, but it should divi... | null |
WebAssembly__wasi-libc__608 | WebAssembly/wasi-libc | 608 | defect | 41edcb99e3b6a0b6ca5d07f4a442a8f730942136 | f22bc8377a9b4a5a39062122e50710e4a9ee2ec1 | Port polling operations to wasip2 | Port poll() to use wasip2 poll method in all cases
At this point, there should be no further uses of the preview1
component adapter for polling methods (__wasi_poll_oneoff())
when __wasilibc_use_wasip2 is defined.
| diff --git a/Makefile b/Makefile
index ad5428759..bdef045a6 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,11 @@ NM ?= $(patsubst %clang,%llvm-nm,$(filter-out ccache sccache,$(CC)))
ifeq ($(origin AR), default)
AR = $(patsubst %clang,%llvm-ar,$(filter-out ccache sccache,$(CC)))
endif
+ifeq ($(DEBUG), true)
+EXTRA_C... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pollable created in clock_nanosleep is leaked and needs to be dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The PR needs better testing of pollables, but the reviewer explicitly does not gate the PR on this and ... | null |
WebAssembly__wasi-libc__611 | WebAssembly/wasi-libc | 611 | defect | 08799da37ae52955427ebec1336b49d6a8eb5051 | 3aa676dfb340521715bad9cd43e5ce6a113ea59d | Port _Exit() to use wasip2 method | WARNING: This commit edits the auto-generated files wasip2.h and wasip2.c to add the _Noreturn attribute to `exit_exit`. | diff --git a/libc-bottom-half/cloudlibc/src/libc/stdlib/_Exit.c b/libc-bottom-half/cloudlibc/src/libc/stdlib/_Exit.c
index 5e266f0b9..a2c4e0bd2 100644
--- a/libc-bottom-half/cloudlibc/src/libc/stdlib/_Exit.c
+++ b/libc-bottom-half/cloudlibc/src/libc/stdlib/_Exit.c
@@ -2,13 +2,22 @@
//
// SPDX-License-Identifier: BSD-... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment in wasip2.h noting that the exit_exit() signature has been manually edited from the generated code, so the manual _Noreturn annotation is flagged if the file is ever regenerated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WebAssembly__wasi-libc__626 | WebAssembly/wasi-libc | 626 | defect | 008d705c9d16dc9057bb6efc220fb539f1fb7fb5 | 588107fc7e2020bc87731d362816117ffd561016 | Allow calls to descriptor_table_update() to initialize descriptor table | This was breaking reads/writes to stdin/stdout/stderr.
Also check return values from init_{stdin, stdout, stderr}, although this may not help much since the return values from printf()/etc. aren't usually checked. | diff --git a/libc-bottom-half/cloudlibc/src/libc/unistd/read.c b/libc-bottom-half/cloudlibc/src/libc/unistd/read.c
index 444b64609..03556f556 100644
--- a/libc-bottom-half/cloudlibc/src/libc/unistd/read.c
+++ b/libc-bottom-half/cloudlibc/src/libc/unistd/read.c
@@ -18,8 +18,12 @@ ssize_t read(int fildes, void *buf, size... | 2 | 1 | 0 | [{"id": "G0", "claim": "The return value of descriptor_table_get_ref() in write() should also be checked so that a failed lookup returns -1 with EBADF.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The test suite should be improved so that writin... | null |
WebAssembly__wasi-libc__632 | WebAssembly/wasi-libc | 632 | defect | 74ec0e49dad349c48dd60985c849083c806f745a | 40e8e488379cb148170cfb8479eb3cbfa99a8228 | In __wasilibc_find_abspath, handle relative paths correctly | Previously, if you called __wasilibc_find_abspath("foo/a.txt"), with "foo" being a preopened directory, it would return "foo" in abs_prefix and "foo/a.txt" in relative_path. Fixed this so it correctly returns "foo" in abs_prefix and "a.txt" in relative_path. | diff --git a/libc-bottom-half/sources/preopens.c b/libc-bottom-half/sources/preopens.c
index f237cb44c..07bd90116 100644
--- a/libc-bottom-half/sources/preopens.c
+++ b/libc-bottom-half/sources/preopens.c
@@ -131,7 +131,11 @@ static int internal_register_preopened_fd(filesystem_preopens_own_descriptor_t f
/// Are the ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the stray second semicolon in the declaration `char *filename1, *filename2, *filename3, *filename4, *filename5;;` in the new test file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
WebAssembly__wasi-libc__74 | WebAssembly/wasi-libc | 74 | defect | 92eaf255a1c484e92292157ccf4d22e7d43f033e | d14693452c91d3766c11f42cef3c602346870c0f | Reactor support. | This adds support for a new "Reactor" executable model.
The "Commands" and "Reactors" concepts are introduced here:
https://github.com/WebAssembly/WASI/issues/13
A companion Clang patch, which just consists of using the new
crt1-reactor.o and Reactor-specific entry point name, is here:
https://reviews.llvm.org... | diff --git a/Makefile b/Makefile
index c6170ca88..b6788f20c 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ endif
# directories in the source tree.
BASICS_DIR = $(CURDIR)/basics
BASICS_INC = $(BASICS_DIR)/include
-BASICS_CRT_SOURCES = $(wildcard $(BASICS_DIR)/crt/*.c)
+BASICS_CRT1_SOURCE = $(BASICS_DIR)/crt/c... | 5 | 5 | 0 | [{"id": "G0", "claim": "Add `-o crt1.o` to the crt1 compile line for clarity, and avoid the `cd` by putting the output directory in the `-o` flag to get rid of the line-continuation stuff.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "reactor_s... | null |
WebAssembly__wasi-libc__759 | WebAssembly/wasi-libc | 759 | defect | 13491a59169e494eb39723de8478f7114ad6dd59 | e7c4ba8a6119892df611d13cd63b12e825f7879b | wasip3: Get pread/pwrite working | This is different than wasip2 so needed some custom implementations. | diff --git a/libc-bottom-half/cloudlibc/src/libc/unistd/pread.c b/libc-bottom-half/cloudlibc/src/libc/unistd/pread.c
index 8a501889e..901137ef8 100644
--- a/libc-bottom-half/cloudlibc/src/libc/unistd/pread.c
+++ b/libc-bottom-half/cloudlibc/src/libc/unistd/pread.c
@@ -12,6 +12,10 @@
#include <common/errors.h>
#endif
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment on the zero-byte branch of the wasip3 pread implementation says \"zero bytes were written\" where it should say \"zero bytes were read\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WebAssembly__wasi-libc__776 | WebAssembly/wasi-libc | 776 | defect | f8175564fadeac42ab87871a0e80b59d2ccbdf78 | abda87214a1e06310e3e2a427b0158bf61495cb9 | clear descriptor table in `__wasilibc_reset_preopens` | The original intention of `__wasilibc_reset_preopens` was to clear the stdio state as the last step of Wizer-style pre-initialization since none of the handles would be valid when the snapshot is resumed. In earlier versions of `wasi-libc`, which didn't have native p2 or p3 support for stdio or file I/O, resetting the... | diff --git a/expected/wasm32-wasip2/defined-symbols.txt b/expected/wasm32-wasip2/defined-symbols.txt
index 9996fa30a..6c465b9d6 100644
--- a/expected/wasm32-wasip2/defined-symbols.txt
+++ b/expected/wasm32-wasip2/defined-symbols.txt
@@ -522,6 +522,7 @@ ctanhl
ctanl
ctime
ctime_r
+descriptor_table_clear
descriptor_t... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new clear() should perhaps go ahead and free the whole table and, if it does not, the `next` field of the entries will need to be updated since it should in theory be a linked list between free entries.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
WebFreak001__code-debug__129 | WebFreak001/code-debug | 129 | defect | a7fd6a7369eaddc77494e8ec41d3180355f12bf9 | 0bd44f178d6627591a27da0631fc4320d2137b0d | Support multi-threading | Fixes #36. Not everything works perfectly, in particular non-varobj local don't have a well-defined thread, but it's a good base to build on. I'm not 100% sure about the logic behind VAR_HANDLES_START, so the current array size increase may be overkills
Also includes some odds-and-ends fixing parsing and reference p... | diff --git a/src/backend/backend.ts b/src/backend/backend.ts
index 1a04c7bc..668551e8 100644
--- a/src/backend/backend.ts
+++ b/src/backend/backend.ts
@@ -11,6 +11,11 @@ export interface Breakpoint {
countCondition?: string;
}
+export interface Thread {
+ id: number;
+ name: string;
+}
+
export interface Stack {
... | 6 | 6 | 4 | [{"id": "G0", "claim": "The unexplained change to the empty-result branch in parseMI should be justified, and a test showing what it fixes should be added to the tests file.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer hit a crash with 'T... | null |
WebLegions__typescript-fsm__24 | WebLegions/typescript-fsm | 24 | defect | dfde157a56981648daff16f4d9c4c4782f4a00db | f5c38a7bb8e47d4c0fb5922a5222015aee6561d6 | Adding toMermaid method on StateMachine with tests | Here we go, I think this is what you were expecting.
One new method on the class and one new test file.
Everything else is as it was :) | diff --git a/src/__test__/toMermaid.test.ts b/src/__test__/toMermaid.test.ts
new file mode 100644
index 0000000..dfd922f
--- /dev/null
+++ b/src/__test__/toMermaid.test.ts
@@ -0,0 +1,106 @@
+/* eslint-disable sonarjs/no-duplicate-string */
+import { t, StateMachine } from "../stateMachine";
+
+export enum States {
+ c... | 2 | 2 | 2 | [{"id": "G0", "claim": "transitions[0] is not necessarily the init state, so the diagram's `[*] -->` start marker can point at the wrong state.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The last transition's toState is not necessarily a termina... | null |
WebODM__WebODM__116 | WebODM/WebODM | 116 | defect | efd56826d4782edf06c0b9ca9b7aece4c34f8888 | 835c2dc1052f952b31c2d3e20775641dd08b37af | Bugfixes | Fixes #108 #115 #80 #110 #107.
@dakotabenjamin I plan to merge this by tomorrow, since #115 is quite critical. Let me know if you find anything that should be changed. | diff --git a/app/api/common.py b/app/api/common.py
index 8e8df1e5d6..b7abac82f4 100644
--- a/app/api/common.py
+++ b/app/api/common.py
@@ -1,6 +1,6 @@
from django.core.exceptions import ObjectDoesNotExist, SuspiciousFileOperation
from rest_framework import exceptions
-import os
+import os, zipfile
from app import ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The archive name should not be hard-coded inline in get_textured_mesh_archive; it should be factored out (e.g. into a separate method) instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
WebODM__WebODM__1816 | WebODM/WebODM | 1,816 | defect | 6da3704b9c1e1283ae08a601a4fd3c0e38a5f4c0 | d07a2ce51ab23496f9d3ca62b416ffc187463733 | Add support for CRSes not in the EPSG database | Some CRSes do not have EPSG codes, which WebODM does not handle correctly.
This PR adds support for handling CRSes that don't have an explicit EPSG code by storing the georef information as WKT when an EPSG code is not available. | diff --git a/app/api/tasks.py b/app/api/tasks.py
index 199d7085bf..b7ebdf768d 100644
--- a/app/api/tasks.py
+++ b/app/api/tasks.py
@@ -36,7 +36,7 @@
from app.security import path_traversal_check
from django.utils.translation import gettext_lazy as _
from .fields import PolygonGeometryField
-from app.geoutils import ... | 4 | 1 | 1 | [{"id": "G0", "claim": "The timeout-clear condition is inverted: `if (!this._clipboardTimeout)` clears the timeout only when it does not exist, so an existing timeout is never cleared as intended.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In ge... | null |
WebODM__WebODM__1893 | WebODM/WebODM | 1,893 | defect | 9efd7f66e90435f871b3056a56980c6f27f4d36a | 5b0d4907d57f9245c2e6e386987834e75e7c023a | OIDC Authentication | Adds support for OIDC authentication.
<img width="1119" height="483" alt="image" src="https://github.com/user-attachments/assets/2f6e86aa-42d2-4223-b307-b90b88aaef32" />
Ref #1875 | diff --git a/app/migrations/0049_profile_oidc_sub.py b/app/migrations/0049_profile_oidc_sub.py
new file mode 100644
index 0000000000..e16c87d375
--- /dev/null
+++ b/app/migrations/0049_profile_oidc_sub.py
@@ -0,0 +1,16 @@
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ depen... | 10 | 4 | 1 | [{"id": "G0", "claim": "The `hashlib` import is unused in `app/views/oidc.py`; remove it to avoid confusion and keep linting clean.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Including `client_secret` in the dict returned by `get_oidc_provid... | null |
WebODM__WebODM__1898 | WebODM/WebODM | 1,898 | defect | b0b6e41b1bc552e7c47937b2b5acff5a16960b92 | f2763ad11d03c4e28688c2293cdd9b2f30c34332 | Add custom basemaps interface | Adds support for editing the basemaps list from the Administration panel, support for WMS layers (requires EPSG:3857 CRS to be available in WMS service though).
<img width="993" height="592" alt="image" src="https://github.com/user-attachments/assets/49b92852-b961-4c02-b61f-7bc7ee2e5275" />
Closes #1761 | diff --git a/app/admin.py b/app/admin.py
index 397040cc8c..0ce170de17 100644
--- a/app/admin.py
+++ b/app/admin.py
@@ -18,6 +18,7 @@
from app.models import Plugin
from app.models import Profile
from app.models import Redirect
+from app.models import Basemap
from app.plugins import get_plugin_by_name, enable_plugin,... | 8 | 4 | 2 | [{"id": "G0", "claim": "The custom-basemap prompt text uses `{−y}` with a Unicode minus instead of the literal `{-y}` token the tile URL templating expects, so users copy/pasting it get an invalid template; replace the Unicode minus with a standard hyphen-minus.", "category": "correctness", "verdict": "uncertain", "pri... | null |
WebODM__WebODM__1943 | WebODM/WebODM | 1,943 | defect | c373a15383b42dcca0bd47c73f98e484d79784b0 | a6d5dd9918c4d6243741632347b4c48867e2fa96 | Add token impersonation | Add the ability to generate impersonated tokens with a superuser account.
| diff --git a/app/api/jwt.py b/app/api/jwt.py
new file mode 100644
index 0000000000..ef1976775f
--- /dev/null
+++ b/app/api/jwt.py
@@ -0,0 +1,79 @@
+from django.contrib.auth import authenticate
+from django.contrib.auth.models import User
+from django.utils.translation import ugettext as _
+from rest_framework_jwt.setti... | 4 | 3 | 2 | [{"id": "G0", "claim": "The impersonation path uses a bare `except:` that converts any error, including unexpected DB or logic errors, into a generic validation error; catch `User.DoesNotExist` explicitly and let other exceptions propagate.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope":... | null |
WerWolv__ImHex__615 | WerWolv/ImHex | 615 | defect | f12f10bc9e1688d88c38050893f0af53cb4398ce | db451bf6749b0e1ec589234469c454205790f2d3 | feat: Added LEB128 in data inspector | This pull request adds in the ability to inspect and edit LEB128 data in the data inspector: #605 | diff --git a/lib/libimhex/include/hex/api/content_registry.hpp b/lib/libimhex/include/hex/api/content_registry.hpp
index fbb6440f4433a..c9d9e2d7426ce 100644
--- a/lib/libimhex/include/hex/api/content_registry.hpp
+++ b/lib/libimhex/include/hex/api/content_registry.hpp
@@ -208,11 +208,13 @@ namespace hex {
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new LEB128 encode/decode helper functions should be placed in crypto.cpp/crypto.hpp rather than utils.cpp/utils.hpp.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Commented-out placeholders for the two new inspector translati... | null |
WillPower3309__swayfx__465 | WillPower3309/swayfx | 465 | defect | 514a51c14a43d0bef79a7f940a006870f3417fdf | 07bb80b722aa3195659c40881381acb07dc03352 | feat: refactor swayfx to use new blur node | support for https://github.com/wlrfx/scenefx/pull/149 | diff --git a/include/sway/layers.h b/include/sway/layers.h
index edc7e65ef..c01988337 100644
--- a/include/sway/layers.h
+++ b/include/sway/layers.h
@@ -22,6 +22,7 @@ struct sway_layer_surface {
struct sway_output *output;
struct wlr_scene_layer_surface_v1 *scene;
struct wlr_scene_tree *tree;
+ struct wlr_scene_b... | 1 | 1 | 1 | [{"id": "G0", "claim": "The blur-node configuration calls added in output_configure_scene (mask source, xray and corner radius) should be guarded by a check whether the blur node is enabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
WillPower3309__swayfx__474 | WillPower3309/swayfx | 474 | defect | ef6d169c6c6e67da36beaeeebc0f212b9d23f7fe | 361c4a11203b8280f7d8bbaf7e9a8680f6257aeb | feat: remove `enum corner_location` | Accompanying MR for https://github.com/wlrfx/scenefx/pull/156 | diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
index 85fc6472f..e325f701d 100644
--- a/sway/desktop/layer_shell.c
+++ b/sway/desktop/layer_shell.c
@@ -114,8 +114,7 @@ static void arrange_surface(struct sway_output *output, const struct wlr_box *fu
wlr_scene_node_set_position(&surface->shadow_n... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly documented range for corner_radius (\"0 to 65,535\") is incorrect per sway/commands/corner_radius.c#L12-L14, which caps it at 99.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.