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
weibocom__motan-go__308
weibocom/motan-go
308
defect
27ed50d89348b8973c71f56b33b0b0fa3a456a08
ab16a952891812a2d7408891dd261cd4c473f66f
Configure direct services through environment variables
Configure direct services through environment variables; Add additional warn info for protocol v1 exception; DirectRegistry supports specifying group; Fix some typos
diff --git a/cluster/motanCluster.go b/cluster/motanCluster.go index bb036dc9..3819941a 100644 --- a/cluster/motanCluster.go +++ b/cluster/motanCluster.go @@ -91,10 +91,12 @@ func (m *MotanCluster) initCluster() bool { m.closed = false // parse registry and subscribe - m.parseRegistry() - + err := m.parseRegistry...
1
1
0
[{"id": "G0", "claim": "The once-style locking logic in GetDirectEnvRegistry could be simplified by using sync.Once instead of the manual mutex and flag.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
weibocom__motan__124
weibocom/motan
124
defect
f9f75ce48f35b1ae53ee160f97775a3eb30bc2fd
be64b8372f1419aaa3814f8c02e513add64d402f
fix potential overflow of requestId
issue description is [here](https://github.com/weibocom/motan/issues/89). a long value representing requestId composes of two parts: 1. higher bits from 63 to 20 is system time millis 2. lower bits from 19 to 0 is offset count if offset count equals to 2^20, it will be reset to 0 and the last offset reset time is r...
diff --git a/motan-core/src/main/java/com/weibo/api/motan/util/RequestIdGenerator.java b/motan-core/src/main/java/com/weibo/api/motan/util/RequestIdGenerator.java index f2a5ccc19..dd7c7e02b 100644 --- a/motan-core/src/main/java/com/weibo/api/motan/util/RequestIdGenerator.java +++ b/motan-core/src/main/java/com/weibo/ap...
2
1
1
[{"id": "G0", "claim": "The overflow checks in getRequestId() need to use >= instead of == (both the outer count check and the inner offset.get() check against MAX_COUNT_PER_MILLIS) so that values at or beyond MAX_COUNT_PER_MILLIS are caught.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope...
null
weibocom__motan__988
weibocom/motan
988
defect
6f5d04f30f3eeaab853ecbd7b4c5d6201bc01c91
584e8af0a14a4f7be37f0d6a427f322d6889a896
print access log according to the attachment settings
print access log according to the attachment settings
diff --git a/motan-core/src/main/java/com/weibo/api/motan/common/MotanConstants.java b/motan-core/src/main/java/com/weibo/api/motan/common/MotanConstants.java index 3a1f1009..dcb4a955 100644 --- a/motan-core/src/main/java/com/weibo/api/motan/common/MotanConstants.java +++ b/motan-core/src/main/java/com/weibo/api/motan/...
2
1
0
[{"id": "G0", "claim": "The constant name ATT_PRINT_TRACE_LOG (\"print_trace_log\") uses the word \"trace\" although it only controls access-log printing, which is confusing naming.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The conditional in...
null
weld-project__weld__141
weld-project/weld
141
defect
d7b612657f54e1a0cf447c6a208ef88f5a5b3cd7
e79f6ecc2b64f37a2dd4149e6dd7721c9203da3e
[WIP] Groupmerger
This is still a work in progress. Currently, need to fill in all the parameters in Groupbuilder.ll
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index b6f66b346..504e81982 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -735,6 +735,62 @@ fn simple_for_dictmerger_loop() { unsafe { weld_value_free(ret_value) }; } +fn simple_groupmerger() { + #[derive(Clone)...
1
1
0
[{"id": "G0", "claim": "Remove the commented-out region-management lines in the `done` block of groupbuilder.ll completely, since they are dead code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
weld-project__weld__152
weld-project/weld
152
defect
9b804f0ec53193a3b0abf9987ef965bbdb7af0e9
55327edd0e4703cda583ff2a61a159a14dd49057
Support Initial Value and Products for Merger
Adds support for product-based mergers, and support for an initial value in the merger. An initial value can be passed into the merger as follows: ``` let a = merger[i32,+](100); let b = merge(a, 1); result(b) # returns 101 ``` The product merger can be used in a similar manner: ``` let a = merger[i32,...
diff --git a/.gitignore b/.gitignore index a08caef81..6d76de6b2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ target Cargo.lock .DS_Store *.swp -*.ll *.bc *.pyc *.o diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index eefc6b5f2..eeecacd1c 100644 --- a/tests/integration_tests.rs ++...
2
1
1
[{"id": "G0", "claim": "The tests are failing; fix the tests.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The added code around weld/llvm.rs line 2056 is not formatted per rust fmt.", "category": "maintainability", "verdict": "uncertain", "priori...
null
weld-project__weld__212
weld-project/weld
212
defect
ef7dcdcd73224276db00b01ea3b53b7a38025030
8a5df2897c66d0ae69862628f924c795576d8bbb
Optimizations for Appender
This implements two important optimizations for the appender: 1. vector stores when merging into an appender 2. Size inference for the appender, so space can be pre-allocated before execution.
diff --git a/weld/ast.rs b/weld/ast.rs index c63383980..fed1f546a 100644 --- a/weld/ast.rs +++ b/weld/ast.rs @@ -916,6 +916,18 @@ impl<T: TypeBounds> Expr<T> { } } + pub fn contains_symbol(&self, sym: &Symbol) -> bool { + let mut found = false; + self.traverse(&mut |ref mut e| { + ...
4
3
2
[{"id": "G0", "claim": "Add a comment on contains_symbol saying what it is looking for.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Maybe rename contains_symbol to contains_ident, since it only looks at Ident.", "category": "maintainability", "...
null
weld-project__weld__331
weld-project/weld
331
defect
ace07ad34ce203e3d630c0b19d5b9a88f814c530
66f8e4eb3f782dda402f62feb168aa4cb55412f8
Vectorization builder optimization
For a project I'm working on I needed to remove the restriction of only newbuilders in loops for them to be vectorized. More importantly, I changed the code so that not every builder is always vectorized, but only when this actually makes sense (so when there is an appender or a merger in the loop). This highly reduces...
diff --git a/weld/transforms/vectorizer.rs b/weld/transforms/vectorizer.rs index fb11bf92d..431a9423d 100644 --- a/weld/transforms/vectorizer.rs +++ b/weld/transforms/vectorizer.rs @@ -251,14 +251,35 @@ fn vectorize_expr(e: &mut Expr<Type>, broadcast_idens: &HashSet<Symbol>) -> Weld Ok(cont) } -fn vectorizable_...
2
1
1
[{"id": "G0", "claim": "Codegen may break for a struct of builders where only some elements are vectorizable, and a test case covering that partially-vectorized case should be added to verify it produces the correct answer.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
weld-project__weld__421
weld-project/weld
421
defect
d7948d937de3a327cb1586ff2a8afb498e8642f2
266029cc7b01b77bde69b8fe462b4b50a58412b4
Sort for vectors and structs, plus custom comparators
:turkey: - Replace `keyfunc` with custom comparator - Add `compare` macro to standard macros - Add default comparator BinOps (<, <=, >, >=) for vectors and structs - Implement sort call
diff --git a/tests/binop_tests.rs b/tests/binop_tests.rs new file mode 100644 index 000000000..8394a570e --- /dev/null +++ b/tests/binop_tests.rs @@ -0,0 +1,76 @@ +//! Tests for binary comparisons. + +extern crate weld; + +use weld::runtime::WeldRuntimeErrno; + +mod common; +use common::*; + +#[test] +fn simple_binop()...
21
20
6
[{"id": "G0", "claim": "The memcmp fast path could also be used for all the unsigned integer types (u8, u16, u32, u64), not just Bool/I8.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The gen_keyfunc_cmp_fn declaration and its implementation can be...
null
weld-project__weld__67
weld-project/weld
67
defect
e3eac44f744693a534161933a4125668cd9e31e2
ac4f6f8d14728a221d3d89befe2f08a4d6b1b852
VecMerger
Implements the `vecmerger` builder. This has the same constraints and semantics as the `dictmerger` and `merger`. It currently supports scalars and structs of scalars, but nothing more. Structs of scalars each use the same merge function (either `+` or `*`). Like the other builders, `*` is broken right now since the bu...
diff --git a/weld/ast.rs b/weld/ast.rs index 843f36855..52cb76d9c 100644 --- a/weld/ast.rs +++ b/weld/ast.rs @@ -78,7 +78,10 @@ impl fmt::Display for ScalarKind { pub enum BuilderKind { Appender(Box<Type>), Merger(Box<Type>, BinOpKind), + /// key_type, value_type, binop DictMerger(Box<Type>, Box<Type...
2
2
1
[{"id": "G0", "claim": "The per-test unique run IDs can be removed now, letting the tests go back to run_id: 0 with weld_run_free(-1).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A parallel vecmerger test should be added, since the new parall...
null
weld-project__weld__69
weld-project/weld
69
defect
9107ee9ec0854539c598b42f8dba5435368b4128
47581158c636b0a2aa3513895ccf00c656c14ddb
Crashing
Implement functionality to crash on errors. An error is an enum that is set by the runtime. Threads periodically check to see if a global error value is set to a non-zero value, and if it is, the threads abort and the runtime reports an error and returns a garbage value as a result. When a program crashes, all of its i...
diff --git a/cpp/parlib.cpp b/cpp/parlib.cpp index 79610262d..c638dd029 100644 --- a/cpp/parlib.cpp +++ b/cpp/parlib.cpp @@ -8,11 +8,14 @@ #include <algorithm> #include "parlib.h" -// Memory allocation functions for Weld. +// Memory allocation functions for Weld, . extern "C" void *weld_rt_malloc(int64_t run_id, s...
5
5
3
[{"id": "G0", "claim": "Remove the debug printf statements added in execute() (\"Creating %d threads\" and the one below).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On exceeding the memory limit, weld_rt_malloc/weld_rt_realloc should abort ...
null
welldone-software__why-did-you-render__106
welldone-software/why-did-you-render
106
defect
2d04a2b06be72c304c447cb824170c9898c313c4
e635a43bb804e1c9947b0d3c9d27dd45a4537437
Add support for Set objects
I am getting false positives from a component that is fetching a Set from Redux. This PR aims to provide support for JS Sets.
diff --git a/src/calculateDeepEqualDiffs.js b/src/calculateDeepEqualDiffs.js index 25c9dd38..a1119443 100644 --- a/src/calculateDeepEqualDiffs.js +++ b/src/calculateDeepEqualDiffs.js @@ -1,4 +1,4 @@ -import {isArray, isPlainObject, isDate, isRegExp, isFunction, keys as getKeys, has} from 'lodash' +import {isArray, isPl...
2
1
1
[{"id": "G0", "claim": "There is no need to re-create the Sets (new Set(a)/new Set(b)) here and below when reporting results.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Set comparison reports the wrong diff types — when a set value is missing ...
null
welldone-software__why-did-you-render__179
welldone-software/why-did-you-render
179
defect
bce39ed15daaa303aa42b245349fed1e89b4ec4e
9bedd5a747db31cb08f8c9677bd3b69040120745
support non plain objects
Added non plain object detection: 1. Verify prototypes are equal. 2. Verify all keys are the same. Wasn't sure why there's a copy of the object before sending it to `trackDiff` ([introduced here](https://github.com/welldone-software/why-did-you-render/commit/7235e62dbed1e9700a7a55563cb555d2a6b16eec)). This broke ...
diff --git a/src/calculateDeepEqualDiffs.js b/src/calculateDeepEqualDiffs.js index d9a89c3f..ecb9d0a1 100644 --- a/src/calculateDeepEqualDiffs.js +++ b/src/calculateDeepEqualDiffs.js @@ -1,7 +1,7 @@ import { isArray, isPlainObject, isDate, - isRegExp, isFunction, isSet, - keys as getKeys, has, + isRegExp, isErro...
3
3
2
[{"id": "G0", "claim": "When an Error prop is recreated between renders, it is reported as different because Error.stack differs even though the errors are identical; add a dedicated error comparison (like assert's) that runs before the comparison of objects.", "category": "correctness", "verdict": "supported", "priori...
null
wellyshen__react-cool-dimensions__747
wellyshen/react-cool-dimensions
747
defect
727eefa6d246619ecbc0510b9d65448d2f682cff
57bd759eda35a6434cb5226de46f23f06513871a
Set initial values to null
See https://github.com/wellyshen/react-cool-dimensions/issues/674#issuecomment-1235761855 ## Checklist - [x ] Documentation added - [x ] Tests - [x ] TypeScript definitions updated - [ ] Ready to be merged (examples might need update)
diff --git a/.gitignore b/.gitignore index 4f9d6bea..202bc95a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ node_modules dist coverage -.size-snapshot.json \ No newline at end of file +.size-snapshot.json + +.idea diff --git a/README.md b/README.md index 7fd3bb7d..ca5fa2ed 100644 --- a/README.md +++ b/REA...
3
3
2
[{"id": "G0", "claim": "The `.idea` entry added to .gitignore is unnecessary; the original .gitignore file should be kept.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "No test case has been added for the specific \"null\" default-value case th...
null
wenyuanw__quick-prompt__58
wenyuanw/quick-prompt
58
defect
9cc04980dc7f084d91fcff90ff742289a3f2f0e6
6626ff8bfba19d8177f0357af5ec18e1f568f9b9
feat: improve attachment upload and image preview UX
主要修改内容: - 将附件存储方式选择从设置页强制拦截,调整为首次点击上传附件时弹窗提示。 - 附件上传后在编辑列表中展示图片缩略图。 - 优化 `/p` 提示词弹窗中的图片附件展示,不再显示图片名称、大小和额外外层边框。 - 点击提示词图片时打开独立大图预览层,不触发提示词插入;点击其他区域保持原有插入逻辑。 - 移除 popup 和设置页中 Quick Prompt 图标的外层圆角/阴影样式。 - 重命名提示词来源 URL 相关 UI 文案 key,并更新中英文翻译。
diff --git a/entrypoints/content/components/PromptAttachmentPreview.tsx b/entrypoints/content/components/PromptAttachmentPreview.tsx index 1249a2e..f69a1ad 100644 --- a/entrypoints/content/components/PromptAttachmentPreview.tsx +++ b/entrypoints/content/components/PromptAttachmentPreview.tsx @@ -1,4 +1,5 @@ import Rea...
1
1
0
[{"id": "G0", "claim": "The URL field is still bound to thumbnailUrl (input id/state and thumbnail preview) while its label and placeholder now use the promptSourceUrl* i18n keys, making the UI copy misleading; please align naming with the actual semantics — either keep thumbnailUrl* messaging or introduce a separate p...
null
wenzhixin__bootstrap-table__5528
wenzhixin/bootstrap-table
5,528
defect
97b79cf1868399fbb2ab0c8d9f4e4b04b63502e3
e70aef88337bb6b2cf42f969e824a3253d8bbf93
Feature/cypress test
**Bug fix?** no **New Feature?** yes **Resolve an issue?** no <!-- Love bootstrap-table? Please consider supporting our collective: 👉 https://opencollective.com/bootstrap-table/donate -->
diff --git a/.travis.yml b/.travis.yml index 35af09b273..9bbcb28222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,31 @@ jobs: node_js: - 12 name: "Lint src and check docs" + cache: + npm: true + directories: + - ~/.cache script: - cd tools ...
2
1
1
[{"id": "G0", "claim": "Running the Cypress tests yields a 404 for each test, and the pull request does not explain what setup (e.g. a symlink) is needed to run them locally.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Cypress CI stage clones the c...
null
wenzhixin__bootstrap-table__5583
wenzhixin/bootstrap-table
5,583
defect
021768e6b7344d34d23a2f68fca2170f80370d26
b831ecb9142ff99f8cff0e457c1394914a599764
Improving filter control
Improving filter control extension Default options: - [x] filterControl - [x] filterControlVisible - [x] onColumnSearch - [x] onCreatedControls - [x] alignmentSelectControlOptions: - [x] filterTemplate - [x] disableControlWhenSearch (removed) - [x] searchOnEnterKey - [x] showFilterControlSwitch - [x] fil...
diff --git a/site/docs/extensions/filter-control.md b/site/docs/extensions/filter-control.md index fb79c78504..2a8da98b7f 100644 --- a/site/docs/extensions/filter-control.md +++ b/site/docs/extensions/filter-control.md @@ -6,8 +6,6 @@ group: extensions toc: true --- -Dependence if you use the datepicker option: [bo...
29
18
9
[{"id": "G0", "claim": "The new filter controls have a CSS problem (shown in a screenshot) for which the author asks the reviewers' help.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docs should state at the top of the page that filter-control may ...
null
wenzhixin__bootstrap-table__8126
wenzhixin/bootstrap-table
8,126
defect
6a37cd3c792a52e48659ef6086dcae5ef65baf50
6d94a37a8280f790bc44d7f20abc3bfcdc323ec7
Add EventHelper class with delegation and trigger methods
**🤔Type of Request** - [ ] **Bug fix** - [ ] **New feature** - [x] **Improvement** - [ ] **Documentation** - [ ] **Other** **📝Changelog** Add EventHelper class with delegation and trigger methods **☑️Self Check before Merge** ⚠️ Please check all items below before reviewing. ⚠️ - [x] Doc is update...
diff --git a/src/utils/events.js b/src/utils/events.js new file mode 100644 index 0000000000..119afe27cb --- /dev/null +++ b/src/utils/events.js @@ -0,0 +1,321 @@ +/** + * Bootstrap Table Event System Utility Library + * Provides jQuery-style event handling APIs using native JavaScript + */ + +import DOMHelper from './...
12
11
9
[{"id": "G0", "claim": "The JSDoc @returns tags on EventHelper methods say 'The element itself'/'The parent element' although the methods can return null when the element is missing or a selector matches nothing, so they should be documented as {Element|null}.", "category": "documentation", "verdict": "supported", "pri...
null
wenzhixin__bootstrap-table__8232
wenzhixin/bootstrap-table
8,232
defect
fb75e0308156fe2e8ec82fd763126d448ca6a6ff
53344bd604fb4e74b65767c7eb9c75b06b78ab3a
Fixed toolbar DOM node button handling and add isDomNode utility
**🤔Type of Request** - [ ] **Bug fix** - [x] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** <!-- Please prefix each issue number with "Fix #" (e.g. Fix #200) --> **📝Changelog** <!-- The type of the change. ---> - [x] **Core** - [ ] **Extensio...
diff --git a/cypress/common/options.js b/cypress/common/options.js index ad78eff027..37a27cded1 100644 --- a/cypress/common/options.js +++ b/cypress/common/options.js @@ -94,10 +94,19 @@ module.exports = (theme = '') => { }) testIf('Buttons Custom', () => { + const stub = cy.stub() + + cy.on('wind...
10
10
4
[{"id": "G0", "claim": "Non-string buttonConfig.html values (jQuery-like objects) are pushed into html unconverted, so they may render as \"[object Object]\" because html.join('') and the instanceof Node path do not handle jQuery objects; the reviewer asks to normalize non-string button HTML into actual Nodes (e.g. via...
null
wenzhixin__bootstrap-table__8283
wenzhixin/bootstrap-table
8,283
defect
ebe1a2af168f055b980235e2f0cc9659f24b0477
d93064de78499df7b191bbc8c326e038ca186468
fix: simplify isCollapsed to support function and array via Utils.calculateObjectValue
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** <!-- Please prefix each issue number with "Fix #" (e.g. Fix #200) --> **📝Changelog** <!-- The type of the change. ---> - [x] **Extensions** <!-- Describe changes f...
diff --git a/src/extensions/group-by-v2/bootstrap-table-group-by.js b/src/extensions/group-by-v2/bootstrap-table-group-by.js index a7e2d0ff2c..40505029f6 100644 --- a/src/extensions/group-by-v2/bootstrap-table-group-by.js +++ b/src/extensions/group-by-v2/bootstrap-table-group-by.js @@ -275,18 +275,12 @@ BootstrapTable....
1
1
1
[{"id": "G0", "claim": "With the new implementation, if groupByCollapsedGroups is configured as a string (common when set via data-* attributes) or as a plain object, Utils.calculateObjectValue returns a truthy result so isCollapsed will collapse all groups, where previously non-function/non-array values returned false...
null
wenzhixin__bootstrap-table__8286
wenzhixin/bootstrap-table
8,286
defect
04b068c63be6b55ebe4c8ca8b70ec6e2c7aa47e7
d996f600fe456ff6cc31d56eff4e01f72fb7ca3e
Add export extension Cypress tests
**🤔Type of Request** - [ ] **Bug fix** - [ ] **New feature** - [x] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** <!-- Please prefix each issue number with "Fix #" (e.g. Fix #200) --> **📝Changelog** <!-- The type of the change. ---> - [ ] **Core** - [x] **Extensions** <!-- Desc...
diff --git a/cypress/e2e/extensions/export/options/index.cy.js b/cypress/e2e/extensions/export/options/index.cy.js new file mode 100644 index 0000000000..f6abad90a1 --- /dev/null +++ b/cypress/e2e/extensions/export/options/index.cy.js @@ -0,0 +1 @@ +require('../../../../extensions/export/options')() diff --git a/cypres...
8
8
3
[{"id": "G0", "claim": "Cypress.on('uncaught:exception', () => false) disables Cypress's failure mechanism for all uncaught exceptions in this spec, so real regressions could pass unnoticed; prefer filtering only the known/expected error.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "intr...
null
wenzhixin__bootstrap-table__8298
wenzhixin/bootstrap-table
8,298
defect
7b1441aaef28675eeb443f8e7dd3c450cc1beb67
3dde2e0b3a97f09ee532daeb66816b06b5cbfafd
Fix table layout breaking when sorting rows with rowspan
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Fix #3462 **📝Changelog** - [x] **Core** - [ ] **Extensions** Flatten rowspan cells before sorting to prevent table layout from breaking. **💡Example(s)?** - Before (...
diff --git a/src/modules/data.js b/src/modules/data.js index 4cdc2f86e..2cb9e7099 100644 --- a/src/modules/data.js +++ b/src/modules/data.js @@ -186,6 +186,10 @@ export default { }) } + if (Utils.checkAutoMergeCells(this.data)) { + Utils.flattenRowspanCells(this.data) + } + if ...
5
4
4
[{"id": "G0", "claim": "flattenRowspanCells processes any key ending with `_rowspan`, so real data fields like `foo_rowspan` can be treated as merge metadata and the child cleanup deletes the wrong key; restrict processing to the underscored `_..._rowspan` metadata keys and delete keys consistently.", "category": "corr...
null
wenzhixin__bootstrap-table__8302
wenzhixin/bootstrap-table
8,302
defect
ce22930ccc6f42b61be9f71712be4adf2580d272
9d33c2c3c6eab2da83ab508fa10d4b1eefe7eecc
Remove IE9 polyfill and add tests for reorder-columns extension
**🤔Type of Request** - [ ] **Bug fix** - [ ] **New feature** - [x] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Close #5187 **📝Changelog** - [ ] **Core** - [x] **Extensions** - Removed obsolete IE9 `Array.filter` polyfill from reorder-columns extension - Added defensive null che...
diff --git a/cypress/common/extensions/reorder-columns.js b/cypress/common/extensions/reorder-columns.js new file mode 100644 index 0000000000..e82e3c92c2 --- /dev/null +++ b/cypress/common/extensions/reorder-columns.js @@ -0,0 +1,57 @@ +module.exports = (theme = '') => { + const baseUrl = require('../utils')(theme, '...
1
1
0
[{"id": "G0", "claim": "The shared reorder-columns Cypress test module should live under cypress/extensions/reorder-columns/ instead of cypress/common/extensions/, with the spec's require path updated to match, so extension tests stay consistent and discoverable with the existing pattern.", "category": "maintainability...
null
wenzhixin__bootstrap-table__8305
wenzhixin/bootstrap-table
8,305
defect
cf79bcff279ffcb888f03d46add9bf338ca6fc93
1206e782dab624382ba90ea3fd06bf84717e0fae
Fix fixedColumns hover conflict with CSS transitions
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Fix #5425 (part 4) **📝Changelog** - [ ] **Core** - [x] **Extensions** Fixed `fixedColumns` hover not working when CSS transitions are applied to `.table-hover` rows. ...
diff --git a/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js b/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js index ea5f6548ad..0d99c3b01a 100644 --- a/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js +++ b/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js @@ -294,7...
2
2
2
[{"id": "G0", "claim": "The new .hover-row rule hard-codes a background color and applies it to td, which can break theme-dependent hover colors and CSS transitions on tr; it should reuse the same hover styling mechanism as :hover (same element/property) and avoid the hard-coded color.", "category": "correctness", "ver...
null
wenzhixin__bootstrap-table__8325
wenzhixin/bootstrap-table
8,325
defect
0d45e4b5fadb1db0af4c117db8ca3cceefcf6949
79178fb092036b2dbbdc87f18b3d07a3a6a576e4
Add rowStyle and cellStyle support for print extension
**🤔Type of Request** - [ ] **Bug fix** - [x] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Fix #7511 **📝Changelog** - [ ] **Core** - [x] **Extensions** * Added `rowStyle` support for print output * Added `cellStyle` support for print outpu...
diff --git a/site/src/pages/docs/extensions/print.mdx b/site/src/pages/docs/extensions/print.mdx index 4e3d2c51c..631b4353c 100644 --- a/site/src/pages/docs/extensions/print.mdx +++ b/site/src/pages/docs/extensions/print.mdx @@ -91,6 +91,10 @@ printPageBuilder: function(table, styles) { div.bs-table-print { ...
14
13
8
[{"id": "G0", "claim": "When a rowStyle callback returns both css and classes, the print row keeps only the inline style and drops the classes, so print output diverges from on-screen rendering.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pri...
null
wenzhixin__bootstrap-table__8328
wenzhixin/bootstrap-table
8,328
defect
6c0488d8477b53ce6c10f2ec9e8aaa66b5ccf3c4
b8329639fac206469f4c77befb6983d6585f2406
Fix print footer error with rowspan/colspan columns
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Fix #5442 **📝Changelog** <!-- The type of the change. ---> - [ ] **Core** - [x] **Extensions** <!-- Describe changes from the user side. --> Skip col...
diff --git a/src/extensions/print/bootstrap-table-print.js b/src/extensions/print/bootstrap-table-print.js index a9e29b21f..6bf514eb7 100644 --- a/src/extensions/print/bootstrap-table-print.js +++ b/src/extensions/print/bootstrap-table-print.js @@ -294,6 +294,8 @@ $.BootstrapTable = class extends $.BootstrapTable { ...
2
2
2
[{"id": "G0", "claim": "The footer columns list should be a filtered, sorted leaf-columns list (excluding colspanGroup > 0, ordered by colspanIndex) built before calling Utils.trToData and used for both that call and the footer <th> loop, since flat(1) order can misalign footer cells with fields and trToData can throw ...
null
wenzhixin__bootstrap-table__8329
wenzhixin/bootstrap-table
8,329
defect
3e65e91d195ffcb55249b81feecb24293f716817
96333f27ef8c0648ec13701fa69a56c07da74d16
Fix print window closing before print dialog completes
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** **📝Changelog** - [ ] **Core** - [x] **Extensions** Fixed print window closing immediately in Chrome when running inside an iframe. The print dialog was ...
diff --git a/src/extensions/print/bootstrap-table-print.js b/src/extensions/print/bootstrap-table-print.js index 6315df87d..7f3167d02 100644 --- a/src/extensions/print/bootstrap-table-print.js +++ b/src/extensions/print/bootstrap-table-print.js @@ -343,8 +343,10 @@ $.BootstrapTable = class extends $.BootstrapTable { ...
3
2
1
[{"id": "G0", "claim": "window.open('') can return null (e.g., popup blockers) while the code calls newWin.focus()/newWin.print() unconditionally, which will throw and prevent printing; guard for a falsy newWin and fail gracefully (e.g., return early with a clear warning/error).", "category": "correctness", "verdict": ...
null
wenzhixin__bootstrap-table__8343
wenzhixin/bootstrap-table
8,343
defect
113edf0b73049ebc5cc3813350dab5b00a5fa0a1
1af1af0eaf9e7bc3e35811fde788171a224906f8
Fix table rendering when initially hidden with fixed height
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Fix #8149 **📝Changelog** - [x] **Core** - [ ] **Extensions** Fix table rendering issue when the table is initially hidden (e.g., in a tab or collapsed ...
diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index a7ad7386c..cbbf469f3 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -23,7 +23,8 @@ class BootstrapTable { this.$el_ = this.$el.clone() this._timeoutId = { header: 0, - footer: 0 + footer: 0, + resetVi...
6
6
4
[{"id": "G0", "claim": "initHeader can run repeatedly while the table stays hidden and each run overwrites this._resizeObserver without disconnecting the previous observer, which can leak observers and cause duplicate callbacks; disconnect and null any existing observer (or gate creation) before making a new one.", "ca...
null
wenzhixin__bootstrap-table__8344
wenzhixin/bootstrap-table
8,344
defect
ab7a10b6fc4c6feac8e7721db55b254d171a9797
acfd08ade1009fb073cfc49c6400d6404fbc93ae
Fix HTML labels display in checkbox dropdowns
**🤔Type of Request** - [x] **Bug fix** - [ ] **New feature** - [ ] **Improvement** - [ ] **Documentation** - [ ] **Other** **🔗Resolves an issue?** Fix #8338 **📝Changelog** - [x] **Core** Display HTML content as-is in checkbox labels instead of escaping it. This fixes the regression where column title...
diff --git a/src/utils/checkbox.js b/src/utils/checkbox.js index a19a654ee..a55ddd4d8 100644 --- a/src/utils/checkbox.js +++ b/src/utils/checkbox.js @@ -1,4 +1,4 @@ -import { escapeAttr, escapeHTML } from './string.js' +import { escapeAttr } from './string.js' import { getBootstrapVersion } from './framework.js' /*...
2
1
1
[{"id": "G0", "claim": "Checkbox and dropdown labels are interpolated into the returned HTML without escaping, so untrusted label content could inject arbitrary HTML/JS (XSS) and the components bypass the table-level escape/escapeTitle behavior; the reviewer asks for escaping by default (or pre-escaped caller input) wi...
null
wepay__waltz__107
wepay/waltz
107
defect
69d2d82befae452448bc31c755460a67f288950e
89567412acc6d91939f01d6d870859c5ecb5dd08
PerformanceCli-client-creation-with-up-to-date-highwatermark
**D**escription: If we want to run the ducktape tests back to back then one of the downside is the client should catch up to the latest transaction on the Waltz (while mounting) and this takes up time based on number of transactions written to Waltz. In order to avoid the waste of time (while mounting) and also to a...
diff --git a/waltz-test/src/main/python/waltz_ducktape/services/cli/performance_cli.py b/waltz-test/src/main/python/waltz_ducktape/services/cli/performance_cli.py index 273dc7d4..0f896c2b 100644 --- a/waltz-test/src/main/python/waltz_ducktape/services/cli/performance_cli.py +++ b/waltz-test/src/main/python/waltz_duckta...
12
12
0
[{"id": "G0", "claim": "The new option's identifiers are unintuitive: rename the updateClientHighWaterMark variable, the up_to_date_watermark long option (including the cmd.hasOption checks and the corresponding python flags) and the \"uc\" Option.builder shorthand so they convey mounting from the latest high water mar...
null
wepay__waltz__118
wepay/waltz
118
defect
3e49f9c578c998afed55423469000c63b5952f9b
12a13621802743b0107f5d5e3b31f9d59689ec0b
Update SSL parsing in the Cli's
Currently, some ServerCli and ClusterCli's are expecting the ssl config to be parsed in "client.ssl" format. Fixed this behavior as these cli's are/mostly executed from the WaltzServer and WaltzStorage nodes and they won't have the ssl config in that format. After changes, here is the expected ssl parsing format for...
diff --git a/waltz-test/src/main/java/com/wepay/waltz/test/util/IntegrationTestHelper.java b/waltz-test/src/main/java/com/wepay/waltz/test/util/IntegrationTestHelper.java index f62f1743..1449a0ef 100644 --- a/waltz-test/src/main/java/com/wepay/waltz/test/util/IntegrationTestHelper.java +++ b/waltz-test/src/main/java/co...
2
1
0
[{"id": "G0", "claim": "The convenience overload createProperties is not needed; keep only the generic createProperties and pass WaltzClientConfig.CLIENT_SSL_CONFIG_PREFIX at each call site.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewe...
null
wepay__waltz__129
wepay/waltz
129
defect
90f9948fcd5871ec2cfc4e21f1de188d1f16f6b9
a44f6451f6f28a3661b67a194764ad33cd7c3544
ZooKeeperCli assign/unassign multiple partitions
- Updated assign-partition, and unassign-partition commands in ZooKeeperCli to accept multiple partitions as comma separated integer ranges. - Changes in partitions set of the given storage node are sent to ZooKeeper as a single update thus minimizing the number of watcher notifications to the Waltz Server. - `-p 0-1...
diff --git a/waltz-common/src/main/java/com/wepay/waltz/common/metadata/StoreMetadata.java b/waltz-common/src/main/java/com/wepay/waltz/common/metadata/StoreMetadata.java index d82f8d6e..8be2e94d 100644 --- a/waltz-common/src/main/java/com/wepay/waltz/common/metadata/StoreMetadata.java +++ b/waltz-common/src/main/java/...
1
1
0
[{"id": "G0", "claim": "In the duplicate-check inside assignPartitions, the error message formats the single loop variable partitionToAssign rather than the full partitionsToAssign list, and the for-loop around the check is unnecessary.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "in...
null
wepay__waltz__133
wepay/waltz
133
defect
f856817d1c33e9d4a90dc8d672572c96076f11de
21c95b1cc676574d8794ce3fe671dcec10fb72ec
Add/remove preferred partitions to allow batch update
Pull request for adding and removing preferred partitions in batches to discuss the initial changes
diff --git a/waltz-client/src/main/java/com/wepay/waltz/client/internal/InternalRpcClient.java b/waltz-client/src/main/java/com/wepay/waltz/client/internal/InternalRpcClient.java index 1ee2bc36..b97d6ee5 100644 --- a/waltz-client/src/main/java/com/wepay/waltz/client/internal/InternalRpcClient.java +++ b/waltz-client/sr...
8
8
1
[{"id": "G0", "claim": "The new list-typed field `partitionId` in AddPreferredPartitionRequest and RemovePreferredPartitionRequest should be named `partitionIds` (or `partitions`), with every usage updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
wepay__waltz__151
wepay/waltz
151
defect
4f606d1f2ab9cbe45a8c871f01e6119676f4aa00
eb68fa3df382e62051a79b4ef2879f00d01e73a6
Added multi-partition support for StorageCli
Multi-partition support added for following commands: add-partition, availability, remove-partition. Test cases modified to test this functionality. **This PR is dependent on:** https://github.com/wepay/riff/pull/18 and **won't build before riff version 2.4.7 is introduced** To test this change locally before...
diff --git a/build.gradle b/build.gradle index 10882191..4b08ecfe 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ project.ext { assertjVersion = '3.8.0' zkToolsVersion = '0.7.3' yamlVersion = '1.20' - riffVersion = '2.4.6' + riffVersion = '2.4.7' jacksonVersion = '2.9.6' je...
8
5
1
[{"id": "G0", "claim": "Remove the word 'preferred' from the partition option description (and similarly at other places) because it might be confused with the 'preferred partitions' terminology used in the WaltzServer.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
wepay__waltz__167
wepay/waltz
167
defect
2382884e3aab4a003478bdad4a1715cc58cc578a
c6b3eb8e6aca01c13695e08eabc806408f699949
Client connection ordered by generation & seq number
**Aim to fix:** We observed time related error when Waltz server is pushed from a cluster and rejoins quickly cluster again once connection to ZooKeeper is resumed. If partition mounting happens with the same seqNum number as was before the connection interruption, it is possible that WaltzServerHandler.OnChannelInacti...
diff --git a/waltz-server/src/main/java/com/wepay/waltz/server/internal/Partition.java b/waltz-server/src/main/java/com/wepay/waltz/server/internal/Partition.java index 26d72b9..7678da3 100644 --- a/waltz-server/src/main/java/com/wepay/waltz/server/internal/Partition.java +++ b/waltz-server/src/main/java/com/wepay/walt...
1
1
0
[{"id": "G0", "claim": "The rename of setPartitionClient to registerLatestPartitionClient lacks a specific reason; the method should keep its original name setPartitionClient.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
wepay__waltz__168
wepay/waltz
168
defect
8d38c5f08a246a8ddfb07e542d469d5d4236f0be
0be3cf381ed560bf57e9402463f8bde4e777abb1
Added server partitions health validation check as part of ClusterCli.Verify
**Goal:** Empower ClusterCli.Verify with an additional check. The check connects to all servers in a cluster and gets health status of partitions assigned to every server. This provides the benefit of on demand check of all servers /health endpoints. New MessageCodecV4 introduced with 2 new message types: - SERVE...
diff --git a/waltz-client/src/main/java/com/wepay/waltz/client/internal/InternalRpcClient.java b/waltz-client/src/main/java/com/wepay/waltz/client/internal/InternalRpcClient.java index b97d6ee5..4e7cbce5 100644 --- a/waltz-client/src/main/java/com/wepay/waltz/client/internal/InternalRpcClient.java +++ b/waltz-client/sr...
2
2
0
[{"id": "G0", "claim": "The added System.out.println(partitionHealthStats) debug log statement in WaltzServerHandler is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ClusterCli should not re-initialize rpcClie...
null
wepay__waltz__40
wepay/waltz
40
defect
ba42cd51865d19046af2256b55696853800c694b
378a0af80fc0532ea29dbaa044723025a44f0801
added onApplication and onLockFailure to TransactionContext
This PR adds two new callback methods to `TransactionContext` 1. onApplication() 2. onLockFailure() `onApplication()` is called when the transaction generated by the transaction context is applied to the client database through `WaltzClientCallbacks.applyTransaction()`. `onLockFailure()` is called when an append ...
diff --git a/waltz-client/src/main/java/com/wepay/waltz/client/TransactionContext.java b/waltz-client/src/main/java/com/wepay/waltz/client/TransactionContext.java index 93c5d0cd..42b13440 100644 --- a/waltz-client/src/main/java/com/wepay/waltz/client/TransactionContext.java +++ b/waltz-client/src/main/java/com/wepay/wa...
4
3
0
[{"id": "G0", "claim": "Fix the javadoc typo in TransactionContext.onLockFailure: \"is call\" should read \"is called\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It would be useful if the application could decide whether or not to retry a lo...
null
wepay__waltz__66
wepay/waltz
66
defect
0cd06fa0ee3b7f847f9d4d81636ec2322f61cee9
957652440c85d102d22aacbbccc864be5b576e9e
Implementation of Check Connectivity CLI.
Cases Handled: - Case 1: All servers and storage nodes are up and running fine. Output would be: <server_endpoint1>, <storage_connect_string1> : true <storage_connect_string2> : true - Case 2: Storage nodes are down. Output would be: <server_endpoint1>, <storage_connect_string1> : false <storage...
diff --git a/waltz-client/src/main/java/com/wepay/waltz/client/WaltzClient.java b/waltz-client/src/main/java/com/wepay/waltz/client/WaltzClient.java index 8456a834..8fd7405e 100644 --- a/waltz-client/src/main/java/com/wepay/waltz/client/WaltzClient.java +++ b/waltz-client/src/main/java/com/wepay/waltz/client/WaltzClien...
14
12
6
[{"id": "G0", "claim": "The check-connectivity CLI should return 0 with no output when connectivity is good, unless a -v/--verbose flag is passed, and report failures loudly (e.g. unreachable storage nodes on stderr with a non-zero exit).", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introdu...
null
wepay__waltz__93
wepay/waltz
93
defect
7831399760d1191acf69e7ef66dae68caddb333e
9daacbb42f34748b3c81ee06d71f466f9ea75724
Create new StoreSessions on replica assignment changes
1. On replica assignment change watcher events, close old store sessions and create new sessions on replica assignment changes. 2. Creating new sessions will trigger recovery which results in updates to replicastates info in the ZooKeeper. 3. Earlier, this was done on the next write. However, if writes are not happen...
diff --git a/waltz-server/src/main/java/com/wepay/waltz/server/WaltzServer.java b/waltz-server/src/main/java/com/wepay/waltz/server/WaltzServer.java index eecb9b7d..256b36b5 100644 --- a/waltz-server/src/main/java/com/wepay/waltz/server/WaltzServer.java +++ b/waltz-server/src/main/java/com/wepay/waltz/server/WaltzServe...
2
1
0
[{"id": "G0", "claim": "Add a comment in IntegrationTestHelper explaining why the smaller test cache sizes were chosen (e.g. that the defaults make tests need much more memory) so the reasoning is not lost.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
wesleytodd__express-openapi__42
wesleytodd/express-openapi
42
defect
078c6462da19167e8e1c531a8722e626d4f87e21
f33f139fda1831f08bb6e78d78835e4d2107bc22
Use ajv-formats to support OpenAPI string formats: "date", "password", etc...
"date" and other [OpenAPI formats](https://swagger.io/docs/specification/data-models/data-types/#format) were being ignored. Entries like this one were shown in the logs: > unknown format "date" ignored in schema at path "#/properties/body/properties/Birthdate/anyOf/1" Used [ajv-formats](https://ajv.js.org/packag...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3178aac..157b374 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version...
2
2
1
[{"id": "G0", "claim": "Please don't drop a tested Node.js version (12.x) from the CI test matrix in a feature PR.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please don't reformat the 'header' case block in lib/validate.js (block braces replacing th...
null
wesleytodd__express-openapi__45
wesleytodd/express-openapi
45
defect
e559310cea49a08a87b6b92a8d72d8bce6767d4c
3242cc42134f0136c903f727fc2004ccd3e90fc9
Feat: add support for base path handling
This PR is in reference to and closes #33. This is the simplest form of the changes required to make this work for Unleash's use case for this library. It accepts an optional basePath argument and uses that to strip the leading paths for any paths it writes. However, it only handles the simplest case, because tha...
diff --git a/README.md b/README.md index 2ead432..e0543b4 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,7 @@ Options: - `options <object>`: Options object - `options.coerce`: Enable data type [`coercion`](https://www.npmjs.com/package/ajv#coercing-data-types) - `options.htmlui`: Turn on serving `redoc` o...
5
4
3
[{"id": "G0", "claim": "Paths are duplicated in the generated document when the package runs against Unleash locally, and the author wants that addressed before merge.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Having to thread basePath through ...
null
wesleytodd__express-openapi__63
wesleytodd/express-openapi
63
defect
e3b4d2f3c9f827c5027faf1cd4fd23d8810878da
846b035c4d1f24bf86fc5f96807e5b21673b9a9b
Add support for regex wildcard group
Looking at Route Paths in https://expressjs.com/en/guide/routing.html, Express supports routes such as `/ab?cd` and `/ab*cd`; however, when trying to implement `/ab/cd(*)` (which is mentioned in [this issue](https://github.com/expressjs/express/issues/2495)), you would receive the following error: `Invalid regular expr...
diff --git a/lib/generate-doc.js b/lib/generate-doc.js index 803f132..4d0790e 100644 --- a/lib/generate-doc.js +++ b/lib/generate-doc.js @@ -29,7 +29,11 @@ module.exports = function generateDocument (baseDocument, router, basePath) { if (routeLayer && routeLayer.keys && routeLayer.keys.length) { const k...
2
2
0
[{"id": "G0", "claim": "Add a comment explaining the dense condition that infers an anonymous wildcard parameter by comparing offsets, since it took the reviewer several reads to follow.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the ar...
null
wesm__middleman__134
wesm/middleman
134
defect
74a1ce8cad575e92b51fdd269a1e3a24526d296b
249c7c1b0a65d8ae1c4e5d347837f63ca564e429
feat: add compose helper tasks
- add mise tasks for local docker compose development - mount host middleman config read-only while keeping sqlite in docker volume - stop compose dev services promptly on shutdown with signal-aware entrypoints
diff --git a/README.md b/README.md index 4948739c03..f3e48cd91e 100644 --- a/README.md +++ b/README.md @@ -207,6 +207,23 @@ make dev # Go server on :8091 with live reload make frontend-dev # Vite on :5174, proxies /api to Go ``` +### Docker Compose dev stack + +Use the `mise` tasks to manage compose st...
7
3
2
[{"id": "G0", "claim": "The backend proxy still forwards 18091 to 127.0.0.1:18090 while with the default/host config the backend typically listens on 8091, so backend:18091 stops reaching the app and the compose stack fails its healthcheck unless the host config sets port = 18090.", "category": "correctness", "verdict"...
null
wesnoth__wesnoth__10045
wesnoth/wesnoth
10,045
defect
00b6d143797ba8b912d976b232799237b4ce9e79
231b55fda4e0306fe420ac4ec2412250599646bd
Port FPS viewer to GUI2
Splits the FPS viewer out of the display class and into its own modeless dialog. This serves as a proof-of-concept for further modeless GUI in-game dialogs. Admittedly, it only works because I explicitly disconnect it from the UI event context, since it doesn't need to receive events. This also introduces a new `tra...
diff --git a/data/gui/themes/default/dialogs/fsp_report.cfg b/data/gui/themes/default/dialogs/fsp_report.cfg new file mode 100644 index 0000000000000..5b35315c77cef --- /dev/null +++ b/data/gui/themes/default/dialogs/fsp_report.cfg @@ -0,0 +1,106 @@ +#textdomain wesnoth-lib + +#define _GUI_LABEL _ID _LABEL + [column] +...
3
3
3
[{"id": "G0", "claim": "The fixup's ifdef structure is broken so that FPS history data is only inserted and never removed unless DUMP_FPS_TO_FILE is defined.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The new dialog's cfg file should be named fps_r...
null
wesnoth__wesnoth__10166
wesnoth/wesnoth
10,166
defect
f0559d66397e57e676d957711fbeeb95956f60de
586e357a09f92cd008d478651a2be392c4dddd67
filesystem: simplify to_asset_path
Uses `boost::filesystem::path` and the `filesystem::is_prefix` method to improve the `filesystem::to_asset_path` method, hopefully improving cross-platform compatibility. Resolves #9579
diff --git a/src/filesystem.cpp b/src/filesystem.cpp index d52adc2cc51d3..687b5ef1a079e 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -17,6 +17,7 @@ * @file * File-IO */ +#include <boost/filesystem/operations.hpp> #define GETTEXT_DOMAIN "wesnoth-lib" #include "filesystem.hpp" @@ -1431,36 +1432,3...
6
5
2
[{"id": "G0", "claim": "to_asset_path should not call get_dir, since — despite its name — get_dir creates a directory and looks specific to its use in get_cache_dir.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The newly added #include <boost/filesys...
null
wesnoth__wesnoth__10422
wesnoth/wesnoth
10,422
defect
518e0f2ef3403e660cfeba1b599cb2454e51ac0d
572de752da84bb1aba5b2d21805dc940714c47ed
Improve UI test
Compare an error code instead of a tstring, the latter of which may change at any point, and is not very obvious. Also bad design pattern. (Opened for CI run)
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 7fbc1fdaa4457..f30c95b529fd6 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -908,7 +908,8 @@ void window::layout() throw wml_exception( _("Failed to show a dialog, which doesn’t fit on the screen."), - sst...
1
1
0
[{"id": "G0", "claim": "soliton- asks whether the arbitrary GUI_LAYOUT_FAILURE enum value of -4 has any significance, implying it should be changed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wesnoth__wesnoth__10442
wesnoth/wesnoth
10,442
defect
000731700a36d00c1f699e90f283d7c31140a34f
d87a01e9c79caa57c6f6cf3ed4c29ba8dd606ad8
Preprocessor: clean up preproc_map input handling
- Add preprocess_file and preprocess_string overloads taking a preproc_map reference instead of a defaulted pointer argument. No longer need to take the address of every defines map we pass in. - Make preprocess_string return the stream to match preprocess_file - Remove unused `default_defines_` member from from prep...
diff --git a/src/config_cache.cpp b/src/config_cache.cpp index 99b0b9fb0ebad..2e23158f47160 100644 --- a/src/config_cache.cpp +++ b/src/config_cache.cpp @@ -150,7 +150,7 @@ std::pair<config, preproc_map> config_cache::read_configs(const std::string& fil config config_cache::read_configs(const std::string& file_path,...
1
1
0
[{"id": "G0", "claim": "The class should be documented; its name 'preprocessor_defines_pod' is misleading because it is not Plain Old Data, having a custom destructor and custom default constructor.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wesnoth__wesnoth__10502
wesnoth/wesnoth
10,502
defect
9ab9abba7434e3c1778fe7392ba0a0634596d8b3
cd6c99e868058ef6f04fff4d0fc5c6c68daa83ba
Config Attribute Value: compare string-like types directly, remove heterogenous comparison for integers
Also fixes comparison with std::string_view on the legacy codepath
diff --git a/src/config_attribute_value.hpp b/src/config_attribute_value.hpp index 5d1ef017751b3..43a8e2ad9c09f 100644 --- a/src/config_attribute_value.hpp +++ b/src/config_attribute_value.hpp @@ -33,11 +33,19 @@ #include <chrono> #include <climits> +#ifdef __cpp_concepts +#include <concepts> +#endif #include <ios...
3
2
1
[{"id": "G0", "claim": "The PR removed the tests that compared attribute values against non-string inputs (integers, booleans and doubles), leaving the changed comparison behaviour without its former test coverage — the reviewer asks why they were removed.", "category": "testing", "verdict": "supported", "priority": "P...
null
wesnoth__wesnoth__8240
wesnoth/wesnoth
8,240
defect
f700b251ba33f272b9cf95dda70ce9f17ed86d95
6f0688b65450c76483f7db22b771f325ea384b09
Simplify nearest neighbor rescale
Simplification of nearest neighbor rescaling algorithm which improves minimap regeneration performance for #1605. After initial attempt at optimization I noticed that the the two inner loops that go over the src image region corresponding to the dest image pixel look like a weighted sum, but in reality samping only ...
diff --git a/src/sdl/utils.cpp b/src/sdl/utils.cpp index ccd2e07b57b02..b539a08f10aab 100644 --- a/src/sdl/utils.cpp +++ b/src/sdl/utils.cpp @@ -395,29 +395,28 @@ surface scale_surface_legacy(const surface &surf, int w, int h) surface scale_surface_sharp(const surface& surf, int w, int h) { // Since SDL version 1.1...
2
2
1
[{"id": "G0", "claim": "The line \"PLAIN_LOG << \\\"Shite\\\"\" looks like a forgotten debug statement and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The SDL_ConvertPixels block looks like it would just copy pixels from sr...
null
wesnoth__wesnoth__8790
wesnoth/wesnoth
8,790
defect
c7080e0eccc24681f10cb469d8b2037e46cf4db5
9fa9db7cafaf5e5e35bb785e328377e8cacb7102
use to/from_chars in attribute_value and lexical_cast
This makes attribute_value and lexical_cast use the "new" to/from_chars api. Its main advantages are: - It's guaranteed to be locale independent, hopefully fixing all cases of #3945 and similar - It fixes some cases config serialization, in particular the test ``` cfg["x"] = "9.87654321"; BOOST_CHECK_EQUAL(cf...
diff --git a/projectfiles/CodeBlocks/wesnoth.cbp b/projectfiles/CodeBlocks/wesnoth.cbp index 244871c28f83d..f2bade47a393d 100644 --- a/projectfiles/CodeBlocks/wesnoth.cbp +++ b/projectfiles/CodeBlocks/wesnoth.cbp @@ -1261,6 +1261,8 @@ <Unit filename="../../src/units/unit_alignments.hpp" /> <Unit filename="../../s...
6
4
0
[{"id": "G0", "claim": "The static_assert(sizeof(T) == 1) in the primary string_to_floating_point template would not trigger if T is char, since there is no char specialization.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing the expected re...
null
wesnoth__wesnoth__8791
wesnoth/wesnoth
8,791
defect
553b1a4511af7c36d7964be09a37f6354d146a4d
df0a38b741ac1bd5c02d92ecab8df6c7280ecc6b
Add a button to the build info dialog to rerun the migrator.
Add-ons: checks for any that exist in the chosen other version but not in the current version. Preferences: adds attributes that don't exist from the chosen other version's preferences that aren't in the current version's preferences. for attributes that exist in both, use whichever was modified most recently. Creden...
diff --git a/boost_test_schedule b/boost_test_schedule index fb1bbc20ec6ab..d5c737eded657 100644 --- a/boost_test_schedule +++ b/boost_test_schedule @@ -45,6 +45,7 @@ test_gui2/modal_dialog_test_log_settings test_gui2/modal_dialog_test_message test_gui2/modal_dialog_test_mp_alerts_options test_gui2/modal_dialog_test...
6
5
2
[{"id": "G0", "claim": "The already-existing add-ons should be removed from the migrate list by always checking the current add-ons directory, not only when it is not the first run.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The first-time copy ...
null
wesnoth__wesnoth__8993
wesnoth/wesnoth
8,993
defect
971073055e2487560940790cc340d91cd8d8e8df
adbc79abed09662e1b160557085e26fdf603a541
Move data that should be synced between computers to a common dir
Fixes #8059 --- Still need to read through `preferences_list.hpp` again, but I don't recall seeing any that would require splitting the preferences file between synced and unsynced preferences. The stuff moved under the `sync` folder was taken from https://github.com/wesnoth/wesnoth/issues/8059#issuecomment-20...
diff --git a/src/filesystem.cpp b/src/filesystem.cpp index 4db3a26eb976d..d32ca59005f39 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -638,6 +638,7 @@ static void setup_user_data_dir() // TODO: this may not print the error message if the directory exists but we don't have the proper permissions // C...
5
3
1
[{"id": "G0", "claim": "The migration in setup_user_data_dir should move the old preferences file instead of copying it.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G3", "claim": "The code that uses the editor_default_dir preference looks dubious and should be removed...
null
wesnoth__wesnoth__9117
wesnoth/wesnoth
9,117
defect
2660c0e086203bc6416952d0a3c2b5c53ca4ea02
66b956c68dd480d30651ff233c4ad1bf42724761
allow quick reload of gui2 themes, no restart of wesnoth needed
With this, after changing the gui2 theme using **Preferences -> Display -> UI Theme**, no restart of wesnoth is required. The theme gets reloaded after the user presses the "Apply" button.
diff --git a/data/gui/themes/default/window/preferences/03_display.cfg b/data/gui/themes/default/window/preferences/03_display.cfg index 3377e79c35e31..13a62a12b74b8 100644 --- a/data/gui/themes/default/window/preferences/03_display.cfg +++ b/data/gui/themes/default/window/preferences/03_display.cfg @@ -196,7 +196,7 @@...
6
6
5
[{"id": "G0", "claim": "handle_gui2_theme_select reloads even when the user re-selects the currently selected theme; reloading should be skipped in that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The disabled initialized guard in gui2::ini...
null
wesnoth__wesnoth__9290
wesnoth/wesnoth
9,290
defect
03cf5e64ce3378b470a97a348371d8eb22e8eaea
2be8354adeee11a200ce36cc91e6f572195a4235
Mass cleanup of index-based teams list access
Mostly converting index-based loops to for loops. Includes a couple other non-team loops that were in the files I was editing. ~NOTE: currently on top of #9285~
diff --git a/src/actions/move.cpp b/src/actions/move.cpp index 8a70947d591e3..6e9e14b886c90 100644 --- a/src/actions/move.cpp +++ b/src/actions/move.cpp @@ -138,25 +138,32 @@ void move_unit_spectator::set_unit(const unit_map::const_iterator &u) game_events::pump_result_t get_village(const map_location& loc, int side...
2
2
1
[{"id": "G0", "claim": "Replacing the index-based team lookup in get_village with a loop that finds the team by side index seems odd; the author should instead add a get_team or get_optional_team function to game_board taking a 1-based index.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "i...
null
wesnoth__wesnoth__9358
wesnoth/wesnoth
9,358
defect
78676a27ad0e21c6b7839a53d3b818c8445bd38c
9b6787e506535473af2faf17f0dc8376b91cd17b
Enable clang-tidy and refactor NULL to nullptr
clang-tidy is a linter tool that automatically checks for common code quality issues. This PR adds a cmake option `DCLANG_TIDY` that when set with `DCLANG_TIDY=ON` will automatically lint Wesnoth's code for the issues specified in `src/.clang-tidy` As a representative example, the `NULL` macro is an implementation-d...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a20a6372b5b0..74d4112830a7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,6 +171,7 @@ option(GLIBCXX_ASSERTIONS "Whether to define _GLIBCXX_ASSERTIONS" OFF) option(GLIBCXX_DEBUG "Whether to define _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC. Requires a vers...
2
2
1
[{"id": "G0", "claim": "If the change only skips src/modules/lua, linting should be skipped for all of src/modules instead, since none of that code is the project's own.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Enabling clang-tidy should p...
null
wesnoth__wesnoth__9888
wesnoth/wesnoth
9,888
defect
ae0b3ec149b0a9b2ba962655b0f3f056d61b2752
1269e329409412b43335eb3b520ebebcf454a488
Remove configure_engine
it's mostly a wrapper around things which are already available via create_engine
diff --git a/projectfiles/CodeBlocks-SCons/wesnoth.cbp b/projectfiles/CodeBlocks-SCons/wesnoth.cbp index bb420bf9c488f..8cc14a2c4d8c6 100644 --- a/projectfiles/CodeBlocks-SCons/wesnoth.cbp +++ b/projectfiles/CodeBlocks-SCons/wesnoth.cbp @@ -382,8 +382,6 @@ <Unit filename="../../src/game_events/pump.hpp" /> <Unit ...
1
1
1
[{"id": "G0", "claim": "The mp_parameter defaults helpers (set_default_values, force_lock_settings, game_name_default, etc.) should not be declared in the mp_create_game UI dialog class — if anywhere, they belong in mp_game_settings, decoupled from the UI.", "category": "design", "verdict": "supported", "priority": "P1...
null
west2-online__DomTok__113
west2-online/DomTok
113
defect
35e66ad0c4ebbad9284b33a5307c0732edd4ccf4
f59d8c12bac2d5ec1c7f8f7912a092d9851972d4
feat: enhance user
<!-- 感谢您提交一个 Pull Request! --> #### 自查 PR 结构 <!-- 自查通过后在方框中打一个 x 就可以勾选,如果需要访问关于commit 签名的信息,可以访问 https://docs.github.com/zh/authentication/managing-commit-signature-verification/signing-commits 一个可能的标题示例: `[BREAKING CHANGE] feat(core): add new feature` --> - [x] PR 标题符合这个格式: \<type\>(optional scope): \<des...
diff --git a/app/gateway/mw/logout.go b/app/gateway/mw/logout.go index af4cc6a1..87646156 100644 --- a/app/gateway/mw/logout.go +++ b/app/gateway/mw/logout.go @@ -18,7 +18,7 @@ package mw import ( "context" - "fmt" + "errors" "sync" "github.com/cloudwego/hertz/pkg/app" @@ -26,7 +26,6 @@ import ( "github.co...
1
1
1
[{"id": "G0", "claim": "Clear-text logging of sensitive information: the password value flows from an access to the password field into fmt.Println logging calls in SetAdministrator, which should be removed.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
westlicht__performer__291
westlicht/performer
291
defect
fad686df97f23347aa527b29c909e8277e586b4d
e9e80432096c9b2b141eafd87351d46060deb2f5
Fix usb
(NOTE: this is a copy of the pull request sent to libusbhost) the existing code had 4 issues which are now fixed: 1) after a CTRL REQUEST DATA in (e.g. when read the device descriptor) there was NO status packet sent. this basically means that the only working devices were the ones that ignore USB protocol errors...
diff --git a/src/platform/stm32/libs/libusbhost/include/driver/usbh_device_driver.h b/src/platform/stm32/libs/libusbhost/include/driver/usbh_device_driver.h index d5f359cad..a0b5648c2 100644 --- a/src/platform/stm32/libs/libusbhost/include/driver/usbh_device_driver.h +++ b/src/platform/stm32/libs/libusbhost/include/dri...
4
3
1
[{"id": "G0", "claim": "With the scan now starting at the interface offset, the loop should bound k by the remaining buffer length (descriptors_len - i) instead of descriptors_len, as the end of the buffer is no longer checked correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
westy92__html-pdf-chrome__223
westy92/html-pdf-chrome
223
defect
109f32fa314e421fcc49593694f76a401520038d
56c9ee7172a088c0996451db0b6559d53362594f
Extra HTTP headers can be passed with CreateOptions
- fixes Sending Authentication/token Info #142 - fixes Add extra http header #198
diff --git a/src/CreateOptions.ts b/src/CreateOptions.ts index db66f8df..11ed321c 100644 --- a/src/CreateOptions.ts +++ b/src/CreateOptions.ts @@ -1,6 +1,7 @@ 'use strict'; import { CompletionTrigger } from './CompletionTriggers'; +import ExtraHTTPHeader from './typings/chrome/Network/ExtraHTTPHeader'; import SetC...
5
5
1
[{"id": "G0", "claim": "Add a space before the opening curly brace of the `if (options.extraHTTPHeaders)` condition.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a space after the comma in the `convertHeaders(options.extraHTTPHeaders, 'name','value'...
null
wevm__viem__2351
wevm/viem
2,351
defect
cc105f801ec69640d3d806d86b35e36002d8c912
a2b800bf5605e8fa38f242b6a0f1991caeea30e1
fix: properly manage `RFC 3986 authority domain` check
## PR overview Using the current regex expression only second level domains are accepted. However, that is not the way it is specified on `RFC 3986`. With the current implementation for instance all domains using `country code second-level domains (ccSLD)` like _domain.co.uk_ are not accepted (as they are third-lev...
diff --git a/.changeset/rfc3986-authority-domain.md b/.changeset/rfc3986-authority-domain.md new file mode 100644 index 0000000000..e2fa2601fe --- /dev/null +++ b/.changeset/rfc3986-authority-domain.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +fix: properly manage `RFC 3986 authority domain` check diff --git a/src/ut...
4
4
2
[{"id": "G0", "claim": "The pull request must include a changeset (added with `bun changeset`).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new RFC 3986 domain regex should replace the old regex on line 173 rather than be added as a second ...
null
wevm__viem__2807
wevm/viem
2,807
defect
bf6b34971e07ed42630c5ff973e9b133b1477d5d
ccc83eccfee351b1a1b08fa7701a6f7a791b7407
add ability to call deployed universal signature validator for chains that do not support createless call
<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What other alternatives have you explored? Are there any parts you think require more attention from reviewers? --> Creates a new property on `chain.contracts` for `universalSignatureVerifier`. Calling the ...
diff --git a/contracts/src/UniversalSigValidator.sol b/contracts/src/UniversalSigValidator.sol new file mode 100644 index 0000000000..e7e57bbede --- /dev/null +++ b/contracts/src/UniversalSigValidator.sol @@ -0,0 +1,86 @@ +pragma solidity ^0.8.17; + +// SPDX-License-Identifier: UNLICENSED + +// https://github.com/Ambir...
3
2
1
[{"id": "G0", "claim": "Asks whether the deployed validator contracts should use AmbireTech's EIP6492Full contract instead of this PR's own contract, and if so that these contract changes be reverted.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename t...
null
wevm__viem__2844
wevm/viem
2,844
defect
c777dbe40b042b6c53a22820039806d3e29c07df
658d211fd7c5d0991613b4dfc9ac8b6f8363f01c
Add `onRequestInit` method which can intercept request initialization with body to modify the payload/headers
Proposed solution to fix #2630 - adds a new `onRequestInit` handler which receives the RequestInit object with body included. This allows for modification of the request payload while still supporting the use of dispatchers. <!-- What is this PR solving? Write a clear description or reference the issues it solves (e...
diff --git a/src/utils/rpc/http.test.ts b/src/utils/rpc/http.test.ts index 509c57b777..9608eb08f2 100644 --- a/src/utils/rpc/http.test.ts +++ b/src/utils/rpc/http.test.ts @@ -7,7 +7,8 @@ import { createHttpServer } from '~test/src/utils.js' import { anvilMainnet } from '../../../test/src/anvil.js' import { getBlockNu...
2
2
1
[{"id": "G0", "claim": "Let `onRequest` return a `Request` instance instead, so the additional `onRequestInit` property is not needed and the `init` instance does not have to be mutated.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Calling `fetch(reque...
null
wevm__viem__3109
wevm/viem
3,109
defect
6ae1307f49b3a706d7b4ffb0d778f95b487b6705
ad71ab8ee9403af9f183f96c2bb1080f077c28aa
ZKsync: account hoisting fix for `signEip712Transaction` and `sendEip712Transaction`
Fix the account hoisting for `signEip712Transaction` and `sendEip712Transaction`. The actions only took account from parameters and did not check the account from client.
diff --git a/.changeset/eight-geckos-mix.md b/.changeset/eight-geckos-mix.md new file mode 100644 index 00000000000..87a519b5cf3 --- /dev/null +++ b/.changeset/eight-geckos-mix.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Fixed account hoisting for `sendEip712Transaction` in ZKsync extension diff --git a/.changeset/e...
1
1
0
[{"id": "G0", "claim": "The changeset file .changeset/empty-baboons-fry.md duplicates another changeset and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wevm__viem__3414
wevm/viem
3,414
defect
ddb7e184dab8e80bf1137d3258db44662e433476
94e2a7f13f2de885eedc2d9fbd8a4487d868226b
feat(transport): Add shouldThrow as an option to fallback transport
Adds a `shouldThrow` option to the fallback transport, to customize which errors trigger a fallback vs a throw. We are using this so a contract error (eg a failed `require` in contract code) does not trigger the fallback and fails immediately. Happy to add some tests if this contribution makes sense.
diff --git a/site/pages/docs/clients/transports/fallback.md b/site/pages/docs/clients/transports/fallback.md index c8fa836583..03613d6c53 100644 --- a/site/pages/docs/clients/transports/fallback.md +++ b/site/pages/docs/clients/transports/fallback.md @@ -259,3 +259,30 @@ const transport = fallback([alchemy, infura], { ...
2
2
1
[{"id": "G0", "claim": "Export the default should-throw check (renamed to defaultShouldThrow) so users can use it in their custom shouldThrow functions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new shouldThrow behaviour needs tests.", "category...
null
wevm__viem__3648
wevm/viem
3,648
defect
097f46686870937b31b7741dbb68836a6a74d6b8
91cb87f45b4c86106d5a1f326fc6bdefcedfcd51
feat: fall back to `eth_sendTransaction` on `sendCalls`
Adds `experimental_fallback` property to `sendCalls` to indicate for Viem to fall back to executing the calls sequentially via `eth_sendTransaction` if the wallet does not support EIP-5792. The `experimental_fallback` property enables [this behavior](https://eips.ethereum.org/EIPS/eip-5792#specification) on the spe...
diff --git a/.changeset/odd-books-push.md b/.changeset/odd-books-push.md new file mode 100644 index 0000000000..bb598e2af4 --- /dev/null +++ b/.changeset/odd-books-push.md @@ -0,0 +1,5 @@ +--- +"viem": minor +--- + +Added `experimental_fallback` property to `sendCalls` for wallets that do not support EIP-5792 (falls ba...
3
2
1
[{"id": "G0", "claim": "The new docs sentence should read \"will allow Viem to fall back\" instead of \"will indicate for Viem to fall back\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fallback loop sleeps 32ms after queueing each sendTra...
null
wevm__viem__3895
wevm/viem
3,895
defect
25c50c03e045f19ddb308425350ddc04424dd182
79f0ea91dd867e3084fe922215ac4363987eb823
feat: add optional `fetchFn` override to http transport to allow full fetch interception
adds optional `fetchFn` parameter to http transport config to allow full interception/decorator/mocking of fetch this is useful for a number of scenarios including: - applying a decorator to node fetch for capturing metrics - easier testing by passing a mock fetch instead of overwriting global fetch - any scenari...
diff --git a/src/utils/rpc/http.test.ts b/src/utils/rpc/http.test.ts index 84fe9fa992..b7c12686ad 100644 --- a/src/utils/rpc/http.test.ts +++ b/src/utils/rpc/http.test.ts @@ -351,6 +351,26 @@ describe('request', () => { vi.unstubAllGlobals() }) + test('fetch override', async () => { + const fetchOverride ...
2
2
0
[{"id": "G0", "claim": "The new option should be named `fetchFn` instead of `fetchOverride` (including the local alias `fetch_` and the call site), per the reviewer's suggestion blocks.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `fetchFn` ent...
null
wevm__viem__3950
wevm/viem
3,950
defect
3bc5e6f3c4a317441063342dd9ec2aaa7eb56b01
3c95e35bfe34dbb472ba34d4924ef4b227dc1a8c
Add Operator Fee for OP Stack Chains
Adding Operator Fee to the OP Stack actions. The Operator Fee is supported on OP Stack since the Isthmus Upgrade: https://docs.optimism.io/stack/transactions/fees#operator-fee
diff --git a/.changeset/curvy-eyes-bake.md b/.changeset/curvy-eyes-bake.md new file mode 100644 index 0000000000..a334d76bb0 --- /dev/null +++ b/.changeset/curvy-eyes-bake.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added estimateOperatorFee action for OP Stack chains diff --git a/.gitignore b/.gitignore index e0b75...
5
5
4
[{"id": "G0", "claim": "In getL1BaseFee.ts the address fallback should stay `if (chain)` instead of the PR's `if (chain?.contracts?.gasPriceOracle)`, which silently falls through to the default oracle address instead of letting getChainContractAddress resolve (or throw) for the given chain.", "category": "correctness",...
null
wevm__viem__4188
wevm/viem
4,188
defect
6f0e7c2bb902d0f7eff7ffcc0cf0997be9c15c45
b5e6ce065ccdcb0993680bfa5d8f2ad06b7f18b4
fix: tempo e2e
we made recent changes in the [gas schedule for access keys](https://github.com/tempoxyz/tempo/pull/1413/files#diff-15963b1f3be40468c188dd9550dffff7b46e28e1b4d5269a903ad0bc44e39d94), and therefore[ this test fails ](https://github.com/wevm/viem/actions/runs/20369938570/job/58533861186?pr=4187#step:5:2383) this PR ad...
diff --git a/.changeset/clever-cars-press.md b/.changeset/clever-cars-press.md new file mode 100644 index 0000000000..8cb25bb199 --- /dev/null +++ b/.changeset/clever-cars-press.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Fixed tempo formatter for access keys diff --git a/package.json b/package.json index e70122052f...
2
2
1
[{"id": "G0", "claim": "The `prehash` -> `preHash` renaming workaround (and the chainId serialization workaround) in formatTransactionRequest is needed only because of an ox bug and should be fixed upstream in Ox.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
wevm__viem__4264
wevm/viem
4,264
defect
99062043134c5d77847b811d7a600d7c058cb43d
69627a677f8b6254cc4a92ec83b35c99d1607d11
feat: Add dataSuffix support to bundler client and related actions
<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What other alternatives have you explored? Are there any parts you think require more attention from reviewers? --> Adds `dataSuffix` support to the bundler client, following the same pattern already used i...
diff --git a/.changeset/some-melons-camp.md b/.changeset/some-melons-camp.md new file mode 100644 index 0000000000..d9eafafde0 --- /dev/null +++ b/.changeset/some-melons-camp.md @@ -0,0 +1,5 @@ +--- +"viem": minor +--- + +Add `dataSuffix` param to `createBundlerClient` and related `prepareUserOperation`/`sendUserOperat...
1
1
0
[{"id": "G0", "claim": "The reviewer feels dataSuffix should be forced to be a plain Hex for simplicity, since the object case ({ value; required }) is only relevant to the wallet_sendCalls capability and unrelated to this change.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wevm__wagmi__1379
wevm/wagmi
1,379
defect
4b689a795e8a39b0393dd2a26389c8f9cdf077c0
4f05d9515d450babec94d7f76827ea72a9db95fb
feat: replaced transaction support for `useWaitForTransaction`/`waitForTransaction`
Fixes #1362 Addresses #799 ## Description This PR adds replaced transaction support on `useWaitForTransaction`/`waitForTransaction`. This means that they now respect repriced transactions, as well as throwing an error when the transaction has been replaced or cancelled. ## Additional Information - [x] I ...
diff --git a/.changeset/friendly-garlics-battle.md b/.changeset/friendly-garlics-battle.md new file mode 100644 index 0000000000..0d1a8f0b6d --- /dev/null +++ b/.changeset/friendly-garlics-battle.md @@ -0,0 +1,5 @@ +--- +'@wagmi/core': patch +--- + +`waitForTransaction` now respects repriced (sped up) transactions. dif...
2
2
0
[{"id": "G0", "claim": "A `@wagmi/core` migration guide page should be started in the docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The `EthersReplaceable` fields should be alphabetized and `value` should use `ResolvedConfig['BigNumberTyp...
null
wevm__wagmi__1386
wevm/wagmi
1,386
defect
7d79e30a6827d0d4a2a1f1e3639910233332bacb
6b0673def8e37e0952db7b0a8d01a163b727ba25
feat: pass wagmi `storage` to `createSyncStoragePersister`
Fixes #1383 ## Description This PR resolves #1383 and passes the wagmi `storage` config option down to the React Query persister (`createSyncStoragePersister`). Previously, the React Query persister was defaulting to `window.localStorage`. Also hoisted up wagmi's serialization/deserialization fns to `createSt...
diff --git a/packages/core/package.json b/packages/core/package.json index b31df2c558..0268c674d8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -101,7 +101,9 @@ }, "devDependencies": { "@coinbase/wallet-sdk": "^3.4.1", + "@types/react": "^18.0.9", "@walletconnect/ethereu...
2
2
1
[{"id": "G0", "claim": "The persist version in the client's persisted store should be bumped so previously persisted double-serialized values get thrown out and recreated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Could add a CI step that remov...
null
wevm__wagmi__4124
wevm/wagmi
4,124
defect
65f5e57f72359d50f22c917adb80ba34f1e72736
d1188a6e3b74cb08acb0336e3b586a74b5fa35bd
FIX: useConnectorClient to be enabled only when connected or reconnecting
<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What other alternatives have you explored? Are there any parts you think require more attention from reviewers? --> This PR aims to prevent `useConnectorClient` running when account is **not** in `connected...
diff --git a/.changeset/short-eyes-hide.md b/.changeset/short-eyes-hide.md new file mode 100644 index 0000000000..3ff8f6c5c3 --- /dev/null +++ b/.changeset/short-eyes-hide.md @@ -0,0 +1,5 @@ +--- +"wagmi": patch +--- + +useConnectorClient only enabled when account status is 'connected'. diff --git a/packages/react/src/...
3
3
2
[{"id": "G0", "claim": "The React hook's enabled condition should also allow status 'reconnecting' (not only 'connected'), since enabling during reconnection supports optimistic updates.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The changeset d...
null
wevm__wagmi__552
wevm/wagmi
552
defect
7aff10d6bfbe117483f4948c05a96629fad83409
14d0907e917e3d4525c4189691d08517d5f93e3e
fix(react): out-of-sync persisted contract results
Fixes #460 ## Description There is an interesting bug where persisted `useContractRead` struct results would be out of sync with the ethers contract `Result`. This is because the ethers `Result` currently doesn't serialize properly with our `serialize` function. I first attempted to try fix this in our `serialize...
diff --git a/packages/react/src/hooks/contracts/useContractRead.ts b/packages/react/src/hooks/contracts/useContractRead.ts index c986dd1de1..e467d1061f 100644 --- a/packages/react/src/hooks/contracts/useContractRead.ts +++ b/packages/react/src/hooks/contracts/useContractRead.ts @@ -10,7 +10,7 @@ import { useQueryClient...
4
4
2
[{"id": "G0", "claim": "Instead of capturing the whole query result and spreading it over a new object, use react-query's select config option so the returned data still takes advantage of react-query's tracked behavior (losing the tracked result isn't ideal).", "category": "design", "verdict": "supported", "priority":...
null
wevm__wagmi__654
wevm/wagmi
654
defect
ef314607d45cb6f1a9af286302353454821602a8
a6fedd2e7dd34cfe9cdfdd55f4486725808cdf0f
fix: fix multicall returning nullish data for all calls unexpectedly
Fixes #645 ## Description When a contract method returned zero data (`0x`) for any call in a multicall, this would cause the function to throw an error, resulting in the multicall returning nullish data unexpectedly. This PR guards for the case where a call could return zero data, and warns the user that the func...
diff --git a/.config/hardhat.config.ts b/.config/hardhat.config.ts index 2f575f27a3..7bb1fa27d7 100644 --- a/.config/hardhat.config.ts +++ b/.config/hardhat.config.ts @@ -1,3 +1,4 @@ +import 'dotenv/config' import { HardhatUserConfig } from 'hardhat/config' const config: HardhatUserConfig = { diff --git a/examples/...
3
1
1
[{"id": "G0", "claim": "The console.warn on empty multicall responses could bloat the console especially when such errors are expected, so the author asks whether it is okay as is, should sit behind a flag, or should be removed.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {...
null
wevm__wagmi__722
wevm/wagmi
722
defect
8d05bc66f61c0f6fe73b974083cafdfb6ab8357e
1a29f262122f6e690be9334204c622572fe9435e
fix: polling interval for multiple providers
Fixes #650
diff --git a/.changeset/smooth-pandas-kiss.md b/.changeset/smooth-pandas-kiss.md new file mode 100644 index 0000000000..d804f83c76 --- /dev/null +++ b/.changeset/smooth-pandas-kiss.md @@ -0,0 +1,19 @@ +--- +'@wagmi/core': minor +'wagmi': minor +--- + +**Breaking**: Moved the `pollingInterval` config option from the cha...
1
1
0
[{"id": "G0", "claim": "Write the pollingInterval default with a numeric separator (4_000 instead of 4000) for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
wevm__wagmi__734
wevm/wagmi
734
defect
ac3b9b87f80cb45b65d003f09d916d7d1427a62e
947e67db835827e12b9e8372c439729477660376
fix: make chain aware providers great again
Fixes #732 - Fixes an issue where the `useProvider` hook would not update if `chainId` changes - Refactor `useProvider` to use `useSyncExternalStoreWithSelector` to better support React 18 - Added test case to validate fixed behavior
diff --git a/.changeset/gentle-squids-switch.md b/.changeset/gentle-squids-switch.md new file mode 100644 index 0000000000..cbd15aa4c5 --- /dev/null +++ b/.changeset/gentle-squids-switch.md @@ -0,0 +1,5 @@ +--- +'wagmi': patch +--- + +Fix issue where `useProvider` would not update when `chainId` config changes diff --g...
1
1
1
[{"id": "G0", "claim": "The chainId-reactive provider fix applied to useProvider at S1 should also be applied to useWebSocketProvider, which still uses the old ref-and-forceUpdate pattern and does not update when the chainId config changes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
wevm__wagmi__993
wevm/wagmi
993
defect
8f62e69c9ff1ac45a0371d3f2430cca19c7d108f
19cc84d40eef96211274112958df1fc79d710dba
enhancement: support ERC20 contracts that use `bytes32`
## Description This PR supports ERC20 contracts that represent `string`s as `bytes32`s such as MKR. Fixes #939
diff --git a/.changeset/short-chefs-think.md b/.changeset/short-chefs-think.md new file mode 100644 index 0000000000..f259246205 --- /dev/null +++ b/.changeset/short-chefs-think.md @@ -0,0 +1,6 @@ +--- +'@wagmi/core': patch +'wagmi': patch +--- + +Support ERC20 contracts that represent strings as bytes32 diff --git a/p...
2
2
0
[{"id": "G0", "claim": "The new erc20ABI_bytes32 should be expressed in JSON (human-readable ABI) format rather than the array-of-signatures format.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Similar bytes32-handling logic should be added to...
null
wezterm__wezterm__5345
wezterm/wezterm
5,345
defect
0b50725f67154664292d83681f3f421c6567e3b5
57e3d54a38d82fbb56132aad0f57800880719a4e
Wire up agent forward for libssh backend
TSIA. Depends on https://github.com/wez/libssh-rs/pull/24 There's a drive-by change in sftpwrap.rs for bumping to new libssh-rs.
diff --git a/Cargo.lock b/Cargo.lock index 483dfe87d299..540b73f15523 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3022,11 +3022,10 @@ dependencies = [ [[package]] name = "libssh-rs" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3fe324fb06b71d28abb81382ac547f25b...
1
1
1
[{"id": "G0", "claim": "The libssh-rs dependency should be taken from the published crates.io release (version 0.3.1) instead of the local path checkout this pull request points at.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
wezterm__wezterm__891
wezterm/wezterm
891
defect
d317f0f3120965c447d59d040a9534c77455436c
25b72fafd353c5627595a3203882e0b6b2819041
Finish up DEC Special Graphics character set
Hi! This is my first PR ever in Rust, so it likely needs work. But the point of it: 1. DEC Special Graphics is saved/restored by DECSC/DECRC. (And it's actually not just one bool, it should be the selected character sets for G0, G1, G2, G3, and GR; and by default selectable via ASCII SO and SI.) 2. Added the rem...
diff --git a/term/src/terminalstate.rs b/term/src/terminalstate.rs index a4c93445fdb..e00b0c83bb2 100644 --- a/term/src/terminalstate.rs +++ b/term/src/terminalstate.rs @@ -103,6 +103,7 @@ struct SavedCursor { wrap_next: bool, pen: CellAttributes, dec_origin_mode: bool, + dec_line_drawing_mode : bool,...
2
2
1
[{"id": "G0", "claim": "The PR fails CI's cargo fmt check because `dec_line_drawing_mode : bool` has a space before the colon and should be reformatted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new DEC Special Graphics behaviour should...
null
wgsl-analyzer__wgsl-analyzer__1035
wgsl-analyzer/wgsl-analyzer
1,035
defect
5c3b12b1fbc3413850cd415152de8dbd30a529fe
10ac8d42286d4890dacc6eaf15e43bc65b1dd783
Give diagnostic for directives after other global items
# Objective Fixes #683 ## Solution Add an assertion in the parser. ## Testing Added test ## Showcase <img width="649" height="749" alt="image" src="https://github.com/user-attachments/assets/e5b69b8e-cbde-46ab-b928-0a200f4a0593" />
diff --git a/crates/parser/src/parser.rs b/crates/parser/src/parser.rs index 696f82746..695d60a26 100644 --- a/crates/parser/src/parser.rs +++ b/crates/parser/src/parser.rs @@ -19,6 +19,7 @@ include!(concat!(env!("OUT_DIR"), "/generated.rs")); pub struct ParserContext { edition: Edition, + after_declarations...
3
3
1
[{"id": "G0", "claim": "The span the new diagnostic is created with is wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The directive check is implemented through many per-node callbacks, and the author asks for ideas on how to do it with fewer...
null
wgsl-analyzer__wgsl-analyzer__754
wgsl-analyzer/wgsl-analyzer
754
defect
dacb723cf434d48823b9291467ee96c7d10cbb71
9ff18609fc1b97ab9a1aea2976046003a0bbc04d
add AssertStatement to ast::Item
# Objective `ast::Item` is supposed to represent all module level items. However it does not represent `AssertStatements`, which correspond to `const_assert` which is valid at module level. https://gpuweb.github.io/gpuweb/wgsl/#const-assert-statement ## Solution Add `AssertStatement` into `ast::Item`, and m...
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index fa1d7cb98..9bda4649c 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -10,8 +10,8 @@ use hir_def::{ body::{BindingId, Body, BodySourceMap}, data::{FieldId, ParameterId}, database::{ - DefDatabase, DefinitionWithBodyI...
6
6
2
[{"id": "G0", "claim": "Implement AssertStatement support in the hir crate following the TypeAlias pattern: add a ChildContainer variant backed by an interned AssertStatement id plus a corresponding InternDatabase interning function.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
wgsl-analyzer__wgsl-analyzer__837
wgsl-analyzer/wgsl-analyzer
837
defect
606383dbc96e8dd641224e631e127324959d0c5c
807bed2d39c2bd8ff36a2a9f9fc7c4c6a4d2a7aa
Report diagnostics in signatures
# Objective Fix #825 ## Solution The diagnostics were missing their "is in signature/is in body" information. So we sometimes used the wrong expression store for mapping the expression ids back to the ranges. I first asked @mighdoll to run Claude Code over it. And then implemented it differently, since even...
diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs index 740e3b458..7a29ee52d 100644 --- a/crates/hir/src/diagnostics.rs +++ b/crates/hir/src/diagnostics.rs @@ -11,7 +11,8 @@ use hir_def::{ use hir_ty::{ builtins::BuiltinId, infer::{ - InferenceDiagnostic, LoweredKind, TypeExpe...
1
1
0
[{"id": "G0", "claim": "Add a space after the comma between `store.store_source,` and `InferenceDiagnosticKind::WgslError` to keep the code formatting consistent with the rest of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
wgsl-analyzer__wgsl-analyzer__949
wgsl-analyzer/wgsl-analyzer
949
defect
2832ccbd5d336b1e59d96ba548b549be2bd821c2
159ee19a7e5eaf56e3981ea1de15295b9f5cb371
Merge lexer Token into parser SyntaxKind
# Objective Fixes https://github.com/wgsl-analyzer/wgsl-analyzer/issues/612 ## Solution Merge `Token` enum into `SyntaxKind` and provide `Token` type alias in `lexer.rs`. Also removed `SyntaxKind::DoubleColon` since it's a duplicate of `ColonColon`. I also pulled in new incoming changes to the `IntLiteral` reg...
diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs index 370664a1a..56d0fedc8 100644 --- a/crates/ide/src/diagnostics.rs +++ b/crates/ide/src/diagnostics.rs @@ -745,7 +745,7 @@ var<storage, read> a: array<f32>; var<storage ", expect![[r#" - 92..93 Error 16: invalid ...
1
1
1
[{"id": "G0", "claim": "In the lexer tests module, the `use logos::Logos as _;` import appears unused and, with `-D warnings` in CI, will fail the build; the reviewer asks to remove it (or add a use that requires the trait in scope).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
wgsl-analyzer__wgsl-analyzer__950
wgsl-analyzer/wgsl-analyzer
950
defect
2832ccbd5d336b1e59d96ba548b549be2bd821c2
209b56add9f0c0a494c54af013ab4cbdb9654a6e
Issue #671 - Check that array index is integer type
# Objective Fixes #671 ## Solution Validate that `index_expression` is a u32, i32, or abstract integer. I added `TypeExpectationInner::IntegerIndex` to accommodate the fact that indexes might not be allowed to be 64-bits, so they shouldn't use `IntegerScalar`. I also added a separate `is_index()` method to `S...
diff --git a/crates/hir_ty/src/infer.rs b/crates/hir_ty/src/infer.rs index c21534e6a..dc5be2d66 100644 --- a/crates/hir_ty/src/infer.rs +++ b/crates/hir_ty/src/infer.rs @@ -1054,8 +1054,9 @@ impl<'database> InferenceContext<'database> { } }, TypeExpectationInner::IntegerScalar...
4
3
3
[{"id": "G0", "claim": "The pretty-printer still renders the IntegerScalar expectation as \"i32 or u32\" even though the change also accepts AbstractInt, which can make TypeMismatch diagnostics potentially misleading/incomplete, so the expectation formatting should include abstract-int or the expectation should be rena...
null
wgsl-analyzer__wgsl-analyzer__958
wgsl-analyzer/wgsl-analyzer
958
defect
a4d2187c4f39f0c14ddb505806341941f989a196
186dea3a6643494dd5e8d582f6e1e996d490ee76
Validate struct constructors
# Objective Fixes #674 ## Solution Adds a function to infer.rs to check that the number of args and types of the args match that of the struct. Also allows for an empty constructor. ## Testing - Did you test these changes? If so, how? Added tests to simple.rs as well as tested locally (see screenshot...
diff --git a/crates/hir_ty/src/infer.rs b/crates/hir_ty/src/infer.rs index 1dc352fd8..bee859457 100644 --- a/crates/hir_ty/src/infer.rs +++ b/crates/hir_ty/src/infer.rs @@ -1928,10 +1928,8 @@ impl<'database> InferenceContext<'database> { self.error_type() } }, - ...
2
2
0
[{"id": "G0", "claim": "The early-return branch for zero-argument struct constructors should carry a comment citing the WGSL zero-value-builtin-function rule.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test function name `struct_constructo...
null
wgsl-analyzer__wgsl-analyzer__960
wgsl-analyzer/wgsl-analyzer
960
defect
f49ad340afbdc56cc0cbf639ae77db40575f9ddd
d3fcc8b161c85bc632992ae37040d0c54454fb4f
improve type mismatch diagnostics to be specific to the argument
# Objective Fix #959 ## Solution Pass the full information down into the helper methods and then use the actual expression instead of the "parent" expression. ## Testing This has test coverage, see the diff to check the result. ## Showcase <img width="506" height="279" alt="Screenshot_2026-03-26_19...
diff --git a/crates/hir_ty/src/infer.rs b/crates/hir_ty/src/infer.rs index eb217bf86..8f1d5c6c8 100644 --- a/crates/hir_ty/src/infer.rs +++ b/crates/hir_ty/src/infer.rs @@ -1207,7 +1207,12 @@ impl<'database> InferenceContext<'database> { } => { let arguments: Vec<_> = arguments ...
2
2
0
[{"id": "G0", "claim": "At the converted_arguments construction, the tuple element should be bound by pattern matching as `(_, r#type)` and dereferenced (`*r#type`) instead of accessing `r#type.1` on the named binding.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1",...
null
whalebrew__whalebrew__126
whalebrew/whalebrew
126
defect
39e8e57424dd85776f473da37c22e96876a094ae
6960827f5029f569e26b3152d7953063c64d9ab1
Introduce package linter
In order to add a package linter, add a custom structure tag and benefit from it to parse the image labels. This allows to mutualize the source of truth for the label to field mapping and offers a way to create linting without having to duplicate the labels mapping. fixes: #125
diff --git a/cmd/install.go b/cmd/install.go index b065b38d..3c547c78 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -17,12 +17,24 @@ var customPackageName string var customEntrypoint string var forceInstall bool var assumeYes bool +var strict bool + +type multipleErrors []error + +func (e multipleErrors) Error...
3
1
0
[{"id": "G0", "claim": "The variable name `lintCommnand` has an extra `n` and should be spelled `lintCommand`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "TestLintImageErrorsWhenLabelCantBeDecodedFromImageConfig contains no assert, so it shou...
null
whalebrew__whalebrew__50
whalebrew/whalebrew
50
defect
5b943ec8a774a4a025d3ab3fe8ec96f9acd81f4a
96be50eb2a15d164643e004d79f061ed357a9175
Added force install support
While developing a package I was switching between a local docker image and production image, which meant I was repeatedly uninstalling (which prompts for input) and installing. I added force install flag to support installing regardless whether the package is installed or not.
diff --git a/cmd/install.go b/cmd/install.go index 0eaad229..318578a0 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -15,9 +15,11 @@ import ( ) var customPackageName string +var forceInstall bool func init() { installCommand.Flags().StringVarP(&customPackageName, "name", "n", "", "Name to give installed p...
2
1
0
[{"id": "G0", "claim": "The wholesale rewrite of script/build into shell functions is unnecessary; simply adding `set -e` at the top of the original script would fix the gox failure-continuation issue.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
whalebrew__whalebrew__74
whalebrew/whalebrew
74
defect
9116886642856e9ce2c3b9614ed7af2ba1d06798
2ce38fe3f8a9180225d3cccaf20cf0015380dced
Add support for pre/post install hooks
As discussed in #59, users may need to add custom behaviours on specific actions (commit the yaml file, validate the image, ...) This PR adds support for such feature, allowing users to hook into the installation and removal process to provide value they need
diff --git a/README.md b/README.md index b770eb66..c35f896e 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ To upgrade a single package, just pull its image: Whalebrew is configured with environment variables, which you can either provide at runtime or put in your `~/.bashrc` file (or whatever shell you use)....
2
2
1
[{"id": "G0", "claim": "The hooks configuration should live in a dedicated config directory (e.g. `$WHALEBREW_CONFIG_DIR`, defaulting to `$HOME/.whalebrew`) instead of inside the install path.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README's `...
null
whalebrew__whalebrew__84
whalebrew/whalebrew
84
defect
3158fcdf73594fb3d1024585dc460b03b7647fd4
495eee626581e207c30211c5cb4fbf76a9e5292b
Add an option to mount paths provided in flags
When providing filepath on the commandline like `$ wget -O ../google.html https://www.google.com` the destination path is not bound in the current and hence the user does not see the output file. With the proposed implementation, the package provider should provide flags that should contain path to files. Then, w...
diff --git a/README.md b/README.md index 3ba1f588..0275d964 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,10 @@ There are some labels you can use to configure how Whalebrew installs your image * `io.whalebrew.required_version`: Specifies the minimum whalebrew version to required to run the package. Examples:...
1
1
1
[{"id": "G0", "claim": "The error return value of flags.Parse should be checked (errcheck).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
wheybags__freeablo__431
wheybags/freeablo
431
defect
b02965803845700e83665d77d5236e9cb4957016
eb15d9d288a0ce506c7b4b9d577c13318fb3b1c5
Feat/45/vector movement
Here's a link to the updated doc's since "files changed" doesn't show the markup: https://github.com/grantramsay/freeablo/blob/feat/45/vector-movement/docs/position_and_direction.md
diff --git a/apps/freeablo/engine/localinputhandler.cpp b/apps/freeablo/engine/localinputhandler.cpp index daaf315d0..be14580a7 100644 --- a/apps/freeablo/engine/localinputhandler.cpp +++ b/apps/freeablo/engine/localinputhandler.cpp @@ -67,7 +67,7 @@ namespace Engine else if (modifiers.shift) ...
3
3
0
[{"id": "G0", "claim": "The MovementType enum members should use PascalCase instead of camelCase.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Chebyshev movement type might be better named GridLocked vs FreeMovement rather than using the m...
null
whisperfish__rust-phonenumber__86
whisperfish/rust-phonenumber
86
defect
31dd5fb50567203eac78e256332d7978bbd353a4
ce7d3eeaa5e2983c6808d7e0716841bb438c944e
Disallow whitespace per RFC3966
No whitespace character appears in the syntax described in RFC3966. Previously, "+1 650-253-0000" was parsed, but panicked later when validating the number. It parsed "+1 650" as the prefix, which is not a valid prefix. Disallowing whitespace here prevents parsing the phone number using the RFC3966 format. Instead, ...
diff --git a/src/parser/rfc3966.rs b/src/parser/rfc3966.rs index f37d7618..4ec06bce 100644 --- a/src/parser/rfc3966.rs +++ b/src/parser/rfc3966.rs @@ -24,6 +24,11 @@ use nom::{ }; pub fn phone_number(i: &str) -> IResult<&str, Number<'_>> { + // Per RFC3966, spaces are not allowed as separators. + if i.contain...
2
2
1
[{"id": "G0", "claim": "It would be worth asserting in the new test that the parsed number's country code is US, and referencing issue #83.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment's 'incorretly' is misspelled and should read 'incorrec...
null
whitesmith__hawkpost__290
whitesmith/hawkpost
290
defect
7606d16cb96ac6fbed5a1e74a68e531ded015b43
105553445be7d15d310aa3d34c65397638ce0154
reply_to is filled if the user is authenticated
Addresses #218 This is a simple implementation of a requested feature. If a user is logged in when submitting a box, the `reply_to` field will be filled with his email address. We could added a field for users not logged in, however we would have to validate the users is not trying to impersonate (not providing...
diff --git a/boxes/tasks.py b/boxes/tasks.py index c73c48a3..d1e94bdc 100644 --- a/boxes/tasks.py +++ b/boxes/tasks.py @@ -11,27 +11,35 @@ @shared_task -def process_email(message_id, form_data): +def process_email(message_id, form_data, sent_by=None): message = Message.objects.get(id=message_id) box = me...
1
1
1
[{"id": "G0", "claim": "When the submitter is authenticated their email is automatically placed in the reply_to field without their consent; the reviewer asks whether that is the expected behaviour and requests that including it be an opt-in choice instead.", "category": "design", "verdict": "supported", "priority": "P...
null
whitphx__streamlit-webrtc__2407
whitphx/streamlit-webrtc
2,407
defect
8aaaae362845e0e695e7d6c141b9dc63e79c309d
c004f76a319b4281dc0d90876a1dc2c6ff964680
Fix AudioSourceTrack time_base for non-48000 sample rates
## Summary - `AudioSourceTrack` (and its factory `create_audio_source_track`) hard-coded the outbound `AudioFrame.time_base` to the module-level `AUDIO_TIME_BASE = 1/48000`, so `frame.pts * frame.time_base` no longer matched the actual audio duration when `sample_rate != 48000`. The receiver played audio at the wrong ...
diff --git a/changelog.d/20260511_224155_t.yic.yt.md b/changelog.d/20260511_224155_t.yic.yt.md new file mode 100644 index 000000000..f0031169f --- /dev/null +++ b/changelog.d/20260511_224155_t.yic.yt.md @@ -0,0 +1,3 @@ +### Fixed + +- Fix `AudioSourceTrack` / `create_audio_source_track` so the outbound `AudioFrame.time...
1
1
1
[{"id": "G0", "claim": "Validate sample_rate before deriving Fraction(1, sample_rate): if sample_rate <= 0 the new __init__ path fails with a low-level ZeroDivisionError and an unclear failure mode, so add an explicit guard raising ValueError with a clear message.", "category": "correctness", "verdict": "supported", "p...
null
widelands__widelands__4355
widelands/widelands
4,355
defect
0df31aadb80acd22c233159e1353d556c5ae2bda
277e9b4dc5d455e350e8d01c9177830ace26907d
Fix simple cppcheck issues
Re #1406 I worked through approx. half of the sources fixing simple cppcheck issues (mostly `const` and `explicit` declarations). I also updated the `create_cppcheck_report` to work with newest version and github links. [cppcheck_report.html](https://github.com/widelands/widelands/files/5367268/cppcheck_report.htm...
diff --git a/src/base/log.cc b/src/base/log.cc index 172c0398a03..c6aa84362ff 100644 --- a/src/base/log.cc +++ b/src/base/log.cc @@ -167,10 +167,11 @@ static const char* to_string(const LogType& type) { std::vector<std::string> split(const std::string& s) { std::vector<std::string> result; - for (std::string::size...
4
4
3
[{"id": "G0", "claim": "The condition should be `ch <= 'Z'` because `ch < 'Z'` wrongly excludes the character 'Z'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comparator in the surviving condition is written the other way around; swap it to m...
null
widelands__widelands__4450
widelands/widelands
4,450
defect
1aff5867b8a35dbdd1d6aef5524e56b7d7a06f41
56ea233a9491fdfe2e321999bf76e6d4f241449a
Clear 2 modernize checks
- modernize-make-shared - modernize-use-default-member-init Re. https://github.com/widelands/widelands/issues/3223
diff --git a/src/economy/economy.cc b/src/economy/economy.cc index f1138b1ed30..9523e4b3d85 100644 --- a/src/economy/economy.cc +++ b/src/economy/economy.cc @@ -710,11 +710,10 @@ using RSPairQueue = std:: struct RSPairStruct { RSPairQueue queue; - uint32_t pairid; - int32_t nexttimer; + uint32_t pairid = 0; + int3...
1
1
0
[{"id": "G0", "claim": "The three clang-tidy modernize-use-default-member-init warnings in src/wui/chat_overlay.cc (redundant member initializers for 'transparent_', 'chat_' and 'havemessages_') should be fixed before the pull request is merged.", "category": "correctness", "verdict": "supported", "priority": "P2", "sc...
null
widelands__widelands__5101
widelands/widelands
5,101
defect
fef0d1efa378035fbdf80b2476df3df5e12d1cb8
c34be05fc7b3fd26a22e50ba63b7f4c40e9f7508
Deprecate Boost
This replaces, and forbids via codecheck, all use of boost except `format signals2 uuids asio` and the unit tests. All removed function calls were string-related. Some of them already exist as c++11 library functions; the rest are now implemented in a new file pair `base/string.*`. In the long run I want to get r...
diff --git a/cmake/codecheck/rules/deprecate_boost.py b/cmake/codecheck/rules/deprecate_boost.py new file mode 100644 index 00000000000..62893573fc0 --- /dev/null +++ b/cmake/codecheck/rules/deprecate_boost.py @@ -0,0 +1,75 @@ +#!/usr/bin/python + +strip_comments_and_strings = True + + +whitelist = [ + 'boost::forma...
2
1
0
[{"id": "G0", "claim": "The reviewer asks whether there is a specific reason that `iequals` lacks the optional case-sensitivity boolean parameter that `starts_with`/`ends_with`/`contains` all have, and whether `iequals` is the boost-style or a common C++ convention.", "category": "design", "verdict": "uncertain", "prio...
null
widelands__widelands__5122
widelands/widelands
5,122
defect
17705ed8390c7d6654ddc3aa6dcd1a1b80270d39
d1ee783fe031d27655c409af8a64f506c4294d71
Replace Boost Unit Tests
Re #5115 The new framework is implemented and documented in `src/base/test.h`. The new backend uncovered a bug in `src/base/string.h` which I also fixed here. Everything else is just converting our existing tests to the new macros.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 060fc950e55..37f1ba1b132 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,11 +124,7 @@ if (OPTION_BUILD_WINSTATIC) endif() set (Boost_USE_MULTITHREADED ON) set (Boost_DETAILED_FAILURE_MSG ON) -find_package(Boost 1.48 - COMPONENTS - unit_test_framework - ...
5
2
2
[{"id": "G0", "claim": "The documentation does not explain how to execute the tests.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR fails to compile with clang because the new TEST_EXECUTABLE macro defines 'all_testsuites_' with no previous...
null
widelands__widelands__5229
widelands/widelands
5,229
defect
ca30c6b17809da812f4a4424448a473bcb274d69
0dc2640053a626209a5ace4494662742a795d32e
Considering distance to warehouse when starting new buildings
Even currently we have info for flag-nearest WH distance, of course this cannot be directly used for field where there is no flag. So we introduced new buildable field variable **average_flag_dist_to_wh**, that is just avg for flags in vicinity. Small problem is that when there are flags not connected in vicinity, we ...
diff --git a/src/ai/ai_help_structs.cc b/src/ai/ai_help_structs.cc index c65474d3eea..9138c28463e 100644 --- a/src/ai/ai_help_structs.cc +++ b/src/ai/ai_help_structs.cc @@ -358,7 +358,7 @@ BuildableField::BuildableField(const Widelands::FCoords& fc) enemy_military_sites(0), ally_military_presence(0), ...
12
8
4
[{"id": "G0", "claim": "The wh_distance_malus should relate directly to the actual flag distance with sensible divisors; as computed the second neuron term (divided by 25) is near zero for realistic distances, so smaller divisors (no divider on the first term, around 3 on the second) should be used.", "category": "desi...
null
widelands__widelands__5709
widelands/widelands
5,709
defect
2349508087d4f6206d21be30dd7dd47de62e09d1
5b36cef2b79613440a67961746220c240d8b262d
Clean more clang-tidy checks
- `bugprone-implicit-widening-of-multiplication-result` - `hicpp-use-nullptr` - `misc-unused-using-decls` - `readability-container-data-pointer` - `readability-use-anyofallof` - Fixes #1622 by removing the codecheck rule – clang-tidy has an enabled check that does exactly the same thing minus the bu...
diff --git a/cmake/codecheck/rules/const_qualifier_for_parameter_passed_by_value.py b/cmake/codecheck/rules/const_qualifier_for_parameter_passed_by_value.py deleted file mode 100644 index f4439bec27d..00000000000 --- a/cmake/codecheck/rules/const_qualifier_for_parameter_passed_by_value.py +++ /dev/null @@ -1,139 +0,0 @...
32
27
14
[{"id": "G0", "claim": "Returning flags_.data() misleads readers into thinking the whole container is returned, so the original &flags_[0] should be kept.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "rows should be declared size_t so the narro...
null
widelands__widelands__5877
widelands/widelands
5,877
defect
7e2b61e665164c8f96d4fb7157b3662573993824
5c0ea43c60bed7a7d10da4fef3ed1c015b826100
windows logging for testsuite
**Type of change** Bugfix **Issue(s) closed** Fixes #5819 **New behavior** testsuite uses normal logging commands now rather then using cout **How it works** Made the unittests use the log_info function. this avoids re4direction of cout as the output is directly written to file for windows. works in app...
diff --git a/src/ai/test/CMakeLists.txt b/src/ai/test/CMakeLists.txt index 1befbbeaf06..0bd53676f87 100644 --- a/src/ai/test/CMakeLists.txt +++ b/src/ai/test/CMakeLists.txt @@ -1,3 +1,15 @@ +# Uncomment the following to get a gdb backtrace in the CI environment +# to use for other unit tests change the name of the test...
1
1
0
[{"id": "G0", "claim": "Remove the `needs_logging` parameter from TEST_EXECUTABLE altogether and simply have logging enabled for all tests.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null