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
ryaker__SparrowDB__251
ryaker/SparrowDB
251
defect
6436d176f33f90e7e6dde926c48b30df5c1b134c
d5133368ab9ee864ace1fe902509396abf87e216
perf(storage): lazy-load CSR adjacency data — reduce startup memory (closes #222)
## **User description** ## Summary - Replace `fs::read` + `Vec<u64>` decode with `memmap2` memory-mapping for CSR forward/backward files - Introduce `CsrData` enum: `Owned` (heap vecs for `build()`/`decode()`) or `Mapped` (`Arc<Mmap>` for `open()`) - `Clone` on a mapped CSR is an `Arc` bump — zero data copy, enabling ...
diff --git a/Cargo.toml b/Cargo.toml index 345e34d4..c0738f01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,6 +49,7 @@ tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } csv = "1" rayon = "1.8" +memmap2 = "0.9" [profile.dev] opt-lev...
6
4
1
[{"id": "G0", "claim": "The file-size calculations derived from n_nodes and n_edges use unchecked usize arithmetic, so a malformed CSR file can overflow them, bypass the length checks, and cause later panics or unsafe slice access; validate these sizes with checked arithmetic before use.", "category": "correctness", "v...
null
ryaker__SparrowDB__252
ryaker/SparrowDB
252
defect
6436d176f33f90e7e6dde926c48b30df5c1b134c
574a3bfd951342b6b71e391cff40f0300cf50769
fix(storage): generation-gated write_back — MATCH never returns empty for committed nodes (closes #242)
## **User description** ## Root Cause `MATCH (n:Label {prop: value})` silently returned empty for committed nodes on large datasets (27% of edge creates were no-ops on the Twitter dataset). **The chain of failures:** 1. Read engine clones the shared `PropertyIndex` — pair `(label_id, col_id)` is in `loaded` but from...
diff --git a/crates/sparrowdb-execution/src/engine/mod.rs b/crates/sparrowdb-execution/src/engine/mod.rs index 31e65fea..dc4de8f9 100644 --- a/crates/sparrowdb-execution/src/engine/mod.rs +++ b/crates/sparrowdb-execution/src/engine/mod.rs @@ -404,9 +404,23 @@ impl Engine { /// concurrent read queries write back to...
7
2
1
[{"id": "G0", "claim": "The new end-to-end tests are fully sequential and may not reproduce the read-starts-before-commit / commit-invalidates-cache / stale-write-back interleaving, so they could miss the original bug under concurrent execution.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope"...
null
ryaker__SparrowDB__258
ryaker/SparrowDB
258
defect
e4c8e02e73998693f2b30721abcc44c274d8e5a7
89247d4b200b620260cd950dce897604088bb1b5
fix(engine): numeric type promotion in WHERE comparisons (closes #248)
## **User description** ## Summary - `WHERE r.rating >= 4.0` now works when `rating` is stored as `Int64` (e.g. via `{rating: 4}` import) - Added cross-type arms to `Gt/Ge/Lt/Le` in both `eval_where` and `eval_expr`'s `BinOp` evaluator - Verified against live MovieLens dataset: `COUNT(m)` changed from 0 to 200 for user...
diff --git a/crates/sparrowdb-execution/src/engine/mod.rs b/crates/sparrowdb-execution/src/engine/mod.rs index e71737f6..7bd496c0 100644 --- a/crates/sparrowdb-execution/src/engine/mod.rs +++ b/crates/sparrowdb-execution/src/engine/mod.rs @@ -1596,18 +1596,30 @@ fn eval_where(expr: &Expr, vals: &HashMap<String, Value>)...
3
2
1
[{"id": "G0", "claim": "Casting Int64 values to f64 for mixed numeric comparisons loses precision for integers outside ±2^53 and can make WHERE/RETURN predicates evaluate incorrectly, so the comparison should guard against or signal precision loss (e.g. a helper that returns None for unrepresentable values).", "categor...
null
ryaker__SparrowDB__267
ryaker/SparrowDB
267
defect
e372df9fc396c0a53cba0f6b4924f04fb6204306
04430b8ae81accfb4766ea2c4ddbc861f782f6af
fix(engine): boolean property WHERE = true/false comparison (closes #264)
## **User description** ## Summary - Boolean node properties are stored as `Int64(0/1)` because the storage layer has no Bool type tag - `WHERE n.prop = true` returned 0 rows because `Value::Int64(1) != Value::Bool(true)` under derived `PartialEq` - Added `Bool↔Int64` cross-type coercion in `values_equal()` so `true ==...
diff --git a/crates/sparrowdb-execution/src/engine/mod.rs b/crates/sparrowdb-execution/src/engine/mod.rs index 10392b0c..14203af4 100644 --- a/crates/sparrowdb-execution/src/engine/mod.rs +++ b/crates/sparrowdb-execution/src/engine/mod.rs @@ -1584,6 +1584,13 @@ fn values_equal(a: &Value, b: &Value) -> bool { (...
3
1
0
[{"id": "G0", "claim": "The boolean-to-int coercion in values_equal could use the more idiomatic `*n == *b as i64` cast instead of the if/else expression.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The repeated database and data setup code a...
null
ryaker__SparrowDB__324
ryaker/SparrowDB
324
defect
72b169da2deb9dbca6df011f95713353c3e4e205
52f6424214e12436293e5e9d3c695a9b427a9415
fix(csr): per-label HWM for CSR builder (closes #309)
## **User description** ## Summary - **Bug**: `collect_maintenance_params` summed HWMs across all labels to compute `n_nodes` for CSR construction. Since each label has its own slot space starting from 0, the correct bound is `max(hwm(src_label), hwm(dst_label))` per rel table, not the sum. - **Fix**: Changed `Maintena...
diff --git a/crates/sparrowdb-storage/src/maintenance.rs b/crates/sparrowdb-storage/src/maintenance.rs index 1e5cf2c9..4572bcbe 100644 --- a/crates/sparrowdb-storage/src/maintenance.rs +++ b/crates/sparrowdb-storage/src/maintenance.rs @@ -54,25 +54,25 @@ impl MaintenanceEngine { /// Run CHECKPOINT over the given...
7
1
1
[{"id": "G0", "claim": "db_counts() no longer falls back to scanning the default rel table 0 when the catalog has no registered rel tables, so edge_count will be incorrectly reported as 0 for legacy databases that have edges only in the legacy table 0.", "category": "correctness", "verdict": "uncertain", "priority": "P...
null
ryaker__SparrowDB__358
ryaker/SparrowDB
358
defect
a16fbcbd892d95a0926a96c9a0e1fbbe7f944b66
db6747fa0c29a60f2144c326bdeee9ce5398e465
perf(engine): replace O(N²) deduplicate_rows with O(N) HashSet (Q4 DISTINCT)
## Summary - Replaces the O(N²) `any()`-scan in `deduplicate_rows` (`mod.rs:2435`) with an O(N) `HashSet<Vec<u8>>` keyed by bincode-encoded rows - All 11 call sites (`hop.rs`, `path.rs`, `scan.rs`, `aggregate.rs`) benefit automatically - Bincode encoding is type-tagged and deterministic, eliminating the false-collisio...
diff --git a/crates/sparrowdb-execution/src/engine/mod.rs b/crates/sparrowdb-execution/src/engine/mod.rs index 7cef7b46..3b8f5349 100644 --- a/crates/sparrowdb-execution/src/engine/mod.rs +++ b/crates/sparrowdb-execution/src/engine/mod.rs @@ -2433,15 +2433,18 @@ fn project_three_var_row( } fn deduplicate_rows(rows:...
2
2
2
[{"id": "G0", "claim": "Using unwrap_or_default() on bincode::serialize(row) silently maps any serialization failure to an empty key, so multiple distinct failing rows would collide and be dropped from DISTINCT results; it should panic instead (e.g. .expect()) since serialization of Vec<Value> is not expected to fail."...
null
ryaker__SparrowDB__365
ryaker/SparrowDB
365
defect
c3ba38eb82aad5d12cdd9030ee96c9d10228f45c
4a7c9e862615183d0234206161823f8ba7a26634
fix(engine): guard chunked pipeline against bare variable projection (closes #364)
## Summary - `can_use_chunked_pipeline` in `pipeline_exec.rs` lacked a guard for bare variable returns (`Expr::Var`). Queries like `MATCH (n:Label) RETURN id(n), labels(n), n` were routed to `execute_scan_chunked` → `project_row`, which hashes the string `"n"` as a col_id and finds no matching column, silently returni...
diff --git a/crates/sparrowdb-execution/src/engine/pipeline_exec.rs b/crates/sparrowdb-execution/src/engine/pipeline_exec.rs index 85c68b7a..f9548bff 100644 --- a/crates/sparrowdb-execution/src/engine/pipeline_exec.rs +++ b/crates/sparrowdb-execution/src/engine/pipeline_exec.rs @@ -97,6 +97,12 @@ impl Engine { ...
2
1
1
[{"id": "G0", "claim": "The code does not satisfy `cargo fmt --check` — CI reports formatting differences in the `if` condition in pipeline_exec.rs and in the match/assert blocks in regression_364.rs — and should be reformatted (e.g. with `cargo fmt`) so CI passes.", "category": "maintainability", "verdict": "supported...
null
ryaker__SparrowDB__370
ryaker/SparrowDB
370
defect
db941d37a29c2837fef10f88cf7a99a72b7c834b
13ecf2fd28a6c85e63e1776780a76a207b2c618e
fix(cypher): multi-clause CREATE patterns and CREATE…RETURN (closes #368)
## Summary - Fixed multi-clause `CREATE` patterns that were broken due to a compile error in `mutation.rs` - `CREATE (a:Person {name: "Alice"})-[r:KNOWS {since: 2020}]->(b:Person {name: "Bob"})` — inline path with edge props now works - `CREATE (a:Person), (b:Person)` — comma-separated node list now works - Also inclu...
diff --git a/crates/sparrowdb-cypher/src/ast.rs b/crates/sparrowdb-cypher/src/ast.rs index fec2ad69..15c6cc0d 100644 --- a/crates/sparrowdb-cypher/src/ast.rs +++ b/crates/sparrowdb-cypher/src/ast.rs @@ -213,6 +213,8 @@ pub struct CreateStatement { pub nodes: Vec<NodePattern>, /// Edges to create (each is (lef...
6
2
1
[{"id": "G0", "claim": "The current implementation of CREATE ... RETURN appears to only produce a single row of results, which the reviewer says is incorrect for CREATE statements with multiple comma-separated patterns, which should produce multiple rows when the RETURN items are not aggregated.", "category": "correctn...
null
ryaker__SparrowDB__371
ryaker/SparrowDB
371
defect
db941d37a29c2837fef10f88cf7a99a72b7c834b
8c42dc8ea352c0ff1c522ed2e3ee3420fbc5a240
fix(engine): resolve hop query AS alias projection returning Null (closes #369)
## Summary - Hop queries with `AS` aliases in `RETURN` (e.g. `MATCH (n)-[r]->(m) RETURN n.name AS from, type(r) AS rel, m.name AS to`) returned all-Null rows because projection logic matched on the alias string rather than the underlying expression - Two root causes fixed: `project_hop_row`/`project_three_var_row` now...
diff --git a/crates/sparrowdb-execution/src/engine/hop.rs b/crates/sparrowdb-execution/src/engine/hop.rs index d6b60119..7ddf09b5 100644 --- a/crates/sparrowdb-execution/src/engine/hop.rs +++ b/crates/sparrowdb-execution/src/engine/hop.rs @@ -135,10 +135,14 @@ impl Engine { "one-hop traversal start" ...
1
1
0
[{"id": "G0", "claim": "For collecting unique column IDs, using a HashSet would be more performant and idiomatic than the Vec with ids.contains(), whose time complexity can approach O(n^2) in the worst case for n items, whereas a HashSet would bring the average complexity down to O(n).", "category": "performance", "ver...
null
ryaker__SparrowDB__374
ryaker/SparrowDB
374
defect
4ffdf145b6f20474206a18a8d76189c4008dca59
d77d89bd00ad9c17b3f1742e17ed7621ff117f22
feat(cypher): implement SET clause for property updates (closes #373)
## Summary - **Parser**: Add `parse_set_items()` helper that parses comma-separated `var.prop = expr` assignments after the `SET` keyword. Multi-property SET (`SET n.age = 30, n.city = "NYC"`) now parses correctly. - **AST**: Change `MatchMutateStatement.mutation: Mutation` to `mutations: Vec<Mutation>` so a single `M...
diff --git a/crates/sparrowdb-cypher/src/ast.rs b/crates/sparrowdb-cypher/src/ast.rs index 15c6cc0d..200ba635 100644 --- a/crates/sparrowdb-cypher/src/ast.rs +++ b/crates/sparrowdb-cypher/src/ast.rs @@ -310,8 +310,11 @@ pub struct MatchMutateStatement { pub match_patterns: Vec<PathPattern>, /// Optional WHERE...
7
7
4
[{"id": "G0", "claim": "In all four match-mutate variants in db.rs the loops should be swapped so the SET expression is evaluated once per mutation instead of being re-evaluated for every matched node, which the PR's new node-outer/mutation-inner nesting made a per-node cost.", "category": "performance", "verdict": "su...
null
ryaker__SparrowDB__375
ryaker/SparrowDB
375
defect
4ffdf145b6f20474206a18a8d76189c4008dca59
7a43d39345500c7f009071cda0559805e9913158
fix(engine): id(n) in RETURN returns correct node ID (closes #372)
## Summary - `id(n)` in a RETURN clause (especially with an AS alias like `RETURN id(n) AS nid`) was returning Null instead of the node's internal integer ID - Root cause: `build_read_engine` enables the chunked pipeline, but the four `can_use_*_chunked` eligibility guards did not exclude queries with `id()` in RETURN...
diff --git a/crates/sparrowdb-execution/src/engine/hop.rs b/crates/sparrowdb-execution/src/engine/hop.rs index 7ddf09b5..c312eaa8 100644 --- a/crates/sparrowdb-execution/src/engine/hop.rs +++ b/crates/sparrowdb-execution/src/engine/hop.rs @@ -77,7 +77,11 @@ impl Engine { .map(|(catalog_id, sid, did, rt)| (...
3
3
0
[{"id": "G0", "claim": "Rename the `use_agg` variable in hop.rs to something more descriptive of its broader purpose (e.g. `use_raw_rows_path`), since it now also gates the execution path for id(n)/NodeRef-dependent RETURN items and not just aggregations.", "category": "maintainability", "verdict": "supported", "priori...
null
ryaker__SparrowDB__376
ryaker/SparrowDB
376
defect
394c6e6630a2f16d5c0256d759312bc9c35ae471
2ec87e4c0f58b2a7d8bce53b9525d068c95f56ba
fix(mcp): merge_node_by_property uses MATCH+SET/CREATE instead of unsupported MERGE
## Summary - `merge_node_by_property` was emitting a `MERGE` Cypher statement that the parser doesn't support yet, causing the tool to always fail - Replaced the single `MERGE` query with two-path logic using only supported Cypher - The pre-existence count query was already in place; this fix wires it into query selec...
diff --git a/.mcp.json b/.mcp.json deleted file mode 100644 index f17db3b0..00000000 --- a/.mcp.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "linear": { - "type": "http", - "url": "https://mcp.linear.app/mcp" - } -} diff --git a/crates/sparrowdb-mcp/src/main.rs b/crates/sparrowdb-mcp/src/main.rs index 92ea8dc5..2837...
2
1
0
[{"id": "G0", "claim": "The property validation and Cypher-value conversion loop in the CREATE branch duplicates the logic that builds set_parts in the MATCH+SET branch, and should be refactored into shared logic used by both branches.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": ...
null
ryaker__SparrowDB__383
ryaker/SparrowDB
383
defect
1ad2eb34814ef69946e16880e2b99586dff36293
c346b185c4cb944c5aad33b88e4a4d32de4cdf2c
fix(engine): CASE WHEN expression returns correct branch value (closes #363)
## Summary - **Root cause**: In `execute_scan` and `execute_scan_multi_label`, ORDER BY, DISTINCT, SKIP, and LIMIT were gated inside the `else` branch of `if use_eval_path`. Since CASE WHEN expressions set `use_eval_path=true`, these post-processing steps were silently skipped whenever CASE WHEN appeared in the RETURN...
diff --git a/crates/sparrowdb-execution/src/engine/scan.rs b/crates/sparrowdb-execution/src/engine/scan.rs index 5ef441d3..3cff3a20 100644 --- a/crates/sparrowdb-execution/src/engine/scan.rs +++ b/crates/sparrowdb-execution/src/engine/scan.rs @@ -2171,24 +2171,27 @@ impl Engine { if use_eval_path { ...
1
1
0
[{"id": "G0", "claim": "The DISTINCT/ORDER BY/SKIP/LIMIT block is duplicated across several scan functions, and this logic should be extracted into a single private helper function to improve maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ryaker__SparrowDB__386
ryaker/SparrowDB
386
defect
6a7bf3c7293145f0c7ac7b167e33d28736d4b437
d0e89639eb4874dfe8f2cfc2b9657155d5137739
fix(engine): relationship property values return correct value on MATCH traversal (closes #367)
## Summary - **Root cause**: `can_use_one_hop_chunked` in `pipeline_exec.rs` did not guard against inline relationship property filters (`[r:KNOWS {weight: 0.9}]`). Queries with such filters were routed to the chunked pipeline, which has no edge-property read or filter stage — so the inline filter was silently ignored...
diff --git a/crates/sparrowdb-execution/src/engine/pipeline_exec.rs b/crates/sparrowdb-execution/src/engine/pipeline_exec.rs index 16c162d5..ecd313dd 100644 --- a/crates/sparrowdb-execution/src/engine/pipeline_exec.rs +++ b/crates/sparrowdb-execution/src/engine/pipeline_exec.rs @@ -202,6 +202,12 @@ impl Engine { ...
1
1
0
[{"id": "G0", "claim": "The chunked two-hop path (can_use_two_hop_chunked) and the mutual-neighbors path (can_use_mutual_neighbors_chunked) lack a guard against inline relationship property filters (rel.props), so a query like MATCH (a)-[r1:KNOWS {weight: 0.9}]->(b)-[r2:KNOWS]->(c) would hit the same incorrect handling...
null
ryaker__SparrowDB__390
ryaker/SparrowDB
390
defect
4d66e2802edfea3e2a41ed3b4e0f36b01fd06e1d
d01b5e5d35dde4a9716e2e19e72434df5df7ca45
fix(cypher): implement ON CREATE SET / ON MATCH SET for MERGE (closes #380)
## Summary - `ON CREATE SET` and `ON MATCH SET` clauses after `MERGE` were previously silently discarded via `skip_on_clause()` in the parser - Parser now captures them into two new `MergeStatement` fields: `on_create_set` and `on_match_set` (both `Vec<Mutation>`) - Executor detects create-vs-match by observing `dirty...
diff --git a/crates/sparrowdb-cypher/src/ast.rs b/crates/sparrowdb-cypher/src/ast.rs index 200ba635..3abc3e4b 100644 --- a/crates/sparrowdb-cypher/src/ast.rs +++ b/crates/sparrowdb-cypher/src/ast.rs @@ -266,6 +266,10 @@ pub struct MergeStatement { pub props: Vec<PropEntry>, /// Optional RETURN clause projecti...
2
2
1
[{"id": "G0", "claim": "In execute_merge_with_params, ON CREATE/MATCH SET values are resolved with expr_to_value, which resolves any $parameter reference to the default value 0 instead of its actual value; expr_to_value_with_params should be used instead.", "category": "correctness", "verdict": "supported", "priority":...
null
ryaker__SparrowDB__391
ryaker/SparrowDB
391
defect
4d66e2802edfea3e2a41ed3b4e0f36b01fd06e1d
09e6ec7abda2ec0ad6f4f295a1bafe0d5212252e
feat(cypher): implement DETACH DELETE (closes #379)
## Summary - Add `DetachDelete { var }` variant to the `Mutation` enum in `ast.rs` - Parse `DETACH DELETE <var>` (with and without WHERE clause) in `parser.rs` - Implement `WriteTx::detach_delete_node` that collects all incident edges (from delta log and CSR forward/backward files) and deletes them before queuing a `N...
diff --git a/crates/sparrowdb-cypher/src/ast.rs b/crates/sparrowdb-cypher/src/ast.rs index 200ba635..47d461bd 100644 --- a/crates/sparrowdb-cypher/src/ast.rs +++ b/crates/sparrowdb-cypher/src/ast.rs @@ -301,6 +301,8 @@ pub enum Mutation { }, /// `DELETE var` Delete { var: String }, + /// `DETACH DELET...
5
5
4
[{"id": "G0", "claim": "The early `continue` when `rel_type` is empty makes `DETACH DELETE` skip incident edges in relationship tables not named in the catalog (such as legacy table-0 edges), leaving dangling edges behind because the `delete_node` safety check is bypassed; the unnamed tables should be handled directly ...
null
ryaker__SparrowDB__392
ryaker/SparrowDB
392
defect
7da6144aa20cda62b6b0d376484ca8e15394441d
b8495bd9cbc26b3814c298debcc7dfae20505b1d
feat(transport): add Bolt protocol server for gdotv compatibility (closes #388)
## Summary - New crate `sparrowdb-bolt` implementing a Bolt v4.x TCP server on port 7687 - Implements PackStream v1 encoding/decoding and chunked transport framing from scratch - Full Bolt state machine: HELLO → READY → RUN/PULL → STREAMING with RESET/GOODBYE support - Routes Cypher queries to `GraphDb::execute()` and ...
diff --git a/Cargo.toml b/Cargo.toml index 35fa5674..232d0f7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ members = [ "crates/sparrowdb-metrics", "crates/sparrowdb-bench", "crates/sparrowdb-ruby", + "crates/sparrowdb-bolt", ] [workspace.package] diff --git a/crates/sparrowdb-bolt/Ca...
13
9
8
[{"id": "G0", "claim": "read_chunked_message has no limit on the accumulated message size, so a malicious client sending endless chunks can exhaust memory (DoS); enforce a maximum size.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "write_chunked_messa...
null
ryaker__SparrowDB__393
ryaker/SparrowDB
393
defect
27f8e2b93fcf5ba77bbfa095336d6df56dfb8cf0
bee1cfa993a876a40fe995cea5e56f1004cded53
fix(bolt): gdotv compatibility + path variable parser + Bolt docs
## Summary - **Neo4j identity spoof**: `hello_success_meta()` now returns `Neo4j/5.20.0` — gdotv (and other Bolt clients) validate the server string against `Neo4j/` prefix and reject unknown vendors - **Path variable parser**: `MATCH p = (a)-[r]->(b)` now parses without error; adds `PathPattern::path_var: Option<Stri...
diff --git a/crates/sparrowdb-bolt/src/handler.rs b/crates/sparrowdb-bolt/src/handler.rs index a872bf03..9a5dd217 100644 --- a/crates/sparrowdb-bolt/src/handler.rs +++ b/crates/sparrowdb-bolt/src/handler.rs @@ -433,7 +433,9 @@ fn sparrow_to_bolt(val: &Value) -> BoltValue { fn hello_success_meta() -> HashMap<String, ...
5
3
3
[{"id": "G0", "claim": "Add a language tag (e.g. ```text) to the fenced code block at docs/bolt-server.md line 69, which markdownlint flags under MD040.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docs describe BEGIN/COMMIT/ROLLBACK as succ...
null
ryaker__SparrowDB__397
ryaker/SparrowDB
397
defect
27f8e2b93fcf5ba77bbfa095336d6df56dfb8cf0
e2bafde9941b9d736dbf82f486cd5067bcf0ff63
feat(cypher): general CALL { } subquery support (closes #290)
## Summary - Adds `CALL { }` unit subquery: executes inner statement independently, extends outer result - Adds correlated `CALL { WITH var ... }` subquery: seeds inner execution with outer row bindings - Aggregate-aware: inner RETURN with `count()` / `sum()` etc. routes through aggregate engine (Neo4j-compatible zero...
diff --git a/crates/sparrowdb-cypher/src/ast.rs b/crates/sparrowdb-cypher/src/ast.rs index 3abc3e4b..bfa292bf 100644 --- a/crates/sparrowdb-cypher/src/ast.rs +++ b/crates/sparrowdb-cypher/src/ast.rs @@ -377,6 +377,15 @@ pub enum PipelineStage { /// `UNWIND alias_expr AS new_alias` — unwind a list variable from the...
12
11
5
[{"id": "G0", "claim": "The env map is rebuilt for every row of the subquery result, which is inefficient due to repeated allocations and string cloning; it should only be built when non-variable expressions are present in the RETURN clause, and ideally lazily.", "category": "performance", "verdict": "supported", "prio...
null
ryaker__SparrowDB__407
ryaker/SparrowDB
407
defect
fd646259d99a6341af8ba40cff229be5fbf1bf08
067302f687d8e1be4f12d2f049c3f6ca7b246165
feat(server): HTTP transport (Phase A) — sparrowdb-server crate (closes #291 phase A)
## Summary Introduces a new `sparrowdb-server` workspace crate exposing a synchronous JSON HTTP API for SparrowDB — Phase A of issue #291 / SPA-231. Unblocks browser/web backends, language-agnostic clients (curl, Go, Java without drivers), and remote multi-client deployments. Built on `tiny_http` to fit the existing S...
diff --git a/Cargo.toml b/Cargo.toml index f116f719..3487876b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ members = [ "crates/sparrowdb-bench", "crates/sparrowdb-ruby", "crates/sparrowdb-bolt", + "crates/sparrowdb-server", ] [workspace.package] diff --git a/crates/sparrowdb-server/C...
2
2
1
[{"id": "G0", "claim": "The `constant_time_eq` helper returns early when the slice lengths differ, leaking the expected token's length via timing, and its doc comment claims it walks the longer of the two slices, contradicting the code; if length privacy is required the comparison should be performed without early retu...
null
ryaker__SparrowDB__408
ryaker/SparrowDB
408
defect
f73d290a4fa8f52735d92b77c4e18f687ed896c2
676f42d433922cc22a46c36ca58f604e36b39be4
fix(storage): read_col_slot returns Ok(0) for out-of-range slots (SPA-406)
## Summary - `read_col_slot` was returning `Err(Error::NotFound)` when `slot` fell beyond the end of a column file - This caused all relationship-pattern queries (`MATCH ()-[r]->() RETURN count(r)`, `MATCH (n:Label)-[r]->()`, etc.) to fail with "not found" on any DB where the HWM for a label exceeds the length of one ...
diff --git a/crates/sparrowdb-storage/src/node_store.rs b/crates/sparrowdb-storage/src/node_store.rs index d271f439..65dda25c 100644 --- a/crates/sparrowdb-storage/src/node_store.rs +++ b/crates/sparrowdb-storage/src/node_store.rs @@ -610,6 +610,12 @@ impl NodeStore { /// Returns `Ok(0)` when the column file does ...
1
1
0
[{"id": "G0", "claim": "The test's hardcoded absolute path to a specific user's home directory (/Users/ryaker/.kms-sparrowdb-v2) makes it non-portable, so it should be refactored to use a portable data source or removed before merging if it was only meant for local debugging.", "category": "testing", "verdict": "suppor...
null
ryaker__SparrowDB__410
ryaker/SparrowDB
410
defect
bd744d30cf207bde40c161f786a5aa592e978d42
fffea36cf653f1397cb5e8c664dd58dc3e51d26a
fix(node): SET with $vector_param now populates HNSW (closes silent-data-loss surfaced by KMSmcp ch#202)
## Summary - **Root cause**: `execute_match_mutate_with_params` (the `MATCH … SET n.embedding = $emb` handler) stored the property via `tx.set_property` but never called `idx.insert` on the HNSW vector index. The MERGE write-path had the correct logic at `db.rs:1396–1420`; the MATCH+SET path was simply missing it. Res...
diff --git a/crates/sparrowdb-node/src/lib.rs b/crates/sparrowdb-node/src/lib.rs index 4fd82290..d2c9ef54 100644 --- a/crates/sparrowdb-node/src/lib.rs +++ b/crates/sparrowdb-node/src/lib.rs @@ -357,6 +357,110 @@ impl SparrowDB { .map_err(to_napi_typed) } + /// Directly insert a vector into the H...
6
6
5
[{"id": "G0", "claim": "Directly interpolating the user-supplied `label` string into the Cypher lookup query in `add_to_vector_index` poses a Cypher injection risk, and the label should be validated to allow only alphanumeric characters and underscores before interpolation.", "category": "security", "verdict": "support...
null
ryaker__SparrowDB__59
ryaker/SparrowDB
59
defect
56b51d9b71a4414ad9c38bfb383277e58a4b18e1
35f62c0bbd99b5860054ed1b80fdcc21ba9aa78d
fix(engine): resolve $param in UNWIND from query parameters map — SPA-190
## **User description** ## Summary - `UNWIND $param AS x` previously always returned an empty list because `eval_list_expr` had a stub that discarded the parameter name without looking it up - Added `params: HashMap<String, Value>` field to `Engine`, populated via a new `Engine::with_params(map)` builder method - Upda...
diff --git a/crates/sparrowdb-execution/src/engine.rs b/crates/sparrowdb-execution/src/engine.rs index 77a04858..d2f83170 100644 --- a/crates/sparrowdb-execution/src/engine.rs +++ b/crates/sparrowdb-execution/src/engine.rs @@ -30,6 +30,8 @@ pub struct Engine { pub catalog: Catalog, pub csr: CsrForward, p...
3
1
1
[{"id": "G0", "claim": "execute_with_params routes mutation statements (MERGE/SET/CREATE) into legacy executors that never bind runtime parameters, so $param values are silently written as 0/null and it should fail fast with an error until mutation parameter binding is implemented.", "category": "correctness", "verdict...
null
ryaker__SparrowDB__80
ryaker/SparrowDB
80
defect
1ac7645829099262f84d38674e1f5ddafbfc629a
3e3d5c49072f32a4617d8a1e622558c87106c0af
feat(engine): reject __SO_ reserved label prefix — SPA-208
## **User description** ## Summary - Adds `is_reserved_label(label: &str) -> bool` helper that returns `true` when a label/type starts with `__SO_` - Rejects reserved labels in all three CREATE execution paths: node-only `execute_create` (engine.rs), standalone `execute_create_standalone` (lib.rs), and `execute_match_...
diff --git a/.claude/agents/pr-fixer.md b/.claude/agents/pr-fixer.md new file mode 100644 index 00000000..a563a148 --- /dev/null +++ b/.claude/agents/pr-fixer.md @@ -0,0 +1,41 @@ +--- +name: pr-fixer +description: Fix PR review feedback. Reads review comments, applies code fixes, commits and pushes. Use when PRs have r...
10
5
2
[{"id": "G0", "claim": "Reserved-prefix validation is applied only in the CREATE execution paths, so other write paths that can create labels or relationship types, such as MERGE or label registration, still need to enforce the same restriction or the __SO_ namespace protection can be bypassed.", "category": "security"...
null
ryaker__SparrowDB__84
ryaker/SparrowDB
84
defect
a5d6d4ecc3818fc8e014522fc26b72afda4aa944
40ba782beb5337bc4f95dec092e3ddd3b05deddc
fix(cli): compute real node_count and edge_count in info command (SPA-217)
## **User description** ## Summary - `sparrowdb info` now reports real node and edge counts instead of `null` - Added `GraphDb::db_counts()` that sums `hwm_for_label` across all catalog labels for node count, and sums CSR base edges + delta-log record counts across all registered relationship tables for edge count - Ed...
diff --git a/crates/sparrowdb-cli/src/main.rs b/crates/sparrowdb-cli/src/main.rs index 1f90e22b..71a54f9e 100644 --- a/crates/sparrowdb-cli/src/main.rs +++ b/crates/sparrowdb-cli/src/main.rs @@ -102,12 +102,12 @@ fn cmd_info(db_path: &std::path::Path) -> Result<(), Box<dyn std::error::Error>> let db = sparrowdb::G...
7
3
2
[{"id": "G0", "claim": "The count logic converts catalog and storage read failures into 0 via fallbacks, so `sparrowdb info` can appear successful even when the underlying metadata or edge files are unreadable or corrupted, hiding real storage problems; this should be validated instead.", "category": "correctness", "ve...
null
ryankurte__embedded-hal-compat__36
ryankurte/embedded-hal-compat
36
defect
89aba1c2407af85e2171e35fe35ed8d38b4e0971
653e88fe40b555665d36efe3dde6e17205e7ec9a
Impl `embedded_hal_async::digital::Wait` for `Forward`
This is useful with crates like `atsamd-hal`, that use a lot of old/new embedded-hal traits interchangeably.
diff --git a/Cargo.toml b/Cargo.toml index 0085af5..ca8de4f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,9 @@ features = [ "unproven" ] package = "embedded-hal" version = "1.0.0" +[dependencies.eh1_0_async] +package = "embedded-hal-async" +version = "1.0.0" [package.metadata.docs.rs] # To build locally...
1
1
1
[{"id": "G0", "claim": "The pull request should add a CHANGELOG entry and raise the MSRV to 1.75.0.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ryansolid__dom-expressions__373
ryansolid/dom-expressions
373
defect
0b443c840da7bd026c74dc35f85ad74731c19cf8
53a895c344bd52c7d4cb1410611ced9108bf9430
attributes/properties transformation & custom elements defaulting to attributes
It includes two changes: 1. avoids transforming case and dashes for attributes/properties. 2. It doesn't default to `properties` in custom elements. It defaults to `attributes`. Rationality: Seems like numerous people expect custom elements to just receive attributes [1](https://discord.com/channels/72213146313...
diff --git a/packages/babel-plugin-jsx-dom-expressions/src/dom/element.js b/packages/babel-plugin-jsx-dom-expressions/src/dom/element.js index b248a141b..a23e7e682 100644 --- a/packages/babel-plugin-jsx-dom-expressions/src/dom/element.js +++ b/packages/babel-plugin-jsx-dom-expressions/src/dom/element.js @@ -16,7 +16,6 ...
4
1
0
[{"id": "G0", "claim": "The `isCE` special-casing is no longer needed: for any element, custom element or not, the attribute should be set (except for the special cases).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "component-register (the base of soli...
null
ryansolid__dom-expressions__464
ryansolid/dom-expressions
464
defect
ea535d9f9d3b3747a0f502bac4def8284b4fec00
0ca458bb5ff5351b11dc554e26bf36100aff7be9
Custom seroval plugins
For streaming ssr in tanstack start, I've found we need to allow passing in the custom serval plugins that are used with tanstack router. Otherwise there's a mismatch
diff --git a/packages/dom-expressions/src/serializer.js b/packages/dom-expressions/src/serializer.js index 1e68aab1a..d075968ed 100644 --- a/packages/dom-expressions/src/serializer.js +++ b/packages/dom-expressions/src/serializer.js @@ -19,24 +19,30 @@ const ES2017FLAG = const GLOBAL_IDENTIFIER = '_$HY.r'; // TODO t...
1
1
0
[{"id": "G0", "claim": "Remove the debug console.log statements added in createSerializer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
rymdport__portal__25
rymdport/portal
25
defect
01112360d2cbed22e2fd0f8474e125fb8fa3b907
76d4d173aac56454a8c9fd357c05b37fd3ad6c2a
Add support for USB portal
### Description: This implements the USB portal (https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Usb.html). I'm planning on using this - or better, a potential future serial port terminal - in https://codeberg.org/pojntfx/runway. Adds all the methods and signals. Skipped the `version`...
diff --git a/README.md b/README.md index 4fc50ac..e4c9038 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ The list below contains all of the portal interfaces available within the projec - [x] Session - [x] Settings - [x] Trash -- [ ] Usb +- [x] Usb - [x] Wallpaper diff --git a/cmd/usb/main.go b/cmd/...
2
1
0
[{"id": "G0", "claim": "The cmd/usb CLI command could instead be made into an example for the API docs of the usb package (Go example-test convention).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "UnixFDToUintptr seems to be a copy of a similar functio...
null
ryoppippi__ccusage__21
ryoppippi/ccusage
21
defect
d9faede9b8b90fb14cf3b71ae2640fcf8d2252f3
74b9867816e24e5dde12c42786646355da2f93ab
feat: add monthly usage report command
# feat: add monthly usage report command ## 📋 Summary This PR implements a new `monthly` subcommand that aggregates Claude Code token usage and costs by month (YYYY-MM format), providing users with a higher-level view of their usage trends over time. The implementation maintains full feature parity with the e...
diff --git a/CLAUDE.md b/CLAUDE.md index 09d6e438a..f8d4580f7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,10 +16,13 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co **Development Usage:** - `bun run start daily` - Show daily usage report +- `bun run start monthly` - Show monthly...
3
2
2
[{"id": "G0", "claim": "The unit tests for monthly aggregation never invoke aggregateByMonth; they only assert on predefined expected data, so the core aggregation logic is untested, and the tests should be refactored to export, import and call aggregateByMonth directly.", "category": "testing", "verdict": "supported",...
null
ryoppippi__ccusage__24
ryoppippi/ccusage
24
defect
26271efa878be27a6867bc1eef30eb0e31c542fb
619c4fc286057c0c6702150774b8cc63a1b4b851
feat: add sort order support
# Add Sort Order Support for Daily and Monthly Reports Feature #11 ## Summary This PR adds a new `--order` (`-o`) flag to control the sort order of dates in both daily and monthly usage reports. Users can now choose between descending (newest first, default) and ascending (oldest first) order, providing more f...
diff --git a/README.md b/README.md index bf5aadc9f..35e916151 100644 --- a/README.md +++ b/README.md @@ -194,6 +194,7 @@ All commands support the following options: - `-p, --path <path>`: Custom path to Claude data directory (default: `~/.claude`) - `-j, --json`: Output results in JSON format instead of table - `-m,...
4
3
1
[{"id": "G0", "claim": "The sort-order type and its choices should be defined in types.ts rather than inline in shared-args.ts (\"fix the type definition\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The session command's results should als...
null
ryoppippi__ccusage__7
ryoppippi/ccusage
7
defect
3a54e4651ce4d4d01e1687dc7d3ee17eae6449bd
4986501b9d12cdeb05c721ab963032efc3f80dae
chore: move files under src directory
fixes: #2 This pull request introduces several updates to the project structure, including changes to file paths, package scripts, and configuration settings. The most significant updates involve reorganizing the codebase to use a `src` directory for source files, modifying import paths, and adjusting package scripts ...
diff --git a/CLAUDE.md b/CLAUDE.md index e41004b51..66c787360 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -15,13 +15,13 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co - `bun run release` - Full release workflow (lint + typecheck + test + build + version bump) **Development Usage:*...
6
1
1
[{"id": "G0", "claim": "The tsdown entry glob only includes top-level files under src/ and omits subdirectories like src/commands; it should use \"./src/**/*.ts\" to include all source modules.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In src/i...
null
ryoppippi__ccusage__70
ryoppippi/ccusage
70
defect
8a032191e93b3a16d3a7efb9543dc32fd952c5cc
03c81b9ca020931a117e66d82d8987fa519fd301
feat!: specify claude dir with `CLAUDE_CONFIG_DIR` and remove `-p`/`--path` option
## Summary - **Remove -p short option**: Removed the \`-p\` short option since Claude data directory can now be configured via \`CLAUDE_CONFIG_DIR\` environment variable - **Remove --path option entirely**: Completely removed the \`--path\` CLI option to simplify the interface and encourage environment variable usage ...
diff --git a/README.md b/README.md index cf3dfa7fe0..d17e70b8c8 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,10 @@ ccusage daily --since 20250525 --until 20250530 # Use custom Claude data directory ccusage daily --path /custom/path/to/.claude +# Or set CLAUDE_CONFIG_DIR environment variable +export CLAUDE_...
8
4
2
[{"id": "G0", "claim": "Remove the `-p`/`--path` option from the CLI and its README documentation instead of keeping it alongside `CLAUDE_CONFIG_DIR`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please use Conventional Commits, marking the breaking `-...
null
rytilahti__python-miio__1006
rytilahti/python-miio
1,006
defect
043bae6a386cebd23baa1b81dcf9a92e98588eb8
9845f08b95d6a406d57175f972e5cd4b0b8a87bf
Roborock S7: Parse history details returned as dict
I noticed, that history details as of FW 4.1.2_0928 for this vacuum also come formatted as a dict (similar behavior see #990). This PR also tries to fix #1004 (robot has an empty cleaning record)
diff --git a/miio/tests/test_vacuum.py b/miio/tests/test_vacuum.py index 7ab44ee69..f125f0d2e 100644 --- a/miio/tests/test_vacuum.py +++ b/miio/tests/test_vacuum.py @@ -196,6 +196,8 @@ def test_history(self): assert self.device.clean_history().dust_collection_count is None + assert self.devi...
1
1
0
[{"id": "G0", "claim": "The records assignment should be shortened to a ternary so that the records check in the ids getter can be removed and the getter made simpler.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
rytilahti__python-miio__1072
rytilahti/python-miio
1,072
defect
6ab46654f3158f765571380f6928bb16baa85896
e23a45ba455821ce07792519bf850a097e7d3919
Added support for Roidmi Eve
I have added support for robot Roidmi Eve (Robot vacuum cleaner). Many status values are implemented and many features are implemented e.g.: start-clean, stop, go-home, set_sound_volume, set_cleaning_mode, set_sweep_type, set_work_station_freq, start_dust, etc. I do not know the syntax to activate cleaning o...
diff --git a/README.rst b/README.rst index 169ff721f..fee408a20 100644 --- a/README.rst +++ b/README.rst @@ -97,6 +97,7 @@ Supported devices - Xiaomi Mijia 360 1080p - Xiaomi Mijia STYJ02YM (Viomi) - Xiaomi Mijia 1C STYTJ01ZHM (Dreame) +- Xiaomi Roidmi Eve - Xiaomi Mi Smart WiFi Socket - Xiaomi Chuangmi Plug...
31
29
8
[{"id": "G0", "claim": "The issue-URL comment below the module docstring should be removed (empty suggestion block).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "RoidmiVacuumStatus should extend DeviceStatus directly and use names and return t...
null
rytilahti__python-miio__1089
rytilahti/python-miio
1,089
defect
b9393f3a1c40d84d686cf1cee915275c6ee3ecaf
29e12348e00734c3beb6e24f2218feab64afea71
Add `water_level` and `water_tank_detached` property for humidifiers, deprecate `depth`
This PR: - adds `water_level` property for AirHumidifier (value is calculated from `depth`) - adds `water_tank_detached` for AirHumidifier (value is calculated from `depth`) - fixes `water_level` calculation for AirHumidifierMiot - adds `water_tank_detached` for AirHumidifierMiot (value is calculated from `water_le...
diff --git a/miio/airhumidifier.py b/miio/airhumidifier.py index 3c6eb6c37..8557bff01 100644 --- a/miio/airhumidifier.py +++ b/miio/airhumidifier.py @@ -185,15 +185,29 @@ def motor_speed(self) -> Optional[int]: @property def depth(self) -> Optional[int]: - """The remaining amount of water in percent....
1
1
1
[{"id": "G0", "claim": "The changed `depth` property should be marked deprecated with a logger warning guiding users to the new `water_level` and `water_tank_detached` properties before merging.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
rytilahti__python-miio__1160
rytilahti/python-miio
1,160
defect
c53595f7d028e1aa26aaa1e4e194bcff614f7bc7
1ae5ce134f2cb217b1de21a7f0286cb878e1f358
create separate directory for yeelight
Based on https://github.com/rytilahti/python-miio/pull/1094#pullrequestreview-769683812 but I believe the "moving" PR could be separate. This PR only move the yeelight code to the folder. Next PR will be soon. @rytilahti could you merge this one?
diff --git a/miio/yeelight.py b/miio/yeelight/__init__.py similarity index 98% rename from miio/yeelight.py rename to miio/yeelight/__init__.py index 6635c8cfb..f67a2d68d 100644 --- a/miio/yeelight.py +++ b/miio/yeelight/__init__.py @@ -3,10 +3,10 @@ import click -from .click_common import command, format_output -...
2
2
2
[{"id": "G0", "claim": "The yeelight module should be moved under integrations/yeelight/ and use absolute imports (e.g. from miio.device import Device, DeviceStatus) so integrations are separated from the main miio code-base and self-contained.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ...
null
rytilahti__python-miio__1236
rytilahti/python-miio
1,236
defect
4342e3df10af78a508796ac44ab9f04986e535dd
8a7c95abe645872926faed48253ba497a4347d52
Add Roborock S7 mop scrub intensity
The Roborock S7 has the option to control the scrub intensity with four different settings: - Close (raised position) - Mild - Moderate - Intense The way to control these settings is actually identical to the current waterflow code using `self.send("get_water_box_custom_mode")` and `self.send("set_water_box_cu...
diff --git a/miio/integrations/vacuum/roborock/vacuum.py b/miio/integrations/vacuum/roborock/vacuum.py index 657f2191f..f31c76728 100644 --- a/miio/integrations/vacuum/roborock/vacuum.py +++ b/miio/integrations/vacuum/roborock/vacuum.py @@ -114,6 +114,15 @@ class MopMode(enum.Enum): Deep = 301 +class MopIntens...
3
2
2
[{"id": "G0", "claim": "The new mop_intensity and set_mop_intensity methods should check that self.model is the expected model and raise an exception otherwise.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A couple of tests should be added so the ...
null
rytilahti__python-miio__1247
rytilahti/python-miio
1,247
defect
d82121cff9ad019d18e57f0e732ed849d7f3469f
a0a7db301a15581fb0c28ad5b61e5f0f65ffb6f2
yeelight: use and expose the color temp range from specs
This PR is next stage to integrate spec file. For more information look to https://github.com/rytilahti/python-miio/pull/1094 @rytilahti I decided that it would be easier to go function by function and at the end try to add support for background lighting. It's slower, but honestly I don't see any other way to move...
diff --git a/miio/integrations/yeelight/__init__.py b/miio/integrations/yeelight/__init__.py index 0010d74c8..c569c40c9 100644 --- a/miio/integrations/yeelight/__init__.py +++ b/miio/integrations/yeelight/__init__.py @@ -363,7 +363,10 @@ def set_brightness(self, level, transition=0): ) def set_color_temp(self...
3
2
1
[{"id": "G0", "claim": "The color_temp range changes in specs.yaml (e.g. ceiling22 2700/6500 -> 2600/6100, strip2 -> 1700/6500) may be unintentional and should be confirmed as on purpose.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "This PR shou...
null
rytilahti__python-miio__1290
rytilahti/python-miio
1,290
defect
9bc6b65ce846707db7e83d403dd2c71d4e6bfa31
87cb3ba48c4c822616e0c840c696c4ce59921e9f
Dreame F9 Vacuum (dreame.vacuum.p2008) support
This PR adds support for Dreame F9 Vacuum (dreame.vacuum.p2008) https://home.miot-spec.com/spec?type=urn%3Amiot-spec-v2%3Adevice%3Avacuum%3A0000A006%3Adreame-p2008%3A1
diff --git a/README.rst b/README.rst index a7b15868a..1babcfed6 100644 --- a/README.rst +++ b/README.rst @@ -111,6 +111,7 @@ Supported devices - Xiaomi Mijia 360 1080p - Xiaomi Mijia STYJ02YM (Viomi) - Xiaomi Mijia 1C STYTJ01ZHM (Dreame) +- Dreame F9 - Xiaomi Mi Home (Mijia) G1 Robot Vacuum Mop MJSTG1 - Xiao...
10
9
6
[{"id": "G0", "claim": "The PR should extend the existing Dreame implementation as a single class that adjusts mapping and features based on self.model, instead of having separate per-model implementation classes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
rytilahti__python-miio__1357
rytilahti/python-miio
1,357
defect
af1e31a6208f1ea1e6c49e7614c48dd08c37ecaa
56358bcde1b9c12352741d7c406c1bf36863faf7
Add support for Air Purifier 4 (zhimi.airp.mb5)
This fixes #1352 https://home.miot-spec.com/spec/zhimi.airp.mb5 VA2 code shares everything that python-miio needs.
diff --git a/README.rst b/README.rst index cd9eb212f..34d5fafe5 100644 --- a/README.rst +++ b/README.rst @@ -103,7 +103,7 @@ Supported devices - Xiaomi Mi Robot Vacuum V1, S4, S4 MAX, S5, S5 MAX, S6 Pure, M1S, S7 - Xiaomi Mi Home Air Conditioner Companion - Xiaomi Mi Smart Air Conditioner A (xiaomi.aircondition.m...
1
1
0
[{"id": "G0", "claim": "The repeated model equality or-chain should be written as a tuple membership test, `if self.model in (\"zhimi.airp.va2\", \"zhimi.airp.mb5\"):`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
rytilahti__python-miio__1384
rytilahti/python-miio
1,384
defect
7269b15da9c26b99c5353025adfefc4b9c69f0e0
ed32d1a8586c00d4528625eb3182974e23b93599
Add device_id property to Device class
This PR adds new `device_id` property to `Device` class. The `device_id` is part of the handshake reply and thus available also on devices with unknown tokens (i.e., it can be useful for use cases where the token is extract from the cloud or other external sources). This is also needed for push server implementatio...
diff --git a/miio/device.py b/miio/device.py index e2db13833..0ff5cbb9d 100644 --- a/miio/device.py +++ b/miio/device.py @@ -168,6 +168,13 @@ def _fetch_info(self) -> DeviceInfo: "Unable to request miIO.info from the device" ) from ex + @property + def device_id(self): + """...
6
6
4
[{"id": "G0", "claim": "Do not modify miio/miioprotocol.py at all — its internals should not be touched or exposed outside the new device_id property.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The device_id property's fallback for an unknown device ...
null
rytilahti__python-miio__1497
rytilahti/python-miio
1,497
defect
ee94732e879c8af35e4abcd850550a2c7c1c04f4
fc9a9b9be15900de26cc8f1e031492024f4c69ef
Add support Mi Robot Vacuum-Mop 2 Pro (ijai.vacuum.v3)
Add support Mi Robot Vacuum-Mop 2 Pro (ijai.vacuum.v3) Fixes #1388 fixes #1385
diff --git a/miio/integrations/vacuum/mijia/__init__.py b/miio/integrations/vacuum/mijia/__init__.py index 2ebcbbdb3..8d737a529 100644 --- a/miio/integrations/vacuum/mijia/__init__.py +++ b/miio/integrations/vacuum/mijia/__init__.py @@ -1,2 +1,3 @@ # flake8: noqa from .g1vacuum import G1Vacuum +from .pro2vacuum impor...
12
11
3
[{"id": "G0", "claim": "The reviewer asks whether the pro2 implementation differs enough from the g1 to require a separate implementation file, suggesting that if the changes are minor code duplication could be avoided.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
rytilahti__python-miio__1520
rytilahti/python-miio
1,520
defect
207a053d5abede0616a7c74cdfd2f5bb5c209a53
a85e42f82dee0da682f9010ad4441168093e519b
Fix roborock timers' next_schedule on repeated requests
Every call to `get_next` of a `croniter` instance returns a different timestamp (because it's a **cron** **iter**ator). ```python3 from croniter import croniter from datetime import datetime cron = croniter("* * * * *", datetime(2022, 1, 1)) cron.get_next(ret_type=datetime) # returns datetime.datetime(2022, ...
diff --git a/miio/integrations/vacuum/roborock/vacuumcontainers.py b/miio/integrations/vacuum/roborock/vacuumcontainers.py index 5685fcada..dc1fb1a52 100644 --- a/miio/integrations/vacuum/roborock/vacuumcontainers.py +++ b/miio/integrations/vacuum/roborock/vacuumcontainers.py @@ -1,8 +1,9 @@ -from datetime import datet...
2
1
0
[{"id": "G0", "claim": "The reviewer wonders whether the croniter instance should be created for every call separately, since a Timer object held on to and re-used without refreshing state from the device would keep the next_schedule cached at creation.", "category": "design", "verdict": "opposed", "priority": "P2", "s...
null
rytilahti__python-miio__1526
rytilahti/python-miio
1,526
defect
ff4e18f11129f2eae52facbc5be234559eacb6fa
789b58bbd7087eb1f55aaf5cf2246f07a3c1a4dc
Implement embedding DeviceStatus containers
Adds `DeviceStatus.embed(self, other: DeviceStatus)` method that allows embedding separate DeviceStatus containers into a single one. This will copy over the switch, setting, and sensor descriptors to the container and prefixing their names with the name of the other class. Internally, `__getattribute__` is overridd...
diff --git a/docs/contributing.rst b/docs/contributing.rst index 7df440e71..9b1bb0e64 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -256,6 +256,18 @@ Furthermore, it allows defining meta information about properties that are espec In practice this means that neither the input nor the output val...
3
1
0
[{"id": "G0", "claim": "Embedding consumable_status and clean_history into status() removes the ability to fetch only the VacuumStatus without those extra device calls, which for downstreams like Home Assistant that prefer per-endpoint coordinators means needless calls; a way to obtain just the get_status results (e.g....
null
rytilahti__python-miio__1585
rytilahti/python-miio
1,585
defect
1c3b463e950040e62dfd29d9d911a7394437b4bc
0317b0cc0419a260caa49a5638ca0772f38294d4
Add additional sensors and settings to Roborock vacuums
Split out from https://github.com/rytilahti/python-miio/pull/1543 Add additional sensors and improve the already implemented sensors for the Roborock S7 MaxV. Split vacuum enums to a separte file to prevent circular imports Controls added: - Mop routing (enum) - Mop scrub intensity (enum) - Auto dust collec...
diff --git a/miio/integrations/vacuum/roborock/tests/test_vacuum.py b/miio/integrations/vacuum/roborock/tests/test_vacuum.py index af9408bd0..f88df3e4f 100644 --- a/miio/integrations/vacuum/roborock/tests/test_vacuum.py +++ b/miio/integrations/vacuum/roborock/tests/test_vacuum.py @@ -62,6 +62,15 @@ def __init__(self, *...
7
5
2
[{"id": "G0", "claim": "The Fanspeed setting does not work on models like the S7 MaxV+ that only accept fan_speed values 101-108 (presets) rather than percentages 0-100, so keep/restore the setting but return None when the value is above 100, leaving model-specific gating to a future PR.", "category": "correctness", "v...
null
rytilahti__python-miio__1596
rytilahti/python-miio
1,596
defect
0db79978728f9b157ea46f64fc0427dc10799569
21b842aefae4cb26423b56a17e435386c904bda4
Add multi map handling to roborock
Split out from https://github.com/rytilahti/python-miio/pull/1543 Add basic multi map support to roborock vacuums - Get current map - Set current map Later PR will add clean details per floor and floor information to last clean details.
diff --git a/miio/integrations/vacuum/roborock/tests/test_vacuum.py b/miio/integrations/vacuum/roborock/tests/test_vacuum.py index f88df3e4f..109a0c5da 100644 --- a/miio/integrations/vacuum/roborock/tests/test_vacuum.py +++ b/miio/integrations/vacuum/roborock/tests/test_vacuum.py @@ -71,6 +71,36 @@ def __init__(self, *...
11
8
1
[{"id": "G0", "claim": "The warning logged when multi_map_count does not equal the number of map_info entries is unnecessary and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The warning logged when a map's mapFlag does not equal its ...
null
rytilahti__python-miio__1608
rytilahti/python-miio
1,608
defect
4911ea260b41734eec4b0338557276498ef0e29a
8b53bd71882eb6782009721e98a1ebbc38064e15
Add Roborock S7 MaxV Ultra station sensors
This PR adds two sensors of the auto-emptying and washing station of the Roborock S7 MaxV.
diff --git a/miio/integrations/vacuum/roborock/vacuum_enums.py b/miio/integrations/vacuum/roborock/vacuum_enums.py index db685966b..7b8582721 100644 --- a/miio/integrations/vacuum/roborock/vacuum_enums.py +++ b/miio/integrations/vacuum/roborock/vacuum_enums.py @@ -11,6 +11,8 @@ class Consumable(enum.Enum): SideBru...
2
2
1
[{"id": "G0", "claim": "The new sensor properties' names and docstrings are unclear — 'Strainer used'/'Cleaning brush used' and docstrings that merely name the internal key should be renamed to say they are counts (e.g. strainer_cleaned_count) with descriptive docstrings.", "category": "maintainability", "verdict": "su...
null
rytilahti__python-miio__1621
rytilahti/python-miio
1,621
defect
e19863835155fcbe6b5de892730f38653da8e5f0
affc4630d4f490054e399bea9828e23b72a9ab2c
Add mop dryer add-on of the S7 MaxV Ultra station
The S7 MaxV Ultra station (and AFAIK also the S7 Ultra station) has an optional mop dryer add-on. Based on reverse engineering of the Mi Home app plugin code, I added support for this. Currently this code is partially untested as I am waiting for my add-on to be delivered. Delivery is expected around 12/19. But I...
diff --git a/miio/integrations/vacuum/roborock/tests/test_vacuum.py b/miio/integrations/vacuum/roborock/tests/test_vacuum.py index c2771577a..80e5f18a2 100644 --- a/miio/integrations/vacuum/roborock/tests/test_vacuum.py +++ b/miio/integrations/vacuum/roborock/tests/test_vacuum.py @@ -41,70 +41,71 @@ def __init__(self, ...
5
4
0
[{"id": "G0", "claim": "Simplify the new mop dryer test methods using pytest.mark.parametrize to avoid the duplicated test bodies.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mop dryer setter tests should assert that the device state changes accord...
null
rytilahti__python-miio__1646
rytilahti/python-miio
1,646
defect
b1c19fc4fb539d6476ffd0434a8a5e75d30f209f
796c04631667af127dd5031ae544c9bc81a1f1f7
roborock: Fix waterflow setting for Q7 Max+
It has additional Custom setting (207) and `distance_off` provides more fine-grained setting in this case what is not gracefully handled by this PR, as I will create an issue to discuss this.
diff --git a/miio/integrations/vacuum/roborock/vacuum.py b/miio/integrations/vacuum/roborock/vacuum.py index f67990566..32dd0aa85 100644 --- a/miio/integrations/vacuum/roborock/vacuum.py +++ b/miio/integrations/vacuum/roborock/vacuum.py @@ -908,11 +908,24 @@ def split_segment(self): @command() def waterflow(s...
1
1
1
[{"id": "G0", "claim": "Please add a test for the new waterflow behavior so that it won't be broken accidentally in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
rytilahti__python-miio__1701
rytilahti/python-miio
1,701
defect
aeadb4c9b01facd1d4887fcd169c2cb5449e687a
a078538d3abcff4b0b20e78e410536917cf18108
Cache descriptors on first access
The descriptors accessed through `sensors()`, `settings()`, and `actions()` are now cached on the first use to avoid unnecessary I/O. follow up on PR https://github.com/rytilahti/python-miio/pull/1592 which got merge conflicts and is closed.
diff --git a/miio/device.py b/miio/device.py index 8fc3457e5..e25c879fe 100644 --- a/miio/device.py +++ b/miio/device.py @@ -87,6 +87,8 @@ def __init__( self._model: Optional[str] = model self._info: Optional[DeviceInfo] = None self._actions: Optional[Dict[str, ActionDescriptor]] = None + ...
4
2
1
[{"id": "G0", "claim": "The `if self._sensors is not None: return` guard at the top of `_initialize_descriptors` is redundant and should be dropped, since all accessor methods already perform that check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
rytilahti__python-miio__1885
rytilahti/python-miio
1,885
defect
658ee2e82e54233372f19e4f67bbf055b60eaee4
cb2297fb79e2328ab8d58568298af074b913dc30
Added initial zhimi.humidifier.ca6 support
Adds support for zhimi.humidifier.ca6 and status container descriptors for airhumidifier_miot. Closes #1884.
diff --git a/miio/__init__.py b/miio/__init__.py index 8e50b2aba..87f8e3dc1 100644 --- a/miio/__init__.py +++ b/miio/__init__.py @@ -89,7 +89,11 @@ from miio.integrations.zhimi.airpurifier import AirFresh, AirPurifier, AirPurifierMiot from miio.integrations.zhimi.fan import Fan, FanZA5 from miio.integrations.zhimi.h...
2
2
2
[{"id": "G0", "claim": "Instead of creating a new file to maintain, CA6 support should either use genericmiot or adapt the existing airhumidifier_miot as necessary.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The status command of miiocli is not yet s...
null
rytilahti__python-miio__239
rytilahti/python-miio
239
defect
b7294553d79341fc5a848c8494f7b925c3d9cb47
9276a1920e987ac450994728110a19666e853bb5
Powerstrip support improved
New properties and commands added: wifi_led, power_price. @rytilahti Could you provide a response example for ``` mirobo raw_command get_prop "['power', 'temperature', 'current', 'mode', 'power_consume_rate', 'wifi_led', 'power_price']" ``` Thanks!
diff --git a/miio/powerstrip.py b/miio/powerstrip.py index 3ad556828..3ba4467a5 100644 --- a/miio/powerstrip.py +++ b/miio/powerstrip.py @@ -2,11 +2,15 @@ import enum from typing import Dict, Any, Optional from collections import defaultdict -from .device import Device +from .device import Device, DeviceException ...
1
1
0
[{"id": "G0", "claim": "The new test_status_without_mode at line 95 of miio/tests/test_powerstrip.py redefines the unused test_status_without_mode already defined at line 80.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
rytilahti__python-miio__310
rytilahti/python-miio
310
defect
25ef8ab476d2fb2d087478e15fa4c63b15ec396a
866969bdcce2377f60ffee69dafa610335ee0f62
Added new commands app_goto_target and app_zoned_clean
In theory, app_zoned_clean should be able to take multiple zones at once - but I do not know how to implement this.
diff --git a/miio/vacuum.py b/miio/vacuum.py index 3012b4470..84d5e7408 100644 --- a/miio/vacuum.py +++ b/miio/vacuum.py @@ -72,6 +72,33 @@ def home(self): """Stop cleaning and return home.""" self.send("app_stop") return self.send("app_charge") + + @command( + click.argument("x...
4
3
0
[{"id": "G0", "claim": "The zoned_clean definition line is 101 characters, over the 100-character limit.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A blank line is missing between the goto method and the zoned_clean decorator.", "category": ...
null
rytilahti__python-miio__311
rytilahti/python-miio
311
defect
25ef8ab476d2fb2d087478e15fa4c63b15ec396a
ba8b44e4a74a034036ea9ca9f64f57a9673c97e1
Support of multiple zones for app_zoned_cleaning
The vacuum only accepts zones within a list, so even a single list has to be passed like this: [[x1,y1,x2,y2, iterations]] The current code only sends "[x1,y1,x2,y2, iterations]" to the vacuum, so it does not work. I tried to change the code so that it accepts multiple zones, but I am not sure if it works like th...
diff --git a/miio/tests/test_vacuum.py b/miio/tests/test_vacuum.py index 496e77287..77dcdf266 100644 --- a/miio/tests/test_vacuum.py +++ b/miio/tests/test_vacuum.py @@ -10,9 +10,11 @@ class DummyVacuum(DummyDevice, Vacuum): STATE_CHARGING = 8 STATE_CLEANING = 5 + STATE_ZONED_CLEAN = 9 STATE_IDLE = 3 ...
2
2
0
[{"id": "G0", "claim": "The zoned_clean docstring line added in miio/vacuum.py ends with trailing whitespace.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test's zoned_clean call is missing whitespace after the comma separating the two zon...
null
rytilahti__python-miio__493
rytilahti/python-miio
493
defect
11b88f6e80be889ff704a3e0b71ca1c20d98b8eb
6de20aef2bd77eb91e8c54357e2f55bb8af6b23b
Add zhimi.humidifier.cb1 support
Fixes #492. I'm not familiar with Python3, please review. Pytest works fine. Button pressed state maybe not work, always return None on my device (not well tested).
diff --git a/miio/airhumidifier.py b/miio/airhumidifier.py index 54b56f370..465bae495 100644 --- a/miio/airhumidifier.py +++ b/miio/airhumidifier.py @@ -12,11 +12,11 @@ MODEL_HUMIDIFIER_V1 = 'zhimi.humidifier.v1' MODEL_HUMIDIFIER_CA1 = 'zhimi.humidifier.ca1' +MODEL_HUMIDIFIER_CB1 = 'zhimi.humidifier.cb1' AVAILAB...
4
2
0
[{"id": "G0", "claim": "The line asserting firmware_version_major in miio/tests/test_airhumidifier.py (line 543 area) is too long (105 > 100 characters) and violates the line-length style rule.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The 'ap' entry...
null
rytilahti__python-miio__544
rytilahti/python-miio
544
defect
7f333543124645f967d9e54f5738db525cd08f61
f42efcf47fa5789d67443723b53350ce495708a5
Add tinymu smart toiletlid
# select toiletlid status Work: False State: 1 Ambient Light: White Filter remaining: 100% Filter remaining time: 180 # set toiletlid ambient light Support color: blue green orange powder purple red white yellow # nozzle clean
diff --git a/miio/__init__.py b/miio/__init__.py index b457b0cf8..440ae2d8f 100644 --- a/miio/__init__.py +++ b/miio/__init__.py @@ -18,6 +18,7 @@ from miio.philips_moonlight import PhilipsMoonlight from miio.powerstrip import PowerStrip from miio.protocol import Message, Utils +from miio.toiletlid import Toiletlid ...
8
8
1
[{"id": "G0", "claim": "The local variable _props_per_request is assigned to but never used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "work_state could be turned into an enum if the potential state codes were known.", "category": "design", ...
null
rytilahti__python-miio__634
rytilahti/python-miio
634
defect
efd4370a3ae36a16c27fc35069233dfca171f49e
981cb239973757e79b4fb2652e291695ae3b778d
Air purifier 3/3H support (remastered)
Rebased copy of #585 - original description below: --- Add support for basic operations for new Xiaomi Air Purifier 3/3H (`zhimi-airpurifier-mb3` and `zhimi-airpurifier-ma4` (https://github.com/rytilahti/python-miio/issues/577)). In order to support that, also implement `MiotDevice` class with basic support for ...
diff --git a/miio/__init__.py b/miio/__init__.py index b3cb19f8b..17bfd870f 100644 --- a/miio/__init__.py +++ b/miio/__init__.py @@ -9,6 +9,7 @@ from miio.airhumidifier import AirHumidifier, AirHumidifierCA1, AirHumidifierCB1 from miio.airhumidifier_mjjsq import AirHumidifierMjjsq from miio.airpurifier import AirPur...
12
5
2
[{"id": "G0", "claim": "Add a handler in the property retrieval so that records with nonzero error codes are ignored instead of surfacing such errors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After upgrading to Home Assistant 0.106.1 the air p...
null
rytilahti__python-miio__654
rytilahti/python-miio
654
defect
f0d4565477e67acee989813c858f25982729ae49
db4ce432ff1f3743fea555f5352f2c416af186a9
Add Xiaomi Zero Fog Humidifier (shuii.humidifier.jsq001) support (#642)
Adds support for `shuii.humidifier.jsq001` humidifier (#642)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 59a9c768f..4ccabc69e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +This release adds support for the following new devices: + +* Xiaomi Zero Fog Humidifier \(shuii.humidifier.jsq001\) + ## [0.4.8](https://github.com/rytilahti/python-miio/tr...
6
5
0
[{"id": "G0", "claim": "The boolean setters (set_buzzer, set_child_lock, set_led) could be simplified to a single expression instead of if/else branches, using a single send like [int(lock)] with a type-safe conversion such as int(bool(lock)).", "category": "maintainability", "verdict": "supported", "priority": "P2", "...
null
rytilahti__python-miio__772
rytilahti/python-miio
772
defect
eef6b36b179917f0b59206b13d089836c2877528
9f46d8e54b814228786537c5617758b465ed27ea
Add support for zhimi.humidifier.ca4 (miot)
Added minimal functionality for work with zhimi.humidifier.ca4 and similar in future humidifiers. Close one of device from the https://github.com/rytilahti/python-miio/issues/627 issue ![image](https://user-images.githubusercontent.com/2198153/88447917-54855e00-ce30-11ea-9484-ea2c83eaec73.png)
diff --git a/docs/api/miio.airhumidifier_miot.rst b/docs/api/miio.airhumidifier_miot.rst new file mode 100644 index 000000000..00eafce4e --- /dev/null +++ b/docs/api/miio.airhumidifier_miot.rst @@ -0,0 +1,7 @@ +miio.airhumidifier\_miot module +=============================== + +.. automodule:: miio.airhumidifier_miot +...
9
7
2
[{"id": "G0", "claim": "Remove the duplicate docstring on the set_buzzer method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The button_pressed property returns a PressedButton enum but is annotated -> int; the annotation should be PressedBut...
null
rytilahti__python-miio__877
rytilahti/python-miio
877
defect
34a4358b2c908c9ec51d7058e54d4e18bc281a99
a3a579eb61f0d3547b35f27cc601c969e61b486f
Add support for the Xiaomi/Viomi Dishwasher (viomi.dishwasher.m02)
Supported commands - Power on/off. - Start/stop/pause/continue a program. - Schedule a program for a specific time (and cancel it). - Retrieve current status + errors of the dishwasher. - Child lock enable/disable. - Set air refresh interval. fix #874
diff --git a/miio/__init__.py b/miio/__init__.py index 1a7b25b2f..266a622e7 100644 --- a/miio/__init__.py +++ b/miio/__init__.py @@ -56,6 +56,7 @@ Timer, VacuumStatus, ) +from miio.viomidishwasher import ViomiDishwasher from miio.viomivacuum import ViomiVacuum from miio.waterpurifier import WaterPurifier ...
14
11
1
[{"id": "G0", "claim": "Boolean-valued status properties (power, door, child_lock) should use plain booleans such as is_on/door_open instead of enums, to be consistent with all other devices.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "time_left shoul...
null
rytilahti__python-miio__881
rytilahti/python-miio
881
defect
f481a9ef3c52b4c0dbc1b85936b94c4c8dabdaf7
0683ac4c275218ef94c06011698ec70aa749cc31
Add support for all Huizuo Lamps (w/ fans, heaters, and scenes)
Inspired by previous work (PR #868), I checked specifications for all HUIZUO lamps, mentioned in the #627 [meta] list of miot-enabled devices. In general, almost all of them have a similar schema for light management, and some models have additionally a fan, heater, or predefined scenes. Code for additional features w...
diff --git a/README.rst b/README.rst index 3f42d825e..2f58653ad 100644 --- a/README.rst +++ b/README.rst @@ -107,7 +107,7 @@ Supported devices - Xiaomi Philips LED Ball Lamp White (philips.light.hbulb) - Xiaomi Philips Zhirui Smart LED Bulb E14 Candle Lamp - Xiaomi Philips Zhirui Bedroom Smart Lamp -- Huayi Huiz...
12
12
0
[{"id": "G0", "claim": "Properties that every device supports (power, brightness, color_temp) should not fall back to returning None.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Attributes that are optional should be annotated as returning Optional[.....
null
rytilahti__python-miio__884
rytilahti/python-miio
884
defect
f481a9ef3c52b4c0dbc1b85936b94c4c8dabdaf7
c7ec21c1bb0870d98e43140bccbccbe98c94024d
Retry and timeout can be change by setting a class attribute
No breaking change With this, each class can have its own retry and timeout setting, ie: ``` class Vacuum(Device): retry = 5 timeout = 10 ... ```
diff --git a/miio/device.py b/miio/device.py index 276daf0a2..fbff8c0ac 100644 --- a/miio/device.py +++ b/miio/device.py @@ -117,6 +117,8 @@ def __init__( ) -> None: self.ip = ip self.token = token + if hasattr(self, "timeout"): + timeout = self.timeout self._protocol =...
2
2
2
[{"id": "G0", "claim": "The hasattr override in send() would overwrite the user-given parameter; instead the settings should become class variables on Device with the __init__/send parameters defaulting to None and falling back to the class-defined values so downstream behavior stays intact.", "category": "correctness"...
null
rytilahti__python-miio__895
rytilahti/python-miio
895
defect
f481a9ef3c52b4c0dbc1b85936b94c4c8dabdaf7
8c0a285c0bd0ef0d8b9ba5e8dd393d3909f5fb3f
Add support for zhimi.heater.mc2
This PR adds support for Xiaomi Mi Smart Space Heater S (zhimi.heater.mc2). References: https://github.com/rytilahti/python-miio/issues/880 miot spec: https://miot-spec.org/miot-spec-v2/instance\?type\=urn:miot-spec-v2:device:heater:0000A01A:zhimi-mc2:1 <details> <summary>Details</summary> Product: <img width...
diff --git a/miio/__init__.py b/miio/__init__.py index 4e0783bea..addcbdd71 100644 --- a/miio/__init__.py +++ b/miio/__init__.py @@ -37,6 +37,7 @@ from miio.fan_miot import FanMiot, FanP9, FanP10, FanP11 from miio.gateway import Gateway from miio.heater import Heater +from miio.heater_miot import HeaterMiot from mi...
5
5
0
[{"id": "G0", "claim": "Add an example data dictionary to the docstring, as done for other miot devices.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update the README to add this device to the supported devices list.", "category": "documentatio...
null
rytilahti__python-miio__905
rytilahti/python-miio
905
defect
6667b749091bc06c5bd359aa4b584b93908a4f2a
c6220eef44731dfe681e5c09f692d0a4e876c37c
Improve MiotDevice API (get_property_by, set_property_by, call_action, call_action_by)
* `get_property_by(siid, piid)` returns a single property, useful for testing with miiocli * `set_property_by(siid, piid, value, value_type)` allows setting one, `value_type` is optional and will be used for casting to correct type before passing the value to `send()`. * `call_action(name, params)` calls an action wi...
diff --git a/docs/troubleshooting.rst b/docs/troubleshooting.rst index 6321fd222..069e8dc52 100644 --- a/docs/troubleshooting.rst +++ b/docs/troubleshooting.rst @@ -62,12 +62,13 @@ The connectivity will get restored by device's internal watchdog restarting the Roborock Vacuum not detected ----------------------------...
1
1
1
[{"id": "G0", "claim": "Removing the mapping kwarg from MiotDevice.__init__ is a breaking change, since MiotDevice(ip=host, token=token, mapping=mapping) no longer works and the suggested assign-after-construction workaround does not work across released versions; the author asks for backward compatibility.", "category...
null
rytilahti__python-miio__975
rytilahti/python-miio
975
defect
5ea3157db58045260edceebb52a0f1e45f709d79
6ff43b45f240dd1568361432cfebe494e5abd14d
Add support for Walkingpad A1 (ksmb.walkingpad.v3)
Hey there, I had a go at adding support for the Walkingpad A1. What's working: status, turn on/off, start/stop and set_speed. What's not working: Full testing for the status command. The Walkingpad A1 allows retrieval of only 1 property at a time. This means a full status update takes quite a long time to ...
diff --git a/docs/api/miio.gateway.rst b/docs/api/miio.gateway.rst index cfa6209e6..a010f3119 100644 --- a/docs/api/miio.gateway.rst +++ b/docs/api/miio.gateway.rst @@ -1,5 +1,29 @@ -miio.gateway module -=================== +miio.gateway package +==================== + +Subpackages +----------- + +.. toctree:: + :max...
24
23
4
[{"id": "G0", "claim": "The elif after the isinstance check that already raises is unnecessary and should be a plain if (same applies to the other validation checks).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A blank line between the valida...
null
rytilahti__python-miio__99
rytilahti/python-miio
99
defect
ec717762fcee6cb9472d7ac8ebfbaa60b7c980ea
3f6ed4526bde38d3af28b0589ee426f33e172e32
Add a base to allow easier testing of devices
To demonstrate its functionality unittests for yeelight and plug are included in this commit. It also allowed to spot a couple of bugs in yeelight already..
diff --git a/miio/tests/dummies.py b/miio/tests/dummies.py new file mode 100644 index 000000000..1b8fbd88e --- /dev/null +++ b/miio/tests/dummies.py @@ -0,0 +1,42 @@ +class DummyDevice: + """DummyDevice base class, you should inherit from this and call + `super().__init__(args, kwargs)` to save the original state...
7
6
0
[{"id": "G0", "claim": "Test helpers should not assign lambda expressions; use a def instead.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Comparisons to True/False should use 'is' (or 'if cond:') rather than == in the tests.", "category": "style", "ver...
null
rytilahti__python-miio__992
rytilahti/python-miio
992
defect
324422436d7075a9fba0d3686cc5c63009db82d7
89e439336f545d1fdd29104c56810a3cf64bcfcc
Added number of dust collections to CleaningSummary if available
Roborock announced to release a dust collection station for the Roborock S7 sometime later. Although the Xiaomi Home app currently doesn't display this information, a dust_collection_count variable already gets reported by the api. Don't know if it is too early to add this, because I can obviously not (yet) verify i...
diff --git a/docs/vacuum.rst b/docs/vacuum.rst index 085a510e4..6c5604270 100644 --- a/docs/vacuum.rst +++ b/docs/vacuum.rst @@ -117,6 +117,8 @@ Deleting a timer Cleaning history ~~~~~~~~~~~~~~~~ +Will also report amount of times the dust was collected if available. + :: $ mirobo cleaning-history diff --git...
1
1
1
[{"id": "G0", "claim": "In CleaningSummary.dust_collection_count, the else branch should explicitly return None instead of the bare expression `None`, which returns nothing from the Optional[int] property.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
s-yadav__react-number-format__389
s-yadav/react-number-format
389
defect
60fc331a2f29c8aa787f4461144204214fc7d4a2
205d464e3eacf837deba5b888c84b28c47fab711
fix: Clear focusTimeout timeout on unmount
`onFocus` is handled asynchronously with setTimeout. When testing inputs with react-number-format, it prints a warning saying it is updating the unmounted component. Clear focusTimeout on unmount.
diff --git a/src/number_format.js b/src/number_format.js index 3e1d18c3..bd59b3bf 100644 --- a/src/number_format.js +++ b/src/number_format.js @@ -133,6 +133,12 @@ class NumberFormat extends React.Component { this.updateValueIfRequired(prevProps); } + componentWillUnmount() { + if (this.focusTimeout != nu...
3
3
1
[{"id": "G0", "claim": "A spec covering the componentWillUnmount timer-clearing behaviour should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The guard and the assignment around clearTimeout in componentWillUnmount are unnecessary — clearTim...
null
s-yadav__react-number-format__473
s-yadav/react-number-format
473
defect
1281536465efdda9bc99f83be0f175fd26bf2837
5d4417af162204b4ca8ace45258953a399f2d92c
Fix issue for bug #452. Be able to delete / hit backspace on highligh…
…t when format attribute is enabled ## Describe the issue/change There is an issue stated on #452 when a user highlights a group of values that has a format character that it won't delete those grouped values. ## Describe the changes proposed/implemented in this PR The change is to let user be able to delete ...
diff --git a/src/number_format.js b/src/number_format.js index 408a7cc1..d5028468 100644 --- a/src/number_format.js +++ b/src/number_format.js @@ -604,13 +604,6 @@ class NumberFormat extends React.Component { return false; } - checkIfFormatGotDeleted(start: number, end: number, value: string) { - for (let...
3
3
1
[{"id": "G0", "claim": "The new deletion logic assumes format characters are never numeric, but a format character can itself have a numeric value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hasNonNumeric variable name is confusing because a...
null
s-yadav__react-number-format__599
s-yadav/react-number-format
599
defect
fdafbf170bb482e6d08e1439db6b9abd8f02025d
c730ac617e54354e6fd69822617158f7156605bd
- Fixed #597 (Handle backspace before prefix, when negative value is …
…present) - Integrate testing-library #### Describe the issue/change #### Add CodeSandbox link to illustrate the issue (If applicable) #### Describe specs for failing cases if this is an issue (If applicable) #### Describe the changes proposed/implemented in this PR #### Link Github issue if this PR s...
diff --git a/package.json b/package.json index 54217a7a..c5ad77e7 100755 --- a/package.json +++ b/package.json @@ -45,6 +45,8 @@ "@babel/preset-react": "^7.0.0", "@babel/register": "^7.6.2", "@rollup/plugin-buble": "^0.21.3", + "@testing-library/react": "^12.1.2", + "@testing-library/user-event": "...
1
1
0
[{"id": "G0", "claim": "The variable holding the result of render() in the negation-removal test is misleadingly named `wrapper`, and the reviewer suggests renaming it to `const view`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
s-yadav__react-number-format__894
s-yadav/react-number-format
894
defect
faf65f2666d4bbe3756fad7b8e432348d439e850
bc825e2a0af6acba0cdcb97c04820e307e2d50b8
Bug fixes
#### Describe the issue/change - Fixed #883, defaultValue not triggering onValueChange. - Fix #882, deleting negative symbol when preix is more then 1 char #### Add CodeSandbox link to illustrate the issue (If applicable) #### Describe specs for failing cases if this is an issue (If applicable) #### Describe...
diff --git a/README.md b/README.md index 17c174d1..d1e4adcf 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![Actions Status](https://github.com/s-yadav/react-number-format/workflows/CI/badge.svg)](https://github.com/s-yadav/react-number-format/actions) - # react-number-format React Number Format is an inp...
2
2
2
[{"id": "G0", "claim": "Normalize the empty-string mask inside getCaretBoundary() too, because the caret path still uses the raw empty-string mask while the rendered placeholders are spaces, so getMaskAtIndex returns '' and empty slots are treated as already filled.", "category": "correctness", "verdict": "supported", ...
null
s2-streamstore__s2__289
s2-streamstore/s2
289
defect
36b97c8a4b766ed8609aeae15f1a8f7f0500c0c2
7a8e490454952a506fc45e5f6ed5a8c4d76aee50
feat(lite): default append pipelining with durability-gated acks
Default append pipelining in s2-lite and remove the `S2LITE_PIPELINE` gate (issue #48). This PR now includes the full durability/ack rework needed to make pipelining safe by default, plus broader wiring and test coverage. ## What changed - Decouple append submission from durability: - submit write batches with `awa...
diff --git a/Cargo.lock b/Cargo.lock index d0feb568..54ed8b41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,9 +301,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "aws-config" -version = "1.8.14" +version = "1.8.15" source = "registry+https://github.com/rust...
3
1
0
[{"id": "G0", "claim": "The dropped upper-bound clamp on num_permits leaves the invariant that a batch's permit count never exceeds the semaphore's capacity entirely implicit; add a debug_assert! (or restore the clamp) to make it explicit and catch violations in testing.", "category": "maintainability", "verdict": "unc...
null
s2-streamstore__s2__338
s2-streamstore/s2
338
defect
75e8771b31b9569e540e8e7468d7c8e784b3d3bf
f038340c0c7c2efe4831177aa64986864214ce45
feat(api): align basin info with stream info
Align basin lifecycle metadata with stream info while keeping the deprecated basin `state` field as a compatibility-only JSON field. - add `created_at` and `deleted_at` to basin info in the common, API, SDK, and lite layers - derive basin deletion state from `deleted_at` and stop publishing `state` in OpenAPI - up...
diff --git a/api/src/v1/basin.rs b/api/src/v1/basin.rs index eee3cdfe..b0563790 100644 --- a/api/src/v1/basin.rs +++ b/api/src/v1/basin.rs @@ -3,6 +3,7 @@ use s2_common::types::{ basin::{BasinName, BasinNamePrefix, BasinNameStartAfter}, }; use serde::{Deserialize, Serialize}; +use time::OffsetDateTime; use su...
3
1
1
[{"id": "G0", "claim": "The `no_auto_paginate` listing paths do not explicitly request deleted basins/streams while the auto-paginate paths pass `.with_include_deleted(true)`, which would silently hide deleted items in single-page mode if the server ever starts honouring the `include_deleted` parameter; the comment ask...
null
s2-streamstore__s2__366
s2-streamstore/s2
366
defect
1a01dafbd0918628b88b965aead5ea9ec416a9a2
f3365f228434c7959b04ab84847c87cde50583ba
test: isolate CLI config tests and exclude live SDK tests
## Summary - run CLI config tests against an isolated home/config directory - clear inherited CLI-related env vars for those tests - keep `just test` focused on non-live suites and add an explicit SDK integration target ## Testing - cargo test -p s2-cli --test cli
diff --git a/cli/tests/cli.rs b/cli/tests/cli.rs index 0cd501e5..56058c3a 100644 --- a/cli/tests/cli.rs +++ b/cli/tests/cli.rs @@ -1,13 +1,40 @@ use assert_cmd::Command; use predicates::prelude::*; +use tempfile::TempDir; -fn s2() -> Command { - Command::new(assert_cmd::cargo::cargo_bin!("s2")) +struct TestEnv {...
1
1
0
[{"id": "G0", "claim": "In missing_access_token, TestEnv::new().s2() creates a temporary TestEnv that is dropped at the semicolon, deleting the isolated temp home before the command runs, so the test should bind it to a named variable like config_set_and_get does.", "category": "testing", "verdict": "supported", "prior...
null
s2-streamstore__s2__375
s2-streamstore/s2
375
defect
ab42248b71c2b44208aa353b08aec32579bed0c2
64d143c3373c18a44f68ef1c06080971e35f4377
refactor: clarify encryption spec, mode, and format semantics
Rename the per-request and header-carried encryption type from `EncryptionConfig` to `EncryptionSpec` across the common, API, SDK, CLI, and lite surfaces. Also tighten the type model around encryption semantics: - `EncryptionMode` now represents plain-aware semantics where `Option<EncryptionAlgorithm>` was acting as a...
diff --git a/api/src/v1/stream/extract.rs b/api/src/v1/stream/extract.rs index e6767e13..de93c4b5 100644 --- a/api/src/v1/stream/extract.rs +++ b/api/src/v1/stream/extract.rs @@ -6,7 +6,7 @@ use axum::{ use futures::StreamExt as _; use http::{StatusCode, request::Parts}; use s2_common::{ - encryption::EncryptionC...
1
1
0
[{"id": "G0", "claim": "The `EncryptionSpecError` variant `InvalidConfig` kept its old name after the type was renamed, and should be renamed to `InvalidSpec` for consistency (with all call sites updated).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
s3fs-fuse__s3fs-fuse__1783
s3fs-fuse/s3fs-fuse
1,783
defect
023aaf7dffb9f58dc14db4d5b5e807e4001ba974
1682a1d66117559d9105c6eca244c2f7da35130f
Add a test that is multi-block writing by one flush
### Relevant Issue (if applicable) n/a ### Details Add new one test that writes multiple blocks. This test checks for caches, multipart upload boundaries, copy uploads in the presence of blank areas, and more. The current test may be sufficient, but I would like to use it to check if it works properly even if ...
diff --git a/test/Makefile.am b/test/Makefile.am index 7fb7c0fb86..f5dff9ac06 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -30,6 +30,9 @@ EXTRA_DIST = \ testdir = test +noinst_PROGRAMS = write_multiblock +write_multiblock_SOURCES = write_multiblock.cc + # # Local variables: # tab-width: 4 diff --git ...
4
1
0
[{"id": "G0", "claim": "The new C-based write_multiblock should replace, rather than add a second or third parallel mechanism alongside, the existing Python script test_write_multiple_offsets.py and the two tests that use it.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id...
null
s3fs-fuse__s3fs-fuse__2596
s3fs-fuse/s3fs-fuse
2,596
defect
61abf80197e3d92c45d406d09aa0b0b0ddd93615
7084cb1499d58888d42bbdd7566d63429eb3ea57
Require C++14
This only has some minor additions of `std::make_unique`, digits separators, and more flexible `constexpr`. References #2469.
diff --git a/.clang-tidy b/.clang-tidy index a2ab729d32..6d6e360c5a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -55,7 +55,6 @@ Checks: ' -misc-use-internal-linkage, -modernize-avoid-c-arrays, -modernize-loop-convert, - -modernize-make-unique, -modernize-use-nodiscard, -modernize-raw-string...
2
2
2
[{"id": "G0", "claim": "src/gnutls_auth.cpp line 114 contains the typo `auto char[]> digest`, which breaks the GnuTLS build, and should be corrected to `auto digest = std::make_unique<unsigned char[]>(SHA1_DIGEST_SIZE);`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"i...
null
s3fs-fuse__s3fs-fuse__2721
s3fs-fuse/s3fs-fuse
2,721
defect
87d7a5822e8ad13b4e188d79a4d91e32141ea96d
7a2cce7a437685f2e0c8706bbd4d3211d98241c8
Changed to use rename when serializing to FileCacheStat
### Relevant Issue (if applicable) #2709 ### Details Changed `PageList::Serialize()` to use `flock` to exclusively handle `ftruncate`->`pwrite` operations. This fixes a bug reported in https://github.com/s3fs-fuse/s3fs-fuse/issues/2709#issuecomment-3226548346.
diff --git a/src/fdcache_page.cpp b/src/fdcache_page.cpp index b47e8a3dbf..dfa7530b48 100644 --- a/src/fdcache_page.cpp +++ b/src/fdcache_page.cpp @@ -25,6 +25,7 @@ #include <sstream> #include <string> #include <sys/stat.h> +#include <sys/file.h> #include "common.h" #include "s3fs_logger.h" @@ -835,17 +836,26 @@...
1
1
1
[{"id": "G0", "claim": "s3fs should not use flock (advisory and slower); instead it should write to a temporary file and rename it on top of the old one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
s3fs-fuse__s3fs-fuse__2792
s3fs-fuse/s3fs-fuse
2,792
defect
b9732aa236be5b48aec0e828bd23067116316617
7ffa03bbf6c0cc72758e0dde7de0af5fcbfa37a6
Mask sensitive authentication information to log
### Relevant Issue (if applicable) #2787 ### Details As pointed out in #2787, this PR prevents authentication information (token and credential) from being output in plain text to logs. Output related to authentication information has been changed so that it is output to the log by replacing it with `[SENSITIVE]`...
diff --git a/doc/man/s3fs.1.in b/doc/man/s3fs.1.in index 4077a24eee..8353b49890 100644 --- a/doc/man/s3fs.1.in +++ b/doc/man/s3fs.1.in @@ -449,6 +449,11 @@ Specify "normal" or "body" for the parameter. If the parameter is omitted, it is the same as "normal". If "body" is specified, some API communication body data wi...
4
4
2
[{"id": "G0", "claim": "The return logic of mask_sensitive_string() is inverted: it returns the raw sensitive value when insecure_log is false (the default) and \"[SENSITIVE]\" when insecure_log is true, the opposite of the intended behaviour.", "category": "security", "verdict": "supported", "priority": "P0", "scope":...
null
s3fs-fuse__s3fs-fuse__960
s3fs-fuse/s3fs-fuse
960
defect
f1a9eaee540365346fe9a9d5e9851522c4b0fdda
4c41eac29c399abeb6e50546e10c83eb3eb8b968
Wtf8
### Details S3 errors if object names are not utf-8. File system encodings are not required to be utf8, and in fact windows happily uses cp1252 to name files in NFS exports. This change optionally examines the input path names and turns them into valid utf-8 code by using a private area of the Unicode namespace t...
diff --git a/doc/man/s3fs.1 b/doc/man/s3fs.1 index 141b8cba80..a964f5367e 100644 --- a/doc/man/s3fs.1 +++ b/doc/man/s3fs.1 @@ -306,6 +306,14 @@ If you specify no argument as an option, objects older than 24 hours(24H) will b You can specify an optional date format. It can be specified as year, month, day, hour, minut...
1
1
0
[{"id": "G0", "claim": "The notsup_compat_dir block added to the help text at src/s3fs_util.cpp lines 1351-1353 duplicates the explanation already given above and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
s3s-project__s3s__418
s3s-project/s3s
418
defect
0e52387e53743c1eac70a96ce41fbab29553e8f5
0a5b35762c507186a9fa73255eeef0a3cfb527cd
Add STS test for s3s-fs and fix signature validation for STS requests
## Description STS requests don't include the `x-amz-content-sha256` header that S3 requires. The signature validation code rejected all requests missing this header, preventing STS operations from being routed properly. ### Changes **Test Infrastructure** (`crates/s3s-fs/`) - Added `test_sts_assume_role_not_impleme...
diff --git a/Cargo.lock b/Cargo.lock index 3ba18da7..efef1eb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2946,6 +2946,7 @@ dependencies = [ "aws-config", "aws-credential-types", "aws-sdk-s3", + "aws-sdk-sts", "base64-simd", "bytes", "chrono", @@ -2954,6 +2955,7 @@ dependencies = [ "futures", "futures-...
4
4
1
[{"id": "G0", "claim": "The new comment should reference lines 325-327, where the S3 header check actually lives, instead of the incorrect lines 322-324.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test route should use the hyper::header::C...
null
s3s-project__s3s__577
s3s-project/s3s
577
defect
3648d00955e8a1bba19a0fd675015e9ac5fab81f
097995e23b5fb655e784b30f727dc311c0251c3c
feat(s3s-fs): support conditional copy in copy_object
Resolves #553
diff --git a/crates/s3s-fs/src/s3.rs b/crates/s3s-fs/src/s3.rs index 67cdb41b..4ecbabea 100644 --- a/crates/s3s-fs/src/s3.rs +++ b/crates/s3s-fs/src/s3.rs @@ -91,34 +91,85 @@ impl S3 for FileSystem { return Err(s3_error!(NoSuchBucket)); } + let file_metadata = try_!(fs::metadata(&src_path...
3
3
1
[{"id": "G0", "claim": "get_md5_sum reads the entire source object unconditionally before evaluating date-only preconditions (and before the copy is known to happen), adding avoidable I/O; consider checking the time-based conditions first and using the persisted e_tag from load_internal_info as the primary source ETag,...
null
s3tools__s3cmd__1221
s3tools/s3cmd
1,221
defect
4c4bddf32667efbbccb5514b61cee2d918546b58
dc2088efca0e09b5b309414a79fe103b7e2d7e19
bugfix: --exclude dir/ walks inside dir/ for python 3.6+
I found out that `--ecxlude dir/` does not work properly on my system (Ubuntu 18.04 + python3.8) since it does not prevent from recursive scanning of all files inside excluded directory, which makes backuping big filesystems completely impossible. Here is why it happens: see https://docs.python.org/3.5/library/fnm...
diff --git a/S3/FileLists.py b/S3/FileLists.py index d2d70bec..56e00ade 100644 --- a/S3/FileLists.py +++ b/S3/FileLists.py @@ -60,15 +60,18 @@ def handle_exclude_include_walk_dir(root, dirname): Should this root/dirname directory be excluded? (otherwise included by default) Exclude dir matches in the current ...
7
6
0
[{"id": "G0", "claim": "The manpage should be edited to add a better description of directory exclusion, since the logic of `--exclude dir/` clearly needs explanation with examples.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The difference i...
null
sQVe__grove__19
sQVe/grove
19
defect
9d3f753e743e63954d974f13051a209c379e974c
3151c5f3f73f7715a44c08cc4e6a66f796821767
feat(prune): add --detached flag to include detached worktrees
Add `--detached` flag to prune command for detecting and removing worktrees with detached HEAD state. #### Changes - Add `--detached` flag to `grove prune` command - Detect worktrees where HEAD is detached (not on a branch) - Display directory name instead of branch for detached worktrees - Respect skip conditions (d...
diff --git a/cmd/grove/commands/prune.go b/cmd/grove/commands/prune.go index 06e9aa7b..941680f2 100644 --- a/cmd/grove/commands/prune.go +++ b/cmd/grove/commands/prune.go @@ -30,9 +30,10 @@ const ( type pruneType string const ( - pruneGone pruneType = "gone" - pruneStale pruneType = "stale" - pruneMerged pruneTy...
4
4
0
[{"id": "G0", "claim": "The test section title \"Priority: Gone takes priority over detached\" is misleading because the scenario cannot exercise that priority; it should be renamed (e.g. \"Detached worktree with deleted remote branch\") or restructured to actually demonstrate priority handling.", "category": "document...
null
sQVe__grove__32
sQVe/grove
32
defect
be80671a35f2d17b057e9b6445946eea82084402
16e4bf6fe95d0fefc9d19dd29afd82df924433c7
build: migrate from mage to make
Replaces Mage with Make for build automation. Mage required Go compilation on every invocation and added a dependency. Make is simpler, ubiquitous, and faster for this use case. #### Changes - Replace magefile.go (404 lines) with Makefile (133 lines) - Update CI workflow to use make targets and add Makefile to path f...
diff --git a/.changes/unreleased/changed-32.yaml b/.changes/unreleased/changed-32.yaml new file mode 100644 index 00000000..1fee0ac0 --- /dev/null +++ b/.changes/unreleased/changed-32.yaml @@ -0,0 +1,4 @@ +kind: Changed +body: Migrate build system from Mage to Make for simpler, faster builds +custom: + Issue: 32 diff ...
3
2
2
[{"id": "G0", "claim": "The `ifdef GH_TOKEN` check in test-integration always evaluates to true because GH_TOKEN is set to an empty string when `gh auth token` fails and Make's ifdef treats an empty string as defined, so the \"→ Using gh CLI authentication for PR tests\" message always displays even when no token is av...
null
sQVe__grove__42
sQVe/grove
42
defect
744bf0ba7ee559208a96d3fd3b69b1cf6f8f8234
f04e207b946eae6b065ad44b4452a7d04f43b35b
fix(add): preserve files when running from workspace root
File preservation now works when running `grove add` from the workspace root (outside any worktree). Previously, preserved files like `.env.local` would only copy when inside an existing worktree. #### Changes - Added `findFallbackSourceWorktree()` to locate a source worktree when not inside one - Fallback priority: ...
diff --git a/cmd/grove/commands/add.go b/cmd/grove/commands/add.go index 62f03f2f..857110d6 100644 --- a/cmd/grove/commands/add.go +++ b/cmd/grove/commands/add.go @@ -138,6 +138,12 @@ func runAdd(args []string, switchTo bool, baseBranch, name string, detach bool, }() sourceWorktree := findSourceWorktree(cwd, work...
1
1
1
[{"id": "G0", "claim": "The code should check that the default branch is not empty before adding it to candidates in findFallbackSourceWorktree, as is the established pattern in this codebase.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sQVe__grove__43
sQVe/grove
43
defect
44dbac42dca79618bf2d92d578dc70db98df5ad3
6a03a8f80abac9afd6fff4a8c9b418dc0d8ee63e
fix(add): detect and handle diverged PR branches
When a PR is force-pushed or rebased, the local branch diverges from remote, causing confusing checkout failures. Now we detect this and provide a `--reset` flag to safely sync with remote. #### Changes - Add `--reset` flag to `grove add` for PR checkouts only - Detect diverged branches by comparing local commits aga...
diff --git a/.changes/unreleased/fixed-pr-branch-divergence.yaml b/.changes/unreleased/fixed-pr-branch-divergence.yaml new file mode 100644 index 00000000..e1fc27e0 --- /dev/null +++ b/.changes/unreleased/fixed-pr-branch-divergence.yaml @@ -0,0 +1,2 @@ +kind: Fixed +body: Detect diverged PR branches and add --reset fla...
5
1
1
[{"id": "G0", "claim": "The divergence detection and reset logic should also be applied to the fork PR path (lines 338-382), since a fork PR that is force-pushed or rebased could also leave the local branch diverged from the remote.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduc...
null
sQVe__grove__69
sQVe/grove
69
defect
172da5a3d9051551d0a667e1096ae317b8d256e7
3663cb9d523cfc1e93d8b5d8cf442e7845883adf
feat(doctor): add remote reachability checks
Extend `grove doctor` to detect unreachable remotes and warn users about connectivity issues. #### Changes - Add `IsRemoteReachable` function that uses `git ls-remote` with a 5-second timeout and disabled prompts - Add `ListRemotes` function to enumerate configured remotes - Integrate remote reachability checks into ...
diff --git a/.changes/unreleased/added-doctor-remote.yaml b/.changes/unreleased/added-doctor-remote.yaml new file mode 100644 index 00000000..c4e40905 --- /dev/null +++ b/.changes/unreleased/added-doctor-remote.yaml @@ -0,0 +1,2 @@ +kind: Added +body: '`grove doctor` checks remote accessibility and warns about unreacha...
4
2
1
[{"id": "G0", "claim": "SSH remotes get a hardcoded 5-second ConnectTimeout while HTTP/HTTPS remotes rely on the global git config timeout, which could be 0 or custom, creating inconsistent timeout behavior across remote types.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
sQVe__grove__74
sQVe/grove
74
defect
adb21ebe859aa1c25c81056fb7763dcf4c20c459
601677c7fec816f0cd0785713690f8e1c0a7af1c
feat(hooks): stream hook output in real-time during grove add
Replaces buffered hook execution with real-time streaming output. Users now see hook output immediately as commands run, with each line prefixed by the command name. #### Changes - Added `RunAddHooksStreaming` function that streams stdout/stderr with prefixes - Created `prefixWriter` to handle line-by-line output for...
diff --git a/.changes/unreleased/added-hook-streaming.yaml b/.changes/unreleased/added-hook-streaming.yaml new file mode 100644 index 00000000..2e7c9913 --- /dev/null +++ b/.changes/unreleased/added-hook-streaming.yaml @@ -0,0 +1,2 @@ +kind: Added +body: Real-time hook output streaming during `grove add` with prefixed ...
1
1
1
[{"id": "G0", "claim": "The verification document added by this pull request incorrectly states that `RunAddHooks` remains unchanged and is preserved for backward compatibility, and should be updated to reflect that `RunAddHooks` was removed and fully replaced by `RunAddHooksStreaming`.", "category": "documentation", "...
null
sQVe__grove__79
sQVe/grove
79
defect
9009a9934de3cd3666a6011f639ef4b557a8e163
b7b6ab3d00af7ea55020b379bb9bc54b433f3c3d
feat: extend fallback worktree selection to match directory names
Extend fallback worktree selection to find worktrees by directory name when branch name doesn't match. #### Motivation When the primary worktree is checked out on a feature branch (common during development), `grove add` couldn't find it for file preservation because it only matched by branch name. Users lost the aut...
diff --git a/cmd/grove/commands/add.go b/cmd/grove/commands/add.go index 35ad2847..a3b37357 100644 --- a/cmd/grove/commands/add.go +++ b/cmd/grove/commands/add.go @@ -149,14 +149,17 @@ func runAdd(args []string, switchTo bool, baseBranch, name string, detach bool, _ = os.Remove(lockFile) }() + spin := logger.Sta...
1
1
0
[{"id": "G0", "claim": "The spinner started for workspace preparation should be stopped with StopWithError() instead of Stop() on the error-return paths in runAdd's from-branch handling, for consistent visual feedback as used elsewhere in the codebase.", "category": "correctness", "verdict": "supported", "priority": "P...
null
sQVe__grove__87
sQVe/grove
87
defect
82edd2f6ad6e27aba3eb3867927664eb1a14472a
22ef7c43c9e00bfd76b01cd51bd76ec576be9025
feat: symlink directories from source worktree on grove add
Add a `[link]` configuration section that symlinks directories from the source worktree into new worktrees during `grove add`. Useful for sharing tool state (build caches, AI tool configs, plugin directories) across worktrees without duplication. #### Motivation Tools like Beads, Rust's `target/`, and Next.js `.next/...
diff --git a/README.md b/README.md index 422906f4..512bc1bd 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ git clone --bare git@github.com:org/repo.git .bare echo "gitdir: ./.bare" > .git git worktree add main cd main -cp ../other-worktree/.env . # Don't forget this -npm install # Or this...
2
2
1
[{"id": "G0", "claim": "LinkDirectoriesToWorktree checks Lstat then calls os.Symlink, creating a TOCTOU window where destPath appearing in between makes os.Symlink return EEXIST and the function return an error instead of skipping, so it should handle errors.Is(err, os.ErrExist) from os.Symlink by appending to result.S...
null
sQVe__grove__89
sQVe/grove
89
defect
b11dc9f6f987a64659386d9411b11e16698b5c52
7c641511be3fca43b8516aa254d2ae65dfb2caa3
feat: add recursive directory preservation for worktree creation
Add `preserve.directories` config for recursively copying entire directory trees when creating worktrees. Unlike `preserve.patterns` (which matches individual git-ignored files by glob), this copies directory trees regardless of git ignore status — useful for IDE run configs (`.run/`), local scripts, and other director...
diff --git a/.gitignore b/.gitignore index 46796e5d..ca445828 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,9 @@ node_modules/ .env.* !.env*.example +# Beads local backup +.beads/ + # AI related files .claude.backup-*/ .claude/tdd-guard/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml inde...
3
3
3
[{"id": "G0", "claim": "The path traversal guard in PreserveDirectoriesToWorktree rejects \"..\" and \"../\" prefixes but not \".\" (nor empty strings, which filepath.Clean normalizes to \".\"), so a configured directory of \".\", \"\" or e.g. \"config/./.\" resolves to sourceDir itself and WalkDir would traverse and c...
null
sQVe__grove__95
sQVe/grove
95
defect
e78da76897503dc5fd5184988a9268effe3f2aa2
59bf5010a52d621c2bb923aec12be256ae2a833f
fix(add): apply link/preserve patterns when run outside main worktree
Previously `grove add` silently skipped `[link]` and `[preserve]` patterns when invoked from outside the main worktree. The config was loaded from the resolved source worktree, which often lacked `.grove.toml`, and `LoadFromFile` returned an empty config silently on ENOENT. #### Changes - Add `findConfigWorktree(bare...
diff --git a/.changes/unreleased/fixed-link-config-from-main.yaml b/.changes/unreleased/fixed-link-config-from-main.yaml new file mode 100644 index 00000000..72d5d8aa --- /dev/null +++ b/.changes/unreleased/fixed-link-config-from-main.yaml @@ -0,0 +1,2 @@ +kind: Fixed +body: Apply `[link]` and `[preserve]` patterns whe...
7
5
1
[{"id": "G0", "claim": "logLinkResult reports every entry in result.Conflicts as \"directory exists with git-tracked content\" even though LinkDirectoriesToWorktree flags any existing non-symlink, so the warning can be misleading; reword it (e.g. \"path exists and is not a symlink\") or tighten conflict detection.", "c...
null
sa7mon__S3Scanner__207
sa7mon/S3Scanner
207
defect
0cfd63fc17632b86d93da528419d3480e25e3d61
80204e857242c16d61ce82c7113aa0595a46de1d
feat: deduplicate bucket names when ingesting from file
Fixes #156 ### Changes - Adds a string hashset (empty struct map) to keep track of bucket names that are already seen - Continues the file scanning loop if a bucket name is seen - Sends the bucket to the channel and adds it to the set of seen bucket names otherwise
diff --git a/bucket/bucket.go b/bucket/bucket.go index 001b77aa..3ecbd3d5 100644 --- a/bucket/bucket.go +++ b/bucket/bucket.go @@ -155,21 +155,27 @@ func ReadFromFile(bucketFile string, bucketChan chan Bucket) error { } defer file.Close() + bucketsSeen := make(map[string]struct{}) fileScanner := bufio.NewScanne...
2
2
1
[{"id": "G0", "claim": "Add a unit test for the new deduplication logic verifying that duplicate bucket names are only scanned once, ideally without adding a test data file.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "README.md should be updated unde...
null
saasquatch__json-schema-inferrer__28
saasquatch/json-schema-inferrer
28
defect
ed9d098116eb50f2c02d996f574a489dd79ea64f
17125cbce226490862d2026f2c589a77fe99c162
Provide path
## Description of the change Added `path` parameters to most of the methods. Allowing to see the path in the following classes: - GenericSchemaFeatureInput - FormatInferrerInput - EnumExtractorInput ## Type of change - [ ] Bug fix (non-breaking change that fixes an issue) - [x] New feature (non-breaking ch...
diff --git a/src/main/java/com/saasquatch/jsonschemainferrer/EnumExtractorInput.java b/src/main/java/com/saasquatch/jsonschemainferrer/EnumExtractorInput.java index bc6e350..a8825c6 100644 --- a/src/main/java/com/saasquatch/jsonschemainferrer/EnumExtractorInput.java +++ b/src/main/java/com/saasquatch/jsonschemainferrer...
1
1
1
[{"id": "G0", "claim": "Building the path with `path + \".\" + fieldName` breaks when the field name contains special characters.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sablierapp__sablier__12
sablierapp/sablier
12
defect
11554d6c603972d59584e0da85ec42ba37041410
4cab3b19c1b8096343d9a47efc540d4084bb3913
Feat/add blocking request
Keeps the request hanging until the container is up and running, without a loading screen. Add a serving strategy for further changes. Each strategy have its own configuration and handles the request. Closes #7
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9875a661..f3afe20b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,4 +22,4 @@ jobs: run: go build -v . - name: Test - run: go test -v . + run: go test -v ./... diff --git a/README.md b/...
2
2
2
[{"id": "G0", "claim": "The yaml tags `wait-ui` and `block-delay` are not accepted by the yaml parser, so WaitUi silently keeps its default (true) and the config options do not work; hyphenless keys such as `waitui`/`blockdelay` were confirmed to work.", "category": "correctness", "verdict": "supported", "priority": "P...
null
sablierapp__sablier__869
sablierapp/sablier
869
defect
9ac4dca9b5db2fa45cbf9d8c3570df11d01645f5
1efe8fcdf732736708f96fca9f0e5d17b7671aca
fix: async InstanceStart calls
`provider.InstanceStart` has no guarantee of execution time. When the call is hanging, then the whole request and loading page is hanging which defeat the purpose of a waiting page. Closes #782
diff --git a/pkg/sablier/instance_request.go b/pkg/sablier/instance_request.go index bcc539eb..11543d3d 100644 --- a/pkg/sablier/instance_request.go +++ b/pkg/sablier/instance_request.go @@ -4,11 +4,54 @@ import ( "context" "errors" "fmt" - "github.com/sablierapp/sablier/pkg/store" "log/slog" "time" + + "gith...
6
4
3
[{"id": "G0", "claim": "Completed `pendingStarts` entries are only deleted when `requestStart` is called again, so finished entries (and any `ps.err`) are never consumed in the normal flow, which can leak memory and prevent async start errors from ever surfacing.", "category": "correctness", "verdict": "supported", "pr...
null
sabuhish__fastapi-mail__63
sabuhish/fastapi-mail
63
defect
1224af6c18699541ac230beecbfa30e74fe40e41
a1cc8e79e98dedc35dbdf4189221b05e81356e68
fix jinja2 templates
Hi, I've been using this library for a few weeks and ran into some issues with the jinja2 integration. 1) if ConnectionConfig is not instantiated in project parent directory the template validator silently fails and returns None. This results in very confusing error messages because user is not notified about it....
diff --git a/docs/example.md b/docs/example.md index 1740b8b..c916366 100644 --- a/docs/example.md +++ b/docs/example.md @@ -130,7 +130,7 @@ conf = ConnectionConfig( MAIL_SERVER = "your mail server", MAIL_TLS = True, MAIL_SSL = False, - TEMPLATE_FOLDER='./email ' + TEMPLATE_FOLDER = Path(__file__)....
2
2
2
[{"id": "G0", "claim": "The TEMPLATE_FOLDER validator should first check whether TEMPLATE_FOLDER is None and skip all validation in that case, since the variable is optional.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Removing the validate_path ...
null
sabuhish__fastapi-mail__93
sabuhish/fastapi-mail
93
defect
25f1c6356eaf193c47246d9cbc3851d36befba1b
9975ff41df50e6cdad2a261195d5118424668dcd
Adds custom headers and mime type to attachments (#92)
Fixes #92
diff --git a/docs/example.md b/docs/example.md index 590759c..401b057 100644 --- a/docs/example.md +++ b/docs/example.md @@ -188,6 +188,29 @@ Jinja behind the scenes. In these versions, you can then access your dict in you As you can see our keys in our dict are no longer the top level, they are part of the `body` var...
1
1
0
[{"id": "G0", "claim": "Remove the leftover debug print statement(s) from the attachment-handling code before merging (the print(attachment) retained in fastapi_mail/msg.py and the print(file) added by the pull request in fastapi_mail/schemas.py).", "category": "maintainability", "verdict": "supported", "priority": "P2...
null