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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MaterializeInc__materialize__34801 | MaterializeInc/materialize | 34,801 | defect | c61ef02a0164e02edc7d768107b7f96f00c53670 | bd6b0b22f2dfefbd070008a3b9eb3e970008ee38 | SQL-76 Add pgwire password authentication to OIDC authenticator | <!--
Describe the contents of the PR briefly but completely.
If you write detailed commit messages, it is acceptable to copy/paste them
here, or write "see commit messages for details." If there is only one commit
in the PR, GitHub will have already added its commit message above.
-->
see commit messages for de... | diff --git a/src/authenticator/src/lib.rs b/src/authenticator/src/lib.rs
index 8525873656c89..c459d3d73fba8 100644
--- a/src/authenticator/src/lib.rs
+++ b/src/authenticator/src/lib.rs
@@ -19,6 +19,9 @@ pub enum Authenticator {
Frontegg(FronteggAuthenticator),
Password(AdapterClient),
Sasl(AdapterClient)... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `password` field on the Oidc variant is confusing because it stores an adapter client, not a password, and should be named `adapter_client`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Password auth should not be a... | null |
MaterializeInc__materialize__34845 | MaterializeInc/materialize | 34,845 | defect | e1eae63cdac4c48917db30d28ff479935fb42b62 | bd54763b4cc1dc3aa44cb54a327f999679a51f6a | SQL-85 Convert OIDC config into system params | <!--
Describe the contents of the PR briefly but completely.
If you write detailed commit messages, it is acceptable to copy/paste them
here, or write "see commit messages for details." If there is only one commit
in the PR, GitHub will have already added its commit message above.
-->
See commit messages
S... | diff --git a/Cargo.lock b/Cargo.lock
index 0a9792ebd7393..9a682e59a80a2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5704,6 +5704,7 @@ version = "0.1.0"
dependencies = [
"jsonwebtoken",
"mz-adapter",
+ "mz-adapter-types",
"mz-auth",
"mz-frontegg-auth",
"mz-ore",
diff --git a/misc/python/materialize/mzcompose... | 5 | 5 | 3 | [{"id": "G0", "claim": "The re-export `pub use mz_adapter::Client as AdapterClient;` need not be `pub` since it is not used anywhere.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "OIDC_AUDIENCE (and also OIDC_ISSUER) should be `Option`-typed configs so ... | null |
MaterializeInc__materialize__34891 | MaterializeInc/materialize | 34,891 | defect | eb86d4c3800249fe7820da631212e35a0007ab1e | df5b46f3e0f1d2488da3580acc1dae62669f768f | SQL-81: Improve OIDC error messages | <!--
Describe the contents of the PR briefly but completely.
If you write detailed commit messages, it is acceptable to copy/paste them
here, or write "see commit messages for details." If there is only one commit
in the PR, GitHub will have already added its commit message above.
-->
see commit messages for de... | diff --git a/src/authenticator/src/oidc.rs b/src/authenticator/src/oidc.rs
index b90dbccd8e775..7b6e0560cfc1b 100644
--- a/src/authenticator/src/oidc.rs
+++ b/src/authenticator/src/oidc.rs
@@ -20,10 +20,10 @@ use jsonwebtoken::jwk::JwkSet;
use mz_adapter::Client as AdapterClient;
use mz_adapter_types::dyncfgs::{OIDC_... | 5 | 5 | 2 | [{"id": "G0", "claim": "Error enum variants that need field-documentation comments should be struct variants (e.g. InvalidIssuerUrl { url: String }) rather than tuple variants.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new OidcError Display mess... | null |
MaterializeInc__materialize__35072 | MaterializeInc/materialize | 35,072 | defect | 0a202b6a7815dec904a3d57440ac5207283ac257 | f79fc1c82e9db6aafca8409d2b7761c0469c3c3b | [10089] [Adapter] Fix COPY panic on invalid range by making into_datum return Result | # Problem:
into_datum had no way to report errors, so COPY with a malformed range (e.g. [7,3) with lower > upper) caused a panic instead of a user-visible error.
# Solution:
- Introduce IntoDatumError (wrapping InvalidRangeError and InvalidArrayError) and make Value::into_datum return Result<Datum, IntoDatumError>... | diff --git a/src/environmentd/src/http/sql.rs b/src/environmentd/src/http/sql.rs
index 797d449b17a70..678f2c8f574cd 100644
--- a/src/environmentd/src/http/sql.rs
+++ b/src/environmentd/src/http/sql.rs
@@ -1394,7 +1394,14 @@ async fn execute_stmt<S: ResultSender>(
&pg_typ,
raw_p... | 2 | 2 | 0 | [{"id": "G0", "claim": "Introduce a `try_push_dict_with` helper on `RowPacker` that accepts a fallible closure, so the Map arm of `into_datum` can keep iterating the map directly instead of pre-collecting elements, keeping the diff minimal and the code cleaner.", "category": "design", "verdict": "supported", "priority"... | null |
MaterializeInc__materialize__35234 | MaterializeInc/materialize | 35,234 | defect | 8532bc0e2f6ef97c3a752629ca82a87ef1382a02 | 2e7804b40a29a859e8894dae85c9bb71ce570ed0 | adapter: make the catalog readable as a builtin source | An attempt at making the catalog shard readable as a builtin source. The first step to making the builtin tables views over the catalog, thus making them multi-envd compatible.
See also Dan's earlier attempt, which served as an inspiration: https://github.com/MaterializeInc/materialize/pull/24138. The main differenc... | diff --git a/doc/user/content/sql/system-catalog/mz_internal.md b/doc/user/content/sql/system-catalog/mz_internal.md
index 3fe848b785318..4a58772b937eb 100644
--- a/doc/user/content/sql/system-catalog/mz_internal.md
+++ b/doc/user/content/sql/system-catalog/mz_internal.md
@@ -1349,6 +1349,7 @@ The `mz_webhook_sources` ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The one-time critical-since migration relies on unintentional behaviour because the critical handle does not verify the codec of the stored opaque value, and the generic opaque type should become a concrete type with codec-name checking to avoid such concerns.", "category": "design", "verdict": ... | null |
MaterializeInc__materialize__35237 | MaterializeInc/materialize | 35,237 | defect | 239bf9ff2da67d21bdcc1aa17e897976baeb429b | b07e033ce9bf31b2672a3001e24f9ec2e8df501a | SQL-86: OIDC Custom authentication claim | Stacked on https://github.com/MaterializeInc/materialize/pull/35185. The first 2 commits belong to the aforementioned PR.
### Motivation
Closes https://linear.app/materializeinc/issue/SQL-86/accept-authentication-claim-config-variablea | diff --git a/src/adapter-types/src/dyncfgs.rs b/src/adapter-types/src/dyncfgs.rs
index c1c1e1296772f..b4d6b4baeaddc 100644
--- a/src/adapter-types/src/dyncfgs.rs
+++ b/src/adapter-types/src/dyncfgs.rs
@@ -135,6 +135,13 @@ pub const OIDC_AUDIENCE: Config<Option<&'static str>> = Config::new(
"OIDC audience (client I... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `sub` claim should not be special-cased in `OidcClaims::user` — it can be handled like all other authentication_claim values via the flattened `unknown_claims` map.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If there is a ... | null |
MaterializeInc__materialize__35322 | MaterializeInc/materialize | 35,322 | defect | 29fec93d9bb730ba7965fa92909bf13fb20c9577 | c1c3943c732b411779c70916baca4bdb008e0ab3 | sql: Migrate abstract interpreter to repr types | ### Motivation
Cleaning up the repr types push.
### Description
The abstract interpreter (which works on MIR) had a SQL-typed interface. This PR changes it to use a repr types interface.
### Verification
Existing tests, nightly run. | diff --git a/src/expr/src/interpret.rs b/src/expr/src/interpret.rs
index 553e47d4c82d8..681704ba3609e 100644
--- a/src/expr/src/interpret.rs
+++ b/src/expr/src/interpret.rs
@@ -10,9 +10,8 @@
use std::collections::BTreeMap;
use std::fmt::Debug;
-use mz_repr::{
- Datum, ReprColumnType, Row, RowArena, SqlColumnType... | 1 | 1 | 1 | [{"id": "G0", "claim": "In ColumnSpecs::cond, use then.col_type.union(&els.col_type) to compute the common type instead of the hand-written scalar_type/nullable logic, since the union may be more precise.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MaterializeInc__materialize__35385 | MaterializeInc/materialize | 35,385 | defect | ccd7c88fc9456cc77b97431650da4bf2687367a7 | 859a7b4f119ba1794ae8ec3079f512f7f414575a | SQL-98: Allow multiple audiences | Changes the audience system variable from a single string to a JSON array of strings. For each OIDC JWT token we validate, we check if its audience claim contains at least one expected audience in the system variable
### Motivation
Closes https://linear.app/materializeinc/issue/SQL-98/allow-multiple-audiences
| diff --git a/Cargo.lock b/Cargo.lock
index 7a9bee339941d..5c234442b92b9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5640,6 +5640,7 @@ dependencies = [
"mz-repr",
"mz-storage-types",
"serde",
+ "serde_json",
"timely",
"tracing",
"workspace-hack",
@@ -7040,7 +7041,6 @@ dependencies = [
"axum",
"base64 0.... | 2 | 2 | 1 | [{"id": "G0", "claim": "The invalid-audience error message should use the Debug representation of the expected audiences instead of serde_json::to_string, so the serde_json dependency is not needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A non-ar... | null |
MaterializeInc__materialize__35510 | MaterializeInc/materialize | 35,510 | defect | bd9d3e1ab8a4dc6b72e14a195b691d2f8f0cfed1 | ba5211aaa2ad147d59658d893c9f306de0f28581 | envd/tests: ignore ID changes in datadriven ws tests | This is a minimal change to reduce the churn on the datadriven ws tests whenever IDs change in the catalog. Like for timestamps, we simply replace all occurrences of IDs by running a regex.
More flexible approaches, like allowing wildcards for skipping fields have been considered, but likely require changes to the `... | diff --git a/src/environmentd/tests/server.rs b/src/environmentd/tests/server.rs
index bf6e92e085e7a..1bd76b3fa49c6 100644
--- a/src/environmentd/tests/server.rs
+++ b/src/environmentd/tests/server.rs
@@ -1034,14 +1034,18 @@ fn test_http_sql() {
// optional "rows=N" argument can be given in the directive to produc... | 2 | 1 | 0 | [{"id": "G0", "claim": "The argument should be named `fixid=true` rather than `fixids=true`, for consistency with the existing `fixtimestamp` flag.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A note about the `fixid` and `fixtimestamp` arguments could... | null |
MaterializeInc__materialize__35512 | MaterializeInc/materialize | 35,512 | defect | fc35e4dac7c28eda9733ad926056ab157a1a6189 | 727732b86644ad51aedf9400893f17a173bb9275 | Add console config endpoint | See commit messages for details
### Motivation
Fixes https://linear.app/materializeinc/issue/SQL-126/add-endpoint-for-console-to-get-oidc-config
### Description
Adds an unauthenticated endpoint for exposing specific system variables that the Console needs. Currently, this includes variables needed for its OIDC... | diff --git a/src/adapter-types/src/dyncfgs.rs b/src/adapter-types/src/dyncfgs.rs
index fadb7c591b672..6fd5200872203 100644
--- a/src/adapter-types/src/dyncfgs.rs
+++ b/src/adapter-types/src/dyncfgs.rs
@@ -175,6 +175,20 @@ pub const USER_ID_POOL_BATCH_SIZE: Config<u32> = Config::new(
"Number of user IDs to pre-allo... | 2 | 1 | 0 | [{"id": "G0", "claim": "The console OIDC dyncfgs could be moved out of adapter-types/src/dyncfgs.rs into a new dyncfgs file specifically for Console system variables.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G4", "claim": "The module doc comment 'Console Imperson... | null |
MaterializeInc__materialize__35540 | MaterializeInc/materialize | 35,540 | defect | 6fe6afabe47d2190f8385c8b73d1891e1c8f9bb6 | cb2293e4ee984f146096e30948d0ac48edd75a23 | mcp: add integration tests | Fixes: https://linear.app/materializeinc/issue/DEX-5/mcp-integration-tests | diff --git a/src/environmentd/src/test_util.rs b/src/environmentd/src/test_util.rs
index 949c9326749b5..4637b2deaa4d1 100644
--- a/src/environmentd/src/test_util.rs
+++ b/src/environmentd/src/test_util.rs
@@ -636,6 +636,14 @@ impl TestHarness {
self
}
+ pub fn with_mcp_routes(mut self, agents: bool, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR might gain something from testing from outside of cargo test (the tests run in-process), and the reviewer asks how slow the cargo test execution is.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
MaterializeInc__materialize__35608 | MaterializeInc/materialize | 35,608 | defect | fb80db67fd8dc9cdb0af90c96fb52eb33077bc37 | 47e3041b8934e8b36a1ce345ab0417a75b8e4d16 | mcp: add observatory endpoint tests and fix SHOW/EXPLAIN validation | Fixes: https://linear.app/materializeinc/issue/DEX-5/mcp-integration-tests | diff --git a/src/environmentd/src/http/mcp.rs b/src/environmentd/src/http/mcp.rs
index a2f58794ddabd..be54402ec2e6d 100644
--- a/src/environmentd/src/http/mcp.rs
+++ b/src/environmentd/src/http/mcp.rs
@@ -942,8 +942,12 @@ fn validate_system_catalog_query(sql: &str) -> Result<(), McpRequestError> {
)));
}
... | 5 | 3 | 0 | [{"id": "G0", "claim": "Add a test that triggers the 'Query must reference at least one system catalog table' validation error, which under the new is_select condition can only come from the collector.tables.is_empty() branch (constant SELECT queries).", "category": "testing", "verdict": "supported", "priority": "P2", ... | null |
MaterializeInc__materialize__35640 | MaterializeInc/materialize | 35,640 | defect | 1f98282bcf43132bb47d8465266c9b68d44d59b7 | c9be7c37fe793d370a4eb9a451aa72357120ca05 | enable mcp routes (not feature) by default |
### Motivation
We should probably just rely on the LD flag for this for now.
| diff --git a/src/orchestratord/src/controller/materialize/generation.rs b/src/orchestratord/src/controller/materialize/generation.rs
index d1e9b1859f448..d4eaee29b1138 100644
--- a/src/orchestratord/src/controller/materialize/generation.rs
+++ b/src/orchestratord/src/controller/materialize/generation.rs
@@ -1336,8 +133... | 1 | 1 | 0 | [{"id": "G0", "claim": "The dyncfgs defaults for enable_mcp_agents and enable_mcp_observatory should also be flipped (to false) to match enabling the MCP routes by default in this case.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
MaterializeInc__materialize__35700 | MaterializeInc/materialize | 35,700 | defect | 1056b0e26d710371748eed295cfa7e66da001f6b | 62fce3b7c6583ac7ba0f64987100b65d0dc7bf50 | adapter: internal HTTP API to inject audit events | This PR adds an internal environmentd HTTP endpoint that allows injecting new audit events into the catalog. This is to give system admins a way of mitigating audit log corruption that occurred for whatever reason (typically due to bugs in Materialize).
### Motivation
Due to bugs (https://github.com/MaterializeIn... | diff --git a/src/adapter/src/catalog.rs b/src/adapter/src/catalog.rs
index a463bcd49dd4f..71bee75dc649f 100644
--- a/src/adapter/src/catalog.rs
+++ b/src/adapter/src/catalog.rs
@@ -92,7 +92,7 @@ pub use crate::catalog::builtin_table_updates::BuiltinTableUpdate;
pub use crate::catalog::open::{InitializeStateResult, Ope... | 3 | 2 | 1 | [{"id": "G0", "claim": "Add a test for the failure case where the injected audit event payload is invalid JSON (e.g. a wrong EventType).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment on Op::InjectAuditEvents promises more than it delive... | null |
MaterializeInc__materialize__35780 | MaterializeInc/materialize | 35,780 | defect | 00e718d08eb0a8e7501f085d09b65db0ea9ccad2 | f1995cfd99b56cb4efc413fca42fbc6b7a28b9c1 | mcp: validate data product names before interpolating into SQL | Validates that data product names passed to read_data_product are syntactically valid SQL identifiers by parsing a probe query locally, preventing malformed or injected names from reaching the database as opaque SQL errors. | diff --git a/src/environmentd/src/http/mcp.rs b/src/environmentd/src/http/mcp.rs
index 03d62bbfcedbb..eb8c5c3edf830 100644
--- a/src/environmentd/src/http/mcp.rs
+++ b/src/environmentd/src/http/mcp.rs
@@ -683,6 +683,76 @@ async fn get_data_product_details(
}))
}
+/// Validates that a data product name is a safe... | 3 | 2 | 1 | [{"id": "G0", "claim": "The validation error message says a fully qualified name is expected, but the test shows unqualified names are accepted, so the message is misleading.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `StrExt::quoted` inst... | null |
MaterializeInc__materialize__35826 | MaterializeInc/materialize | 35,826 | defect | 00cc513fa510dd6bc1920bc86d05c056c742f28a | 7fcafa451144d4bcd0054b5576c600f64f5c6ac2 | optimizer: Push `COALESCE` into `CASE WHEN` | ### Motivation
https://materializeinc.slack.com/archives/C0246GEHL8N/p1774867717130349?thread_ts=1774866513.092989&cid=C0246GEHL8N
### Description
Implements the optimization:
```
COALESCE((CASE WHEN e1 THEN e2 ELSE e3), ...)
=>
CASE WHEN e1 THEN COALESCE(e2, ...) ELSE COALESCE(e3, ...)
```
In order to ... | diff --git a/misc/python/materialize/mzcompose/__init__.py b/misc/python/materialize/mzcompose/__init__.py
index f1046750123f5..94835012bbe2f 100644
--- a/misc/python/materialize/mzcompose/__init__.py
+++ b/misc/python/materialize/mzcompose/__init__.py
@@ -192,6 +192,11 @@ def get_variable_system_parameters(
... | 8 | 5 | 1 | [{"id": "G0", "claim": "The coalesce/case optimization should be written as a free-standing optimizer transform (like CaseLiteral) instead of living inside MSE::reduce's match with unclear/undocumented semantics.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
MaterializeInc__materialize__35863 | MaterializeInc/materialize | 35,863 | defect | 8044d1a2119ba5be8df6d6b1887a82513330bb49 | ec858b95a66e41dc9f5fee1f53c64ac9b36cae2e | [SS-101] Storage introspection mirrored in compute | Events from storage's timely infra are captured and replayed in the compute logging dataflows, with identifiers bumped up by 2^48. They are pretty large at that point, but shouldn't collide with the compute identifiers. The nudged identifiers should include Both the timely operator ids, and also the dataflow identifier... | diff --git a/src/clusterd/src/lib.rs b/src/clusterd/src/lib.rs
index 5c6a63431afce..1b14b815e9424 100644
--- a/src/clusterd/src/lib.rs
+++ b/src/clusterd/src/lib.rs
@@ -38,6 +38,7 @@ use mz_service::secrets::SecretsReaderCliArgs;
use mz_service::transport;
use mz_storage::storage_state::StorageInstanceContext;
use m... | 8 | 5 | 5 | [{"id": "G0", "claim": "The storage timely logger's batching interval (hardcoded to 1 second) should be made configurable, noted as a low-priority TODO.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The transient storage_log_reader handling in handle_co... | null |
MaterializeInc__materialize__36116 | MaterializeInc/materialize | 36,116 | defect | afd388ee1ee980bebd74921736240a0db911fe95 | 528a57d1bbd23c2226692cd0f5d71c81181597bf | mcp: expose all RBAC-accessible views as data products without requiring indexes or comments | Fixes: https://linear.app/materializeinc/issue/DEX-23/mcp-agent-expose-all-rbac-accessible-views-as-data-products-without | diff --git a/doc/user/content/reference/system-catalog/mz_internal.md b/doc/user/content/reference/system-catalog/mz_internal.md
index f2c38b08f80d6..1a00dca3e7ca4 100644
--- a/doc/user/content/reference/system-catalog/mz_internal.md
+++ b/doc/user/content/reference/system-catalog/mz_internal.md
@@ -542,9 +542,10 @@ ea... | 3 | 3 | 1 | [{"id": "G0", "claim": "Including views (not just tables, MVs and indexed objects) as data products runs the risk that agents would accidentally submit heavy queries, since view contents are recomputed from scratch rather than served from Persist or an index.", "category": "design", "verdict": "supported", "priority": ... | null |
MaterializeInc__materialize__36139 | MaterializeInc/materialize | 36,139 | defect | 884d226dd76d7a8f20c1ed8153fb94de9de96392 | 8d379a3cc80033ed5d848b24141fa9c0fb1b0446 | mcp: fix origin validation to use CORS allowlist instead of Origin/Host self-comparison | Fixes https://github.com/MaterializeInc/database-issues/issues/11311
The previous `validate_origin` function compared the request's Origin against its Host header, which doesn't prevent DNS rebinding.
Replacing the manual check with the existing `allowed_origin` CORS allowlist (built from `localhost`/`127.0.0.1`/... | diff --git a/src/environmentd/src/http.rs b/src/environmentd/src/http.rs
index a5d239b832e67..24267f7c61904 100644
--- a/src/environmentd/src/http.rs
+++ b/src/environmentd/src/http.rs
@@ -504,8 +504,8 @@ impl HttpServer {
.layer(
CorsLayer::new()
.allow_me... | 1 | 1 | 1 | [{"id": "G0", "claim": "Keep a server-side `validate_origin` that rejects requests whose Origin header is present but not on the CORS allowlist, because CorsLayer alone only controls response headers and does not block non-preflight POST requests in a DNS rebinding attack.", "category": "security", "verdict": "supporte... | null |
MaterializeInc__materialize__36193 | MaterializeInc/materialize | 36,193 | defect | d7ba94d0f363dd4817bf596fb99c4f086b7b4174 | ecb9e146aa12c0d53c6ae40eb6ba6a841cccd929 | console: surface OIDC sign-in failures on the login page |
### Motivation
Addressing SSO Feedback to show better error messages in the console if there are SSO failures and not have a confusing user experience. Fixes [CNS-53](https://linear.app/materializeinc/issue/CNS-53/improve-oidc-console-errors)
### Description
- Added OIDC error messages to the console showin... | diff --git a/console/src/api/apiClient.ts b/console/src/api/apiClient.ts
index e87ae12179f5a..85f644579e23d 100644
--- a/console/src/api/apiClient.ts
+++ b/console/src/api/apiClient.ts
@@ -20,6 +20,7 @@ import {
} from "~/config/AppConfig";
import { ContextHolder } from "~/external-library-wrappers/frontegg";
import... | 4 | 4 | 4 | [{"id": "G0", "claim": "Similar to the existing pgwire tests in src/environmentd/tests/auth.rs, the PR should add tests asserting the details of the HTTP auth errors.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Passing the login error across the redi... | null |
MaterializeInc__materialize__36217 | MaterializeInc/materialize | 36,217 | defect | 4d48ae782e76f9a13b76a81f39e0ee552ee42bfa | 7da7861c8bbb517b0322646c37d2f202534c0364 | [catalog] fix quadratic consolidation during catalog sync | SQL-159 / incident-970
Problem:
There was O(K * N log N) behavior in catalog sync where consolidate() was called on the entire snapshot for each of K timestamps.
This was the root cause of incident-970: a read-only envd restarted due to DDL in the old env, and during the restart more DDL happened across many tim... | diff --git a/src/catalog/src/durable/metrics.rs b/src/catalog/src/durable/metrics.rs
index c69c4cc6a30bf..e58ada644d72d 100644
--- a/src/catalog/src/durable/metrics.rs
+++ b/src/catalog/src/durable/metrics.rs
@@ -25,6 +25,7 @@ pub struct Metrics {
pub sync_latency_seconds: Counter,
pub collection_entries: Int... | 2 | 2 | 1 | [{"id": "G0", "claim": "During a 0dt deployment the read-only envd's memory usage grows proportionally to the number of DDL timestamps replayed during catch-up rather than the size of the live catalog, and it is not clear whether that warrants a change.", "category": "performance", "verdict": "supported", "priority": "... | null |
MaterializeInc__materialize__36233 | MaterializeInc/materialize | 36,233 | defect | b92c0d22d6eb2939a52f03156f0eb9c809fa1f54 | af717132ca6d45146fd38ef10ea717ce1fcb7f18 | [catalog] fix snapshot doubling check to run per-timestamp in sync_inner | The doubling consolidation check was outside the per-timestamp `while let` loop, only firing once per Progress event. A single `fetch_next` call can deliver many timestamps in one batch, so all those updates were applied before consolidation could fire, letting the snapshot grow past the 2x bound.
Move the check ins... | diff --git a/src/catalog/src/durable/persist.rs b/src/catalog/src/durable/persist.rs
index e4b674ccb46cb..8a902b00c9881 100644
--- a/src/catalog/src/durable/persist.rs
+++ b/src/catalog/src/durable/persist.rs
@@ -599,12 +599,12 @@ impl<T: TryIntoStateUpdateKind, U: ApplyUpdate<T>> PersistHandle<T, U> {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doubling-size check could be moved into a `fn maybe_consolidate()` (holding the amortization check), called from the loop and other places, so the size-check noise sits outside the bigger function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
MaterializeInc__materialize__36392 | MaterializeInc/materialize | 36,392 | defect | 56c3a468ac7922cbee3d9c8ed87d0573b7a20491 | b638df313a9f0a843d1b9c3c718a07acbc327640 | [SSO] Wire JWT group-to-role sync into login and add edge case handling | Problem:
Users authenticating via OIDC had no automatic mechanism to sync their JWT group claims to Materialize role memberships. Operators had to manually assign roles to each user, which didn't scale as group membership changed in the identity provider.
Solution:
- Call sync_jwt_groups in handle_startup_inner af... | diff --git a/src/adapter/src/catalog.rs b/src/adapter/src/catalog.rs
index 30779b9daa1ef..177ebbeb46b20 100644
--- a/src/adapter/src/catalog.rs
+++ b/src/adapter/src/catalog.rs
@@ -929,6 +929,10 @@ impl Catalog {
self.state.try_get_role_by_name(role_name)
}
+ pub fn try_get_role_by_name_case_insensit... | 6 | 6 | 3 | [{"id": "G0", "claim": "A JWT groups claim containing the user's own role name (e.g. an IdP echoing preferred_username/email into groups) makes the resolver map that group back to the user's own role, so the grant handler's circular-membership check rejects the whole batch with CircularRoleMembership and login fails; t... | null |
MatteoGabriele__vue-gtag__618 | MatteoGabriele/vue-gtag | 618 | defect | 8f054aa1fccbcf279fcad37ccfe3948f1f096ee1 | 1d20df16d3d53e14ef35664270a1c28b3fecd78d | feat(pageview): set utm manually | sets utm tags manually when using pageview
closes #517
closes #351
closes #405 | diff --git a/src/api/pageview/pageview.test.ts b/src/api/pageview/pageview.test.ts
index 8dd0d2e5..8edf1991 100644
--- a/src/api/pageview/pageview.test.ts
+++ b/src/api/pageview/pageview.test.ts
@@ -120,6 +120,30 @@ describe("pageview", () => {
);
});
+ it("should send utm parameters manually outside the pag... | 6 | 4 | 3 | [{"id": "G0", "claim": "The new test expects query to be called with 'set', 'utm_tracking' while the implementation calls set('campaign', ...), so the test fails (CI is failing) and test and implementation must be aligned.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"... | null |
MatthewWid__better-sse__57 | MatthewWid/better-sse | 57 | defect | 2c3427510bfd40804d00b47e09e0b9d6b91005cf | fcb44487aa00eccfc553bc0acc193cddcf64de4f | isConnected should be set on response closed and prevent pushing data | Response can also close without request emitting the close event.
both should be listened to set the `isConnected` boolean to false.
Also, pushing data should throw on a disconnected session. | diff --git a/src/Session.test.ts b/src/Session.test.ts
index 75a19b0..377fe19 100644
--- a/src/Session.test.ts
+++ b/src/Session.test.ts
@@ -129,6 +129,29 @@ describe("connection", () => {
eventsource = new EventSource(url);
}));
+ it("sets the isConnected boolean based on whether the response emit close", () ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The added `instanceof Http1ServerResponse` if-statements (in flush and the batchers) have identical branches and add runtime overhead purely to satisfy the type system, so they should be removed and the `write` method manually overridden on the `res` type instead.", "category": "design", "verdic... | null |
Matthias247__futures-intrusive__12 | Matthias247/futures-intrusive | 12 | defect | c016378ef4261712eb05d446651e4e08c4e36374 | 901d151a17cd21f6ea880018a30e257cdb3d6dec | WIP: Add stream method to channel | This method returns a type which implements Future::Stream. | diff --git a/src/channel/channel_future.rs b/src/channel/channel_future.rs
index 99ff89f..e2413aa 100644
--- a/src/channel/channel_future.rs
+++ b/src/channel/channel_future.rs
@@ -460,4 +460,4 @@ mod if_alloc {
}
#[cfg(feature = "std")]
-pub use self::if_alloc::*;
\ No newline at end of file
+pub use self::if_allo... | 10 | 10 | 1 | [{"id": "G0", "claim": "Storing a signaled receive Future inside the Stream may leave other waiters on the channel unsignaled when a user polls the Stream once and then stops (a lost wakeup), which the reviewers were concerned might be problematic up to a possible deadlock.", "category": "correctness", "verdict": "supp... | null |
Matthias247__futures-intrusive__14 | Matthias247/futures-intrusive | 14 | defect | a155cbefc556f45818dcbee6892b6b7f623cdfef | 0fe834b6992b1df62365e6046182349bd3e6cadb | Added try_send and try_receive methods | This allows a user to attempt to send & recv without blocking.
Had to rename the methods of the ChannelSendAccess &
ChannelReceiveAccess.
Btw why use `receive` instead of `recv`?
Also I should be back on working on #12 very soon (maybe after this weekend). | diff --git a/src/channel/channel_future.rs b/src/channel/channel_future.rs
index 10cf43c..13306a6 100644
--- a/src/channel/channel_future.rs
+++ b/src/channel/channel_future.rs
@@ -85,7 +85,7 @@ impl<T> SendWaitQueueEntry<T> {
/// Adapter trait that allows Futures to generically interact with Channel
/// implementati... | 6 | 6 | 3 | [{"id": "G0", "claim": "The `send_or_wait` name misdescribes the trait method, since it does not wait but only adds the wait handle to the list and returns, so it should be named along `send_or_register_waiter`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
Matthias247__futures-intrusive__26 | Matthias247/futures-intrusive | 26 | defect | ff7eb703d978a8842d45a335ad8507c928aef147 | a92821433e40d3a343c72a6744be3055f138b31f | Updated mpmc Channel::close method signature | The Channel::close method now returns `PrevState`, which
represents the previous state of the channel prior to being
closed.
This closes #25. | diff --git a/src/channel/mod.rs b/src/channel/mod.rs
index 4b48d12..3b77ba5 100644
--- a/src/channel/mod.rs
+++ b/src/channel/mod.rs
@@ -40,7 +40,9 @@ pub use self::state_broadcast::StateBroadcastChannel;
mod mpmc;
-pub use self::mpmc::{GenericChannel, LocalChannel, LocalUnbufferedChannel};
+pub use self::mpmc::{
... | 6 | 6 | 1 | [{"id": "G0", "claim": "The is_open method on the close result should maybe be named was_open, because chan.close().is_open() might be read as a check of the channel state rather than as 'the channel was already closed before this close'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
Matthias247__futures-intrusive__27 | Matthias247/futures-intrusive | 27 | defect | 603fa6fbf8c2a8959c5ad366d408fded9246e619 | bee88936ee6e98828b55a11c2d344848efb28f60 | Updated {Oneshot,Broadcast}Channel::close signature | Oneshot & broadcast channels now return `CloseStatus` when
`close` is called, which allows the user to know if the
channel was already closed.
This is a continuation of #26 for the remaining channel implementations. | diff --git a/src/channel/channel_future.rs b/src/channel/channel_future.rs
index 4644b56..193c959 100644
--- a/src/channel/channel_future.rs
+++ b/src/channel/channel_future.rs
@@ -5,6 +5,35 @@ use core::pin::Pin;
use futures_core::future::{FusedFuture, Future};
use futures_core::task::{Context, Poll, Waker};
+/// ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment on CloseStatus misspells \"additional\" as \"additionnal\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Matthias247__futures-intrusive__41 | Matthias247/futures-intrusive | 41 | defect | 4592e5e837d64dfa8f5138acb6c253e8868f5aee | 464c316a03f8f707261c4ec7561a634a713fc13f | Add alloc support | Add support for the alloc crate. Add a new feature flag, `alloc`, which is enabled by default and required by the `std` feature. Tests have been updated and notes about the new `alloc` feature have been added to documentation. A new test has been added to Travis to test with only `alloc` enabled.
This is done by swi... | diff --git a/.travis.yml b/.travis.yml
index c505931..590b339 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,4 +14,5 @@ before_script:
script:
- cargo fmt --all -- --check
- cargo test --no-default-features
+ - cargo test --all-targets --no-default-features --features alloc
- cargo test --all-targets --al... | 1 | 1 | 0 | [{"id": "G0", "claim": "The lib.rs feature bullet should say `no-std` instead of `alloc`, because the types do not require any allocation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Matthias247__futures-intrusive__45 | Matthias247/futures-intrusive | 45 | defect | 4e69a77d2bc7921d12d903c7aadf83c4c8cc79eb | f918cf1ef194f36bda10bd9d4fa96ff649c3e681 | Add shared semaphore implementation | This adds a shared generic semaphore implementation that can be shared across threads or futures.
My use case is a set of future ran concurrently in an executor that are each rate-limited via a shared semaphore. | diff --git a/src/sync/mod.rs b/src/sync/mod.rs
index f59b9c6..003f8f3 100644
--- a/src/sync/mod.rs
+++ b/src/sync/mod.rs
@@ -32,5 +32,8 @@ pub use self::semaphore::{
#[cfg(feature = "alloc")]
pub use self::semaphore::{
- Semaphore, SemaphoreAcquireFuture, SemaphoreReleaser,
+ GenericSharedSemaphore, GenericSh... | 2 | 2 | 2 | [{"id": "G0", "claim": "Leave out the PartialEq impl on GenericSharedSemaphore, since PartialEq in Rust typically means content equality rather than reference equality.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unsafe Send impl for GenericShared... | null |
MattiasBuelens__wasm-streams__27 | MattiasBuelens/wasm-streams | 27 | defect | 3bb7b55817393a2cf973f526414d7356e2ec5567 | 180972dc50b2eb3d697fe43402dd6201b105c644 | fix: persist stream error state | This came up while working on the panic=unwind support - streams errors don't currently seem to be persistent, and if the writer was dropped already it would silently succeed.
This resolves the existing TODO in adding error persistence.
Let me know if you have any further feedback. | diff --git a/src/writable/into_sink.rs b/src/writable/into_sink.rs
index 8e285c5..ad4d343 100644
--- a/src/writable/into_sink.rs
+++ b/src/writable/into_sink.rs
@@ -19,6 +19,8 @@ use super::WritableStreamDefaultWriter;
#[derive(Debug)]
pub struct IntoSink<'writer> {
writer: Option<WritableStreamDefaultWriter<'wr... | 1 | 1 | 0 | [{"id": "G0", "claim": "Split up tests/into_sink_error_test.rs: move FailingSink to tests/util/failing_sink.rs and test_into_sink_errors_after_failure to tests/tests/writable_stream.rs so the test runs in both browsers and Node.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
MattiasBuelens__wasm-streams__28 | MattiasBuelens/wasm-streams | 28 | defect | 230dbd7b78b8841ed49764015252528d13ceb86f | 159deae8d1ed6344f7497d0d7541089f4b20230a | feat: support and test building with panic=unwind | This adds support and testing for building with `panic=unwind`. Resolves https://github.com/MattiasBuelens/wasm-streams/issues/26.
Will be great to have this support so we can build workers-rs with unwind recovery going forward. | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f56973d..7a9d798 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -44,6 +44,40 @@ jobs:
- name: Test on Firefox
run: WASM_BINDGEN_USE_BROWSER=1 wasm-pack test --headless --firefox
+ test-panic-unwind:
+ n... | 4 | 2 | 2 | [{"id": "G0", "claim": "Remove `wasm_bindgen_test_configure!(run_in_node_experimental);` from the panic-unwind tests so they can run in browsers as well as in Node.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The separate test crate may only need the... | null |
Mause__duckdb_engine__1120 | Mause/duckdb_engine | 1,120 | defect | ab02e889524bb013af995f5233f0a87ec3b9286f | 67dfe9813c9034f85727f099cc58ece6243565e4 | test: Validate return of Arrow Table and/or RecordBatches from the Cursor | **Updated:** I didn't initially spot the `__getitem__` that redirects to the underlying raw connection, so started adding two entirely unnecessary pass-through methods (now removed) to the Cursor object to get the Arrow data, heh (though having explicit methods might be helpful for discoverability? 🤔)
This PR now j... | diff --git a/duckdb_engine/__init__.py b/duckdb_engine/__init__.py
index 98ac96813..fb1a3d8e8 100644
--- a/duckdb_engine/__init__.py
+++ b/duckdb_engine/__init__.py
@@ -46,6 +46,7 @@
supports_user_agent: bool = duckdb_version >= "0.9.2"
if TYPE_CHECKING:
+ from pyarrow import RecordBatchReader, Table
from s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pyarrow import added inside the TYPE_CHECKING block of duckdb_engine/__init__.py is an unjustified leftover that should be removed rather than explained.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Mause__duckdb_engine__1147 | Mause/duckdb_engine | 1,147 | defect | 4190fbb61877af5ae81c072072430023acde4c6c | 59c9e36315fbee927c3e9feedd64efbe507fc602 | fix(reflection): MetaData.reflect() raises exception with sqlalchemy v2.0.36 | Fixes #1128 using the suggestion from [this discussion](https://github.com/sqlalchemy/sqlalchemy/discussions/12011) to override this [commit](https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/5519/3/lib/sqlalchemy/dialects/postgresql/base.py). Function was just overridden and a small test case created to test thi... | diff --git a/duckdb_engine/__init__.py b/duckdb_engine/__init__.py
index 85350b2cd..c6882646d 100644
--- a/duckdb_engine/__init__.py
+++ b/duckdb_engine/__init__.py
@@ -17,7 +17,7 @@
import duckdb
import sqlalchemy
-from sqlalchemy import pool, text, util
+from sqlalchemy import pool, select, sql, text, util
from ... | 6 | 5 | 1 | [{"id": "G0", "claim": "The new top-level test script should be turned into a pytest test function placed in test_basic.py instead of a standalone test_reflection.py file so pytest actually picks it up.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "pg_... | null |
Mause__duckdb_engine__675 | Mause/duckdb_engine | 675 | defect | 71b1ed2f63dc25a848995986401be765711d763d | 7afa02738a8e37a47c842449ab6612228e9594e8 | feat: Allow passing parameters in connection string | Currently the only way to pass settings to DuckDB is through the `connect_args` parameter.
This PR allows URL parameters in the connection string [parsed by SQLAlchemy](https://github.com/sqlalchemy/sqlalchemy/blob/14825668ab407115f793dd229ed694c5c607c657/lib/sqlalchemy/engine/create.py#L548) to get passed back to ... | diff --git a/duckdb_engine/__init__.py b/duckdb_engine/__init__.py
index d270c67e6..88df225c6 100644
--- a/duckdb_engine/__init__.py
+++ b/duckdb_engine/__init__.py
@@ -281,7 +281,9 @@ def initialize(self, connection: "Connection") -> None:
DefaultDialect.initialize(self, connection)
def create_connect_... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request's CI failures and warnings should be fixed up before merge.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new test should read the setting via current_setting('worker_threads') instead of querying the duckdb... | null |
Mause__duckdb_engine__740 | Mause/duckdb_engine | 740 | defect | 7752be643e6cff9ef75ce0e804876a14f0262232 | ff7b81d2740cebef492d7f9ea4cd710d5d98514a | fix: qualify catalog names with schema names in get_schema_names | Due to having multiple databases in DuckDB, the Postgres dialect of get_schema_names has duplicates (Ex: one copy of "main" for every database, including temp and system).
This is a draft because it has no tests! I just wanted to post here to get some quick feedback and I'll definitely add some tests in the next day... | diff --git a/duckdb_engine/__init__.py b/duckdb_engine/__init__.py
index 8cea1a913..b27dd4d0c 100644
--- a/duckdb_engine/__init__.py
+++ b/duckdb_engine/__init__.py
@@ -259,6 +259,32 @@ def get_view_names(
return [row[0] for row in rs]
+ def get_schema_names(self, connection, **kw) -> Any:
+ """
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The database/schema-name quoting logic should be expressed in Python code instead of SQL CASE expressions, preferably reusing SQLAlchemy's escaping support.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Mause__duckdb_engine__835 | Mause/duckdb_engine | 835 | defect | 4ef3cfb8e421d947c2ce41c879d94f02a3464801 | 955eb65a9a82b86876ddee182a11e02ea83a9b13 | fix: Support fetching multiple databases and schemas and their associated tables | Picking this up from previous PRs by @Mause and @Alex-Monahan (see https://github.com/Mause/duckdb_engine/pull/748 and https://github.com/Mause/duckdb_engine/pull/740)
Due to having multiple databases in DuckDB, the Postgres dialect of get_schema_names has duplicates (Ex: one copy of "main" for every database, inclu... | diff --git a/duckdb_engine/__init__.py b/duckdb_engine/__init__.py
index 3d521e252..8ca96ffe2 100644
--- a/duckdb_engine/__init__.py
+++ b/duckdb_engine/__init__.py
@@ -1,3 +1,4 @@
+import re
import warnings
from typing import (
TYPE_CHECKING,
@@ -23,6 +24,7 @@
from sqlalchemy.dialects.postgresql.base import PG... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request's CI checks are failing and the author should look at and fix them.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The test's loop opens a new connection on every iteration, so it may be creating a new in-memory ... | null |
MaxHalford__eaopt__40 | MaxHalford/eaopt | 40 | defect | 1ec1eeffdeb99ba58ad3289887e3a97ae0f8257d | 2c9cc624456c65a444889b3a016c4a875830b9fc | Code review | I did some linting and code review. Happy to discuss the changes :-) | diff --git a/crossover.go b/crossover.go
index 2540051..982405f 100644
--- a/crossover.go
+++ b/crossover.go
@@ -158,29 +158,29 @@ func ox(p1, p2 Slice, a, b int) {
o2 = p2.Copy()
)
// Create lookup maps to quickly see if a gene has been copied from a parent or not
- var p1Occurences, p2Occurences = make(setIn... | 2 | 2 | 0 | [{"id": "G0", "claim": "A space is missing before the opening brace in the error check on the added line in models.go (err != nil{), which gofmt should have caught.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Vector receiver names in setup_te... | null |
Maxteabag__sqlit__18 | Maxteabag/sqlit | 18 | defect | 179b6fdc9c0b5cd034233966573a187425e25515 | 367d88461abf1694813edd938ae4da23b923822c | Firebird support | Hi! This adds support for [FirebirdSQL](https://www.firebirdsql.org/). I think I've covered everything that's required to support it, but if there's anything I've missed, I'm happy to add it.
~The test suite runs slower than I'd like on my own laptop for reasons I can't quite identify, but it all passes. I don't see... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 163a68fc..7d44f63b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -65,6 +65,7 @@ jobs:
--ignore=tests/test_duckdb.py \
--ignore=tests/test_cockroachdb.py \
--ignore=tests/test_turso.py ... | 6 | 6 | 5 | [{"id": "G0", "claim": "The get_sequence_definition SQL is missing a space between the concatenated string literals, so the query runs as \"rdb$generator_incrementFROM rdb$generators\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In get_trigger_d... | null |
Mbed-TLS__TF-PSA-Crypto__13 | Mbed-TLS/TF-PSA-Crypto | 13 | defect | 54819ea9989bd04624a98f29041d62942f76e985 | f318ce122c6d03e3c89dc8b7e2deb05507f4292e | Define the platform abstraction layer and related config options | Works and tested with https://github.com/ronald-cron-arm/mbedtls/tree/psa-crypto-repository-1.
Fixes #9 | diff --git a/docs/architecture/psa-crypto-repository.md b/docs/architecture/psa-crypto-repository.md
index 5551fd7c8f..606043a623 100644
--- a/docs/architecture/psa-crypto-repository.md
+++ b/docs/architecture/psa-crypto-repository.md
@@ -107,32 +107,7 @@ thus we need to provide a cmake based build system for the PSA-C... | 5 | 4 | 0 | [{"id": "G0", "claim": "The printf-like platform abstraction functions should carry a printf format attribute like Mbed TLS's MBEDTLS_PRINTF_ATTRIBUTE so that format-string compilation warnings are generated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
Mbed-TLS__TF-PSA-Crypto__14 | Mbed-TLS/TF-PSA-Crypto | 14 | defect | 54819ea9989bd04624a98f29041d62942f76e985 | 064939e1b2ab36da0fb58ef3b509ff48cf1724e4 | Define typical configurations and test them | Works and tested with https://github.com/ronald-cron-arm/mbedtls/tree/psa-crypto-repository-1.
Fixes #4 and #5
On top of #13 | diff --git a/configs/ccm-aes-sha256-secp256r1.h b/configs/ccm-aes-sha256-secp256r1.h
new file mode 100644
index 0000000000..4abd6edb48
--- /dev/null
+++ b/configs/ccm-aes-sha256-secp256r1.h
@@ -0,0 +1,113 @@
+/**
+ * \file psa/ccm-aes-sha256-secp256r1.h
+ *
+ * \brief PSA crypto configuration with symmetric cryptograph... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new typical configurations enable PSA_WANT_ALG_SHA_224 although they only need SHA-256, needlessly adding code size, so it should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Mbed-TLS__TF-PSA-Crypto__319 | Mbed-TLS/TF-PSA-Crypto | 319 | defect | d7bc3bba1d9c316b0156bc3b19d24e4d857be5f0 | d71f30f281a9d9687c7e89adaca479523568da3e | [tf-psa-crypto] Move Everest headers to a private subdirectory (2/2) | ## Description
- Resolves https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/229.
- PR 2 out of 2
- Supersedes https://github.com/Mbed-TLS/TF-PSA-Crypto/pull/235
## PR checklist
- [x] **changelog** not required because: nothing visible to the end user
- [x] **framework PR** not required
- [x] **mbedtls devel... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e1fff2307..32c864e3ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -442,7 +442,7 @@ if(ENABLE_TESTING OR ENABLE_PROGRAMS)
PRIVATE tests/include
PRIVATE include
PRIVATE drivers/builtin/include
- PRIVATE drivers/everest/include
+... | 1 | 1 | 1 | [{"id": "G0", "claim": "Putting the tf-psa-crypto/private subdirectory on the everest target's (public) include path defeats the goal that Everest headers be includable only as tf-psa-crypto/private/everest/...; private must not be part of any directory on the include list, and ecdh.h's include of everest should change... | null |
Mbed-TLS__TF-PSA-Crypto__683 | Mbed-TLS/TF-PSA-Crypto | 683 | defect | 807e54ec7f9d3bd7f4179f20cecbc5d52f9e3355 | ce1ae63a2e07bafe48eae90d326454d3cc9d9901 | PSA API for SHAKE | Add SHAKE128 and SHAKE256 through the PSA API. Resolves https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/627 and more.
Status: ready.
Needs preceding PR:
1. [x] https://github.com/Mbed-TLS/mbedtls-framework/pull/265
2. [x] https://github.com/Mbed-TLS/mbedtls/pull/10600 — Update the framework to the merge of h... | diff --git a/ChangeLog.d/shake.txt b/ChangeLog.d/shake.txt
new file mode 100644
index 0000000000..8e63a50906
--- /dev/null
+++ b/ChangeLog.d/shake.txt
@@ -0,0 +1,2 @@
+Features
+ * Implement SHAKE (PSA_ALG_SHAKE128, PSA_ALG_SHAKE256).
diff --git a/core/psa_crypto.c b/core/psa_crypto.c
index 97acabe306..363f129354 100... | 4 | 1 | 1 | [{"id": "G0", "claim": "PSA_ALG_XOF_HAS_CONTEXT is declared with parameter xof_alg but its body references alg, so the macro ignores its argument and only works when the caller happens to name its variable alg.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
MechanicalSoup__MechanicalSoup__126 | MechanicalSoup/MechanicalSoup | 126 | defect | 4cd9f99f05e37beea8ef2335695befa61e5745fb | 24c47233445280666983dc991de11040dcd0c171 | form: add print_summary() method | While trying to write small examples, this turned out to be really
something the user (=me) needs and appreciates. | diff --git a/docs/ChangeLog.rst b/docs/ChangeLog.rst
index 1a951ac3..9397796a 100644
--- a/docs/ChangeLog.rst
+++ b/docs/ChangeLog.rst
@@ -36,6 +36,10 @@ Main changes:
- ``set_checkbox`` and ``set_radio`` together deprecate ``check``
(checkboxes are handled differently by default)
+* A new ``Form.print_summar... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ChangeLog.rst entry added by the PR accidentally refers to `Form.get_summary` instead of the new `Form.print_summary` method.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MechanicalSoup__MechanicalSoup__139 | MechanicalSoup/MechanicalSoup | 139 | defect | 3ab35716ead3f7f807d213f571e4aa7cacd06c2c | 368c0661336b93b1ec15ee2e226215e77a68245d | browser: implement __enter__ and __exit__ | We implement the same methods as request.session, allowing code like
def test_with():
with mechanicalsoup.StatefulBrowser() as browser:
browser.open(url)
# ...
# implicit call to browser.close() here. | diff --git a/docs/faq.rst b/docs/faq.rst
index 839ebd93..f7358e95 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -60,6 +60,15 @@ the destructor (``__del__``) of browser. The solution is to
call :func:`~mechanicalsoup.Browser.close` before the end of life of
the object.
+Alternatively, you may also use the ``with``... | 2 | 2 | 0 | [{"id": "G0", "claim": "The code example added to docs/faq.rst contains a tab character in place of spaces, which makes it display inconsistently.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment in test_with clarifying that testing wi... | null |
MechanicalSoup__MechanicalSoup__142 | MechanicalSoup/MechanicalSoup | 142 | defect | 3f82815937c36ba7aaee56f9a09fe335f06f78e3 | 9231316fada4b1a29693e9da8577512c7279151f | Include tests directory in flake8 tests | This is mostly whitespace and line-length changes, as well as
a few unused variable fixes.
The tests `test_form_{noname,multiple}` now assert that the
request was successful.
----------------
Currently, the tests do not pass due to line-too-long flake8 errors (E501) in `test_{form,browser}.py`. The offending... | diff --git a/setup.cfg b/setup.cfg
index daf3e4af..36944a88 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,7 +14,6 @@ addopts = --cov --cov-config .coveragerc --flake8
# Specify which files to ignore for flake8 tests (note that there is no file
# inclusion option, only exclusion).
flake8-ignore =
- tests/*.py ALL
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The test URL should use example.com, which is specifically reserved for such usage (RFC 2606), rather than fake.com, which does exist.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parentheses around the assert expressio... | null |
MechanicalSoup__MechanicalSoup__166 | MechanicalSoup/MechanicalSoup | 166 | defect | 8c149d6baeb012ce44b1d7ece85dccfed7cc5c71 | c88589e24363673f75b157d5aef6d9a0691c903e | browser.py: refactor Browser.submit method | Closes #165.
Since both `Browser._prepare_request` and `Browser._build_request` are
internal methods, we can replace them with a single `Browser._request`.
This new method is the same as `_build_request`, except that it calls
`self.Session.request` to prepare and send the request instead of doing
it in two sep... | diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py
index 9c5e2f46..02513f95 100644
--- a/mechanicalsoup/browser.py
+++ b/mechanicalsoup/browser.py
@@ -121,7 +121,7 @@ def post(self, *args, **kwargs):
Browser.add_soup(response, self.soup_config)
return response
- def _build_request... | 3 | 2 | 0 | [{"id": "G0", "claim": "In the file-upload test the `with pytest.raises(Exception): data[key][\"pic\"]` lines are an overly complex way to assert the key is absent and should be replaced by an explicit assertion such as `assert data[key] is None or \"pic\" not in data[key]`, because the catch-all construct would let an... | null |
MechanicalSoup__MechanicalSoup__184 | MechanicalSoup/MechanicalSoup | 184 | defect | 736083562d4cc03efdf08f7be16ced8fb1460ee5 | 34685fd510a6618ec671b4aa790bb724c645075d | stateful_browser.py: add download_link method | This is my proposal for `download_link`, it superseeds #182 (I created a new PR to avoid force-pushing to a branch which is not mine). | diff --git a/docs/ChangeLog.rst b/docs/ChangeLog.rst
index 472b8e10..9b5f721e 100644
--- a/docs/ChangeLog.rst
+++ b/docs/ChangeLog.rst
@@ -12,6 +12,10 @@ Main changes:
`requests.Session.request <http://docs.python-requests.org/en/master/api/#requests.Session.request>`__.
[`#166 <https://github.com/MechanicalSoup/... | 7 | 5 | 2 | [{"id": "G0", "claim": "The tests should use the httpbin object's string concatenation (httpbin + \"my-referer\") instead of concatenating httpbin.url strings.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "download_link should return the respon... | null |
MechanicalSoup__MechanicalSoup__188 | MechanicalSoup/MechanicalSoup | 188 | defect | f67f8eb8a99e14bc2200f42fc66b72c3baffd252 | b93aae54347d5afe44df128f0d1478f3c02ac5b3 | Page refresh | I started to implement the page refresh functionality as described in #187. Basically, I added the request to the `_BrowserState` and using it to resend the last request.
Before implementing any tests (so coverage is currently down), I would like to get some feedback whether I missing something or anything is not co... | diff --git a/mechanicalsoup/stateful_browser.py b/mechanicalsoup/stateful_browser.py
index 72e41b8d..12fb4f68 100644
--- a/mechanicalsoup/stateful_browser.py
+++ b/mechanicalsoup/stateful_browser.py
@@ -10,10 +10,11 @@
class _BrowserState:
- def __init__(self, page=None, url=None, form=None):
+ def __init__(... | 7 | 6 | 1 | [{"id": "G0", "claim": "The docstring sentence about form values not being retained is easy to misread and should be reworded to say that any change (select_form, or any value filled-in in the form) made to the current page before refresh is discarded.", "category": "documentation", "verdict": "supported", "priority": ... | null |
MechanicalSoup__MechanicalSoup__219 | MechanicalSoup/MechanicalSoup | 219 | defect | 0f996742fe08720b935f3fc49c7dd38fce69eee1 | a6a78888fef1b7187fdf0e3330737dbb959d0b32 | Rewrite `Browser._request` to handle repeated input elements | Improve consistency of query string construction between
MechanicalSoup and web browsers in edge cases where form elements
have duplicate *name*-attributes.
For example, if a form with the following is submitted:
```
<input name="key" value="val1" />
<input name="key" value="val2" />
```
Then the resultin... | diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py
index 6db19053..5f0cee92 100644
--- a/mechanicalsoup/browser.py
+++ b/mechanicalsoup/browser.py
@@ -139,6 +139,7 @@ def post(self, *args, **kwargs):
return response
def _request(self, form, url=None, **kwargs):
+ """Extract input ... | 4 | 3 | 0 | [{"id": "G0", "claim": "test_issue158 can be improved by using more than two inputs with the same name and values that are not sorted alphabetically, to check that the page order is preserved.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing the ... | null |
MechanicalSoup__MechanicalSoup__246 | MechanicalSoup/MechanicalSoup | 246 | defect | 5926d0efd887097f9da56241ae945c4d5a81d8ba | 698f5b2621de9203257795df782c135ebfd1c29f | Case insensitive type="radio" and type="checkbox" | Fixes #245. It was actually a bit more involved than just adding a `.lower()` in the code, since there are several places where we look for radio and checkboxes. | diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py
index 11efb878..4927ea46 100644
--- a/mechanicalsoup/browser.py
+++ b/mechanicalsoup/browser.py
@@ -163,7 +163,10 @@ def _request(self, form, url=None, **kwargs):
name = tag.get("name") # name-attribute of tag
if tag.name ==... | 2 | 1 | 1 | [{"id": "G0", "claim": "Case-insensitive comparison of the type attribute is applied only to radio and checkbox, leaving the other places that compare type (e.g. file, submit, button, reset) case-sensitive, which is inconsistent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
MechanicalSoup__MechanicalSoup__339 | MechanicalSoup/MechanicalSoup | 339 | defect | 9c2a5b7e94a09644a528e1b33e62cba94277eb68 | 3a1df5eb6cac65b872418829bc723b3a40c0faac | Add get_request_kwargs to check before requesting | When we use mechanicalsoup, we sometimes want to verify a request before submitting it.
If you merge this pull request, the package will be able to provide a way for the package's users to review the request.
This is my first pull request for this project. Please let me know if I'm missing anything. | diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py
index 3979c647..0d3a47a7 100644
--- a/mechanicalsoup/browser.py
+++ b/mechanicalsoup/browser.py
@@ -139,8 +139,8 @@ def post(self, *args, **kwargs):
Browser.add_soup(response, self.soup_config)
return response
- def _request(self,... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new public method name `get_reuqest_kwargs` misspells \"request\" and should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If a user passes `method` or `url` in **kwargs, they would be silently overwritten ... | null |
MechanicalSoup__MechanicalSoup__355 | MechanicalSoup/MechanicalSoup | 355 | defect | c8f39e673df70c43fcea623d8c2a649fdca95f91 | eb074d71452056564c2570b92daca9b8bde055e3 | Use encoding from the HTTP request when no HTML encoding is specified | Hi,
Here is a PR for fixing #354, along with tests. Httpbin offers a testing endpoint defining encoding at the HTTP level, but not through a HTML tag (precisely the error initially described in #354). I did not find any testing endpoints to use for other cases ("no HTTP encoding, HTML one" and "both of them").
Be... | diff --git a/mechanicalsoup/browser.py b/mechanicalsoup/browser.py
index c3961ceb..651c0c41 100644
--- a/mechanicalsoup/browser.py
+++ b/mechanicalsoup/browser.py
@@ -1,5 +1,6 @@
import requests
import bs4
+import bs4.dammit
import urllib
from .form import Form
import webbrowser
@@ -66,7 +67,17 @@ def add_soup(res... | 3 | 2 | 2 | [{"id": "G0", "claim": "test_encoding should use requests_mock (see setup_mock_browser in tests/utils.py) instead of a live httpbin request, so as to actually cover all cases of the 'html_encoding or http_encoding' expression (both set, both unset, only one set).", "category": "testing", "verdict": "supported", "priori... | null |
MechanicalSoup__MechanicalSoup__409 | MechanicalSoup/MechanicalSoup | 409 | defect | c34ddaa9a4041bc4c38414d3d0aeb1eb588d92f8 | dcdd1e9c3be3f9033a0dc9830757f1efd069c593 | Fix CodeQL warnings | * Always use context managers for file resources. Fixes rule py/file-not-closed.
* Don't assign a function return value to a variable when asserting that the function will raise an Exception. Fixes rule py/multiple-definition. | diff --git a/setup.py b/setup.py
index 2d05689b..3ff8c2f3 100644
--- a/setup.py
+++ b/setup.py
@@ -8,13 +8,15 @@
def requirements_from_file(filename):
"""Parses a pip requirements file into a list."""
- return [line.strip() for line in open(filename, 'r')
- if line.strip() and not line.strip().sta... | 1 | 1 | 0 | [{"id": "G0", "claim": "The file-handle variable in requirements_from_file should be named `fd` (File Descriptor) rather than `fid`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
MegEngine__MegEngine__484 | MegEngine/MegEngine | 484 | defect | d4bf57d6acf37982e0d5976f61f256a6aaac221c | 0b05f82c7787ba205cea7ba021ea195a0f00602e | feat(dnn) add nchw44 deconv | 这是这个项目的代码:https://summer-ospp.ac.cn/#/org/prodetail/222940130 | diff --git a/dnn/src/common/convolution.cpp b/dnn/src/common/convolution.cpp
index 0441f4388..15f5ff3c3 100644
--- a/dnn/src/common/convolution.cpp
+++ b/dnn/src/common/convolution.cpp
@@ -1156,7 +1156,7 @@ void ConvolutionBackwardData::deduce_layout(
MEGDNN_MARK_USED_VAR(errmsg);
megdnn_assert_contiguous(fil... | 5 | 2 | 0 | [{"id": "G0", "claim": "The reviewer asks what case corresponds to filter.ndim == 7 in the newly widened megdnn_assert range in ConvolutionBackwardData::deduce_layout.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The benchmark test should add seve... | null |
MegaMek__megameklab__1574 | MegaMek/megameklab | 1,574 | defect | 8842c3e59b19a13069583004d9dbe9de503dc175 | e07e86f250c807efc95d044928492bb92e0584d4 | Record sheet fixes and improvements | This PR collects several bug fixes and improvements that are somewhat related which I worked on at the same time.
- Row shading for tables looks better, the shading is now centered within the table.
- Record sheet preview for small units (CI/BA/Protos) was fixed to not cut off the right edge of the sheet.
- The op... | diff --git a/megameklab/resources/megameklab/resources/Dialogs.properties b/megameklab/resources/megameklab/resources/Dialogs.properties
index 56b97304958..888ad212c6e 100644
--- a/megameklab/resources/megameklab/resources/Dialogs.properties
+++ b/megameklab/resources/megameklab/resources/Dialogs.properties
@@ -34,8 +3... | 2 | 1 | 0 | [{"id": "G0", "claim": "Per the project style guide, the clauses of the conditional added in PrintSmallUnitSheet.fillsSheet (line 233) should each be wrapped in their own parentheses, e.g. `((cheese == 1) && (sausage == 2))` instead of `(cheese == 1 && sausage == 2)`.", "category": "style", "verdict": "supported", "pri... | null |
MegaMek__megameklab__1890 | MegaMek/megameklab | 1,890 | defect | e07144812527beb1d16a3d0afd02337ff034ede2 | 7ef3245c22137fa90f9d7c40a645139839a24180 | ENUMs | Requires and required for https://github.com/MegaMek/megamek/pull/7086 | diff --git a/megameklab/src/megameklab/printing/PrintMek.java b/megameklab/src/megameklab/printing/PrintMek.java
index 790b1ce6397..30364b296a9 100644
--- a/megameklab/src/megameklab/printing/PrintMek.java
+++ b/megameklab/src/megameklab/printing/PrintMek.java
@@ -826,7 +826,7 @@ private String formatCritName(CriticalS... | 2 | 2 | 1 | [{"id": "G0", "claim": "The cbFaction combo box model still holds Integer items while getTechFaction and setTechFaction now expect ITechnology.Faction, which can mismatch when setting or retrieving selections; the combo box model should be updated to use Faction enum items.", "category": "correctness", "verdict": "supp... | null |
Mellanox__nvidia-k8s-ipam__11 | Mellanox/nvidia-k8s-ipam | 11 | defect | 9e75b95f461ea12d93c95e7df1ba0ded9dcfb1de | 5b070c407759a1ef3c0c030c715b2a9f378fdbac | Fix know issues in IPAM controller implementation and add tests | - fix ip library to correctly handle out of range IPs
- validate IP address in allocator more strictly
- fix check for gataway in config validator
- add tests for IPAM controller | diff --git a/Makefile b/Makefile
index 4b8c273..52a1590 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ DOCKERFILE ?= Dockerfile
DOCKER_CMD ?= docker
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
-ENVTEST_K8S_VERSION = 1.26.4
+ENVTEST_K8S_VERSION = 1.27... | 2 | 1 | 0 | [{"id": "G0", "claim": "Dropping the ip.Network() calls may leave pa.cfg.Subnet.IP holding a host address when a user configures a subnet with host bits set (e.g. 192.168.100.44/24), so allocation could start from a non-network address; the reviewer asks why the calls were dropped.", "category": "correctness", "verdict... | null |
Mellanox__nvidia-k8s-ipam__26 | Mellanox/nvidia-k8s-ipam | 26 | defect | d45ca3fe56dd8fdf87d525b29c45bf1242e4b042 | ac528ac634a044babff4e621cf6b865fdc044c3b | ipam-node: Remove stale pool entries from the store | remove the pool data from the store if the pool has no allocations and if information about the pool is unavailable in the Kubernetes API
closes #25 | diff --git a/cmd/ipam-node/app/app.go b/cmd/ipam-node/app/app.go
index 55ee06a..8438981 100644
--- a/cmd/ipam-node/app/app.go
+++ b/cmd/ipam-node/app/app.go
@@ -243,7 +243,7 @@ func RunNodeDaemon(ctx context.Context, config *rest.Config, opts *options.Optio
}
return
}
- c := cleaner.New(mgr.GetClient(), sto... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `continue` added inside the empty-pool branch of the reservation loop is not needed.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cleanup test would be clearer if it verified which pools remain in the store by lis... | null |
Mellanox__nvidia-k8s-ipam__27 | Mellanox/nvidia-k8s-ipam | 27 | defect | d45ca3fe56dd8fdf87d525b29c45bf1242e4b042 | bdf42ec0510ecdcd4bc2bab68e9a6a41efb4d061 | ipam-node: Add logic to migrate host-local IPAM store to the new store format | This required to preserve IP reservations which were done by the previous version of the nv-ipam. | diff --git a/cmd/ipam-node/app/app.go b/cmd/ipam-node/app/app.go
index 55ee06a..d714e5e 100644
--- a/cmd/ipam-node/app/app.go
+++ b/cmd/ipam-node/app/app.go
@@ -59,6 +59,7 @@ import (
nodectrl "github.com/Mellanox/nvidia-k8s-ipam/pkg/ipam-node/controllers/node"
"github.com/Mellanox/nvidia-k8s-ipam/pkg/ipam-node/grp... | 3 | 2 | 0 | [{"id": "G0", "claim": "The placeholder constant value \"MIGRATOR_NO_DATA\" should read \"MIGRATED_NO_DATA\" (raised as a nit).", "category": "naming", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The \"unexpected allocation data format\" error log should also include the all... | null |
Mellanox__nvidia-k8s-ipam__31 | Mellanox/nvidia-k8s-ipam | 31 | defect | 1ee40f5f14219ced96e943bc2e802673d67355d8 | c537ac27ffb42729ad29db301a7c001e0d41de41 | Run migration logic with leader election | - Add Controller Migrator to the Manager
- Add a channel to block reconcile until Migrator finishes | diff --git a/cmd/ipam-controller/app/app.go b/cmd/ipam-controller/app/app.go
index fc9a7fa3..611f298f 100644
--- a/cmd/ipam-controller/app/app.go
+++ b/cmd/ipam-controller/app/app.go
@@ -135,16 +135,25 @@ func RunController(ctx context.Context, config *rest.Config, opts *options.Optio
os.Exit(1)
}
- if err := mi... | 2 | 2 | 1 | [{"id": "G0", "claim": "Reconcile should use a select on MigrationCh and ctx.Done() (or similar) instead of an unconditional receive, so it can return cleanly on shutdown.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Migrator's methods should use ... | null |
Mellanox__nvidia-k8s-ipam__32 | Mellanox/nvidia-k8s-ipam | 32 | defect | 11f148c7a7c6ed9a1daaeda927f01fda8331ec80 | 492d735dbd7655cb105ecf849d85589d09f3fde7 | Add Validating webhook | Add Validating webhook + switch deployment method to kustomize | diff --git a/README.md b/README.md
index 0b0da21..c96c9b1 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,16 @@ NVIDIA IPAM plugin consists of 3 main components:
A Kubernetes(K8s) controller that Watches on IPPools CRs in a predefined Namespace.
It then proceeds by assiging each node via IPPools Status a cluster ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new deploy/crds/kustomization.yaml is missing a newline at end of file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The README misspells the overlay name as 'opeshift' where it should read 'openshift'.", "category"... | null |
Mellanox__nvidia-k8s-ipam__49 | Mellanox/nvidia-k8s-ipam | 49 | defect | e033180cb3e0b766f5b60577b761c21fd286b5e8 | f83e3df3e0826fd7696255ef883c190eb51c1e8b | feat: support static routes | Support optional static routes in the CNI CmdAdd result. | diff --git a/README.md b/README.md
index b498336d..0ff92116 100644
--- a/README.md
+++ b/README.md
@@ -350,6 +350,9 @@ spec:
- matchExpressions:
- key: node-role.kubernetes.io/worker
operator: Exists
+ defautGateway: true # optional
+ routes: # optional
+ - dst: 5.5.0.0/24
```
##### IPv6... | 6 | 6 | 3 | [{"id": "G0", "claim": "DefaultGateway should be a plain bool rather than a *bool pointer, since false is a safe default.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Route validation should also check that routes come from the same address family (IPv... | null |
Mellanox__nvidia-k8s-ipam__5 | Mellanox/nvidia-k8s-ipam | 5 | defect | 07862d3b79fab26f66863e26ac6776e65a31a397 | d98741b3c2011a769d9123ba15c1110023bba59f | IPAM controller implementation | Code is not covered by test and is not tested well, but main flows should work. | diff --git a/cmd/ipam-controller/app/app.go b/cmd/ipam-controller/app/app.go
index c6618ba3..71e6be9d 100644
--- a/cmd/ipam-controller/app/app.go
+++ b/cmd/ipam-controller/app/app.go
@@ -21,12 +21,16 @@ import (
"github.com/go-logr/logr"
"github.com/spf13/cobra"
+ corev1 "k8s.io/api/core/v1"
+ "k8s.io/apimachiner... | 20 | 14 | 6 | [{"id": "G0", "claim": "The default namespace for the controller ConfigMap should be kube-system instead of default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The allocator can hand out the subnet broadcast address as the end IP of a node range; a c... | null |
MemMachine__MemMachine__1004 | MemMachine/MemMachine | 1,004 | defect | 368bfde0fb9cb31a5515285d8f066dc5c1a77423 | 3dc744004f0723875a8cf638652b770d0ae75640 | Move LangGraph tool into client package | ### Purpose of the change
Move `MemMachineTools` from the `integrations/langgraph/` directory into the client SDK package so it ships with `memmachine-client` and is importable as `from memmachine.rest_client import MemMachineTools`.
### Description
- Moved `integrations/langgraph/tool.py` → `src/memmachine/rest_cli... | diff --git a/integrations/langgraph/demo.py b/integrations/langgraph/demo.py
index 1144f121a5..5bc6c25bd1 100644
--- a/integrations/langgraph/demo.py
+++ b/integrations/langgraph/demo.py
@@ -5,7 +5,11 @@
import os
from typing import Annotated, TypedDict
-from tool import MemMachineTools, create_add_memory_tool, cre... | 2 | 1 | 0 | [{"id": "G0", "claim": "Concatenating `long_term_memory` (a list) with `short_term_memory` (extracted as a dict via `get('episodes', {})`) will raise a TypeError, so episodes from `short_term_memory` should be extracted as a list or both converted to the same type before concatenation.", "category": "correctness", "ver... | null |
MemMachine__MemMachine__1061 | MemMachine/MemMachine | 1,061 | defect | 656f91ad407011a532a95a342e713a972261499b | 5d311100e29b4f323d53cff48384498197153ac0 | Optimize ChatGPT migration: disable STM during import, fix `user_only` filtering, and make Docker builds work on macOS. | ## Purpose of the change
Optimize ChatGPT migration: disable STM during import, fix `user_only` filtering, make Docker builds work on macOS, and add safe embedder defaults.
* **migration.py**
* Use the new **per-session SDK API** to disable short-term memory (STM) summarization during import and re-enable it... | diff --git a/build-docker.sh b/build-docker.sh
index da29bc35e..eb58033f1 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -237,7 +237,7 @@ build_image() {
final_args+=("--push")
fi
- local scm_version; scm_version=$(git describe --tags --always 2>/dev/null | sed 's/^v//;s/-\([0-9]\+\)-g\([0-9a-... | 4 | 2 | 0 | [{"id": "G0", "claim": "Since MemMachineRestClient already implements the REST logic, consolidate the client config logic by adding a function to restcli.py so only one client for requests has to be managed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
MemMachine__MemMachine__1106 | MemMachine/MemMachine | 1,106 | defect | 913a04f219155ba180f9502fea4707d2fe00a3f0 | 0ad62e5bda405d09868e35165c0e72e170749915 | Suppress Neo4j constraint notification spam in logs | Neo4j driver logs INFO-level notifications for `CREATE CONSTRAINT ... IF NOT EXISTS` queries when constraints already exist. On every startup, `Neo4jSemanticStorage.startup()` creates several constraints idempotently, flooding logs with verbose `neo4j.notifications` messages.
## Changes
- **`log_conf.py`**: Set `neo4... | diff --git a/src/memmachine/common/configuration/log_conf.py b/src/memmachine/common/configuration/log_conf.py
index fa0114dbe4..8cec47f54c 100644
--- a/src/memmachine/common/configuration/log_conf.py
+++ b/src/memmachine/common/configuration/log_conf.py
@@ -125,6 +125,9 @@ def apply(self) -> None:
force=T... | 2 | 2 | 2 | [{"id": "G0", "claim": "Unconditionally setting the neo4j.notifications logger to WARNING can lower an existing stricter configuration (e.g. a user-set ERROR); apply() should only raise the level when its current effective level is below WARNING.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
MemMachine__MemMachine__1151 | MemMachine/MemMachine | 1,151 | defect | 40e8dff722ecf0471db3780a3dcb05c369a82b04 | dc4891c0872b61a7f58597109edf2406219eb6c4 | [GH-1102] Fix dangling episode_ids | ### Purpose of the change
Fix dangling `episode_id` references in semantic storage that cause background ingestion crashes. When sessions are deleted, the episode history and citation references in semantic storage were not being cleaned up, leaving orphaned `episode_id`s that caused `ValueError` failures during subse... | diff --git a/src/memmachine/main/memmachine.py b/src/memmachine/main/memmachine.py
index 301c8e8c9e..ea609ff960 100644
--- a/src/memmachine/main/memmachine.py
+++ b/src/memmachine/main/memmachine.py
@@ -311,6 +311,23 @@ async def get_session(
session_data_manager = await self._resources.get_session_data_manage... | 7 | 2 | 2 | [{"id": "G0", "claim": "The new cleanup test uses a 2-d embedding, which will fail at insert time if the PGVector-backed storage enforces a fixed vector dimension, so it should use the expected configured embedding dimension or source it from a shared fixture/config.", "category": "testing", "verdict": "uncertain", "pr... | null |
MemMachine__MemMachine__1163 | MemMachine/MemMachine | 1,163 | defect | e2ef085fac2ff42ecc46080743b2ca1dcbed4431 | 9bf3eb453e0ff7d9af82472016a24f0c58315c0f | [GH-1146] Cap features sent to LLM during semantic ingestion update | ### Purpose of the change
Prevent `LengthFinishReasonError` during semantic memory background ingestion when a profile has accumulated a large number of features. The unbounded feature set was causing the LLM response to overflow its output token budget (16384 tokens), logging errors on every background pass.
### Des... | diff --git a/src/memmachine/common/configuration/__init__.py b/src/memmachine/common/configuration/__init__.py
index 209a2aba4d..4815dbaae5 100644
--- a/src/memmachine/common/configuration/__init__.py
+++ b/src/memmachine/common/configuration/__init__.py
@@ -113,6 +113,15 @@ class SemanticMemoryConf(YamlSerializableMix... | 1 | 1 | 1 | [{"id": "G0", "claim": "CI fails with ModuleNotFoundError: No module named 'memmachine' because the test this PR added still monkeypatches the pre-refactor module path, so the PR needs to be updated to use the new package locations and names.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope... | null |
MemMachine__MemMachine__1164 | MemMachine/MemMachine | 1,164 | defect | e2ef085fac2ff42ecc46080743b2ca1dcbed4431 | 0bbb20d38b8b30c1aff24dcf8bc099b80eaf15f4 | [GH-1160] Fix consolidation pipeline silently destroying user-defined tags | ### Purpose of the change
Fix three compounding bugs in the semantic memory consolidation pipeline that cause user-defined tags (e.g. `bugfix`, `decision`, `progress`) to be silently deleted and replaced by LLM-generated names (e.g. `Productivity Style`) during background consolidation.
### Description
Three bugs in... | diff --git a/src/memmachine/semantic_memory/semantic_ingestion.py b/src/memmachine/semantic_memory/semantic_ingestion.py
index f040929e9d..c3ec7e6920 100644
--- a/src/memmachine/semantic_memory/semantic_ingestion.py
+++ b/src/memmachine/semantic_memory/semantic_ingestion.py
@@ -365,13 +365,24 @@ async def _deduplicate_... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR still uses the pre-refactor `memmachine.*` package paths for imports and monkeypatch targets instead of the new `memmachine_server.*` layout, so CI fails with ModuleNotFoundError and the LLM mocks are never installed; the PR needs to use the new package layout and names.", "category": "co... | null |
MemMachine__MemMachine__1226 | MemMachine/MemMachine | 1,226 | defect | 3cd65ed9b0449a3f554aa1c4be24eeca05a61196 | bced3a0f77ace6369bcfc0e3b88dd07e1bffc820 | Retry OpenAI API on internal server error | ### Purpose of the change
Hit internal server error intermittently today.
### Description
Add exception type to retryable errors for OpenAI APIs.
### Type of change
[Please delete options that are not relevant.]
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking ... | diff --git a/packages/server/src/memmachine_server/common/embedder/openai_embedder.py b/packages/server/src/memmachine_server/common/embedder/openai_embedder.py
index 7fc165d0e..edd620fe4 100644
--- a/packages/server/src/memmachine_server/common/embedder/openai_embedder.py
+++ b/packages/server/src/memmachine_server/co... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add unit test coverage that verifies openai.InternalServerError triggers the retry/backoff path in the responses model, the chat completions model, and the embedder's retry loop.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Put... | null |
MemMachine__MemMachine__1228 | MemMachine/MemMachine | 1,228 | defect | a142b1ed46f932ee7d4d0edb7bab76312975ca5d | 99640a648296c0fbed45299522c9d2c18dd60322 | feat: expose connection pool lifetime and timeout settings for Neo4j and SQLAlchemy | ### Purpose of the change
Expose connection pool lifetime and timeout settings for Neo4j and SQLAlchemy to prevent production outages caused by stale/defunct connections — specifically AuraDB's hard-coded 60-minute idle connection kill that causes `ConnectionResetError` and retry storms.
### Description
Adds 5 new o... | diff --git a/deployments/helm/templates/memmachine-configmaps.yaml b/deployments/helm/templates/memmachine-configmaps.yaml
index 94c1dbb6d..7b6a2c494 100644
--- a/deployments/helm/templates/memmachine-configmaps.yaml
+++ b/deployments/helm/templates/memmachine-configmaps.yaml
@@ -61,6 +61,9 @@ data:
db_nam... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Helm conditional `{{- if .Values.neo4j.pool.liveness_check_timeout }}` treats 0 as false, so a user setting liveness_check_timeout: 0 (documented as \"always check\") has the field omitted from the rendered config and Neo4j falls back to its default of disabled liveness checks; the check sho... | null |
MemMachine__MemMachine__146 | MemMachine/MemMachine | 146 | defect | 6417d0c8db567f76dd2863b9808eaafa5be573cd | 7a5b5b76fa252f13a33a00e55bf1ad1b0d7384a3 | Add Amazon Bedrock embedder and reranker model support | ### Purpose of the change
Add support for Amazon Bedrock embedders e.g. "amazon.titan-embed-text-v2:0".
Add support for Amazon Bedrock rerankers e.g. "amazon.rerank-v1:0", "cohere.rerank-v3-5:0".
### Description
Add AmazonBedrockEmbedder implementation of Embedder.
Add AmazonBedrockReranker implementation of... | diff --git a/pyproject.toml b/pyproject.toml
index 5d5a20af7a..0224425b02 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,9 +7,11 @@ name = "memmachine"
version = "0.1.0"
dependencies = [
"asyncpg>=0.30.0",
+ "boto3>=1.40.37",
"dotenv>=0.9.9",
"fastapi>=0.116.1",
"fastmcp>=2.12.0",
+ ... | 4 | 4 | 2 | [{"id": "G0", "claim": "The PR should improve error handling for runtime AWS/network errors in the new Bedrock code so they do not cause unhandled exceptions, including a retry mechanism and validation of user-provided AWS credentials before use.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
MemMachine__MemMachine__329 | MemMachine/MemMachine | 329 | defect | 39ddec885868d4c67ac7ee3429050d1bf0ff61de | e6d43551cbc95446419cac07752ac24fd19e4736 | Add inline document for REST API. | The document for some request parameters in the REST API is missing.
Add defaults, descriptions and examples for those fields.
If user ID is set, default those value to the first user ID.
### Purpose of the change
The purpose of change is to fix the documentation for multiple fields in the REST API.
To m... | diff --git a/.gitignore b/.gitignore
index 92d654a71e..c505653775 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
# MemMachine specific
configuration.yml
+config.yml
+sqlitetest.db
# Byte-compiled / optimized / DLL files
__pycache__/
diff --git a/src/memmachine/server/app.py b/src/memmachine/server/app.p... | 3 | 1 | 1 | [{"id": "G0", "claim": "In SESSION_ID_DOC the last sentence is missing the word 'to' and should read 'Defaults to default if not provided'.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changed is_valid body (using 'and') contradicts the meth... | null |
MemMachine__MemMachine__441 | MemMachine/MemMachine | 441 | defect | 78a1a2746e87efdd58f006d19991aad31a54f9b4 | 4eff6b8a986e1225f09860a1907496d5f7dad32c | Profile mem bedrock ollama | ### Purpose of the change
Fix https://github.com/MemMachine/MemMachine/issues/416
### Description
Please include a summary of the change and the issue it addresses. Please also include relevant motivation and context. List any dependencies that are required for this change.
### Fixes/Closes
Fixes #416
... | diff --git a/memmachine-compose.sh b/memmachine-compose.sh
index 1e30af37c..a6e9af547 100755
--- a/memmachine-compose.sh
+++ b/memmachine-compose.sh
@@ -196,9 +196,9 @@ configure_models_for_provider() {
safe_sed_inplace 's/embedding_model: .*/embedding_model: openai_embedder/' configuration.yml
... | 1 | 1 | 1 | [{"id": "G0", "claim": "One of the integration tests is still failing with the 're value' issue.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
MemMachine__MemMachine__501 | MemMachine/MemMachine | 501 | defect | 0455352eb37f80ed5d2ec2d6fe2ab5579d18f918 | 66ff6883ebf7814f7c7fafd2dfff9f283b876510 | feat. support string format parameters | ### Purpose of the change
This PR adds support for string-formatted parameters to improve compatibility with Claude Code and other MCP clients that pass parameters as JSON strings rather than pre-parsed objects.
### Description
This change enhances the add_memory and search_memory tools to accept parameters in... | diff --git a/src/memmachine/server/app.py b/src/memmachine/server/app.py
index 2fb1aa356a..c2cec31c98 100644
--- a/src/memmachine/server/app.py
+++ b/src/memmachine/server/app.py
@@ -854,10 +854,15 @@ async def mcp_http_lifespan(application: FastAPI):
"Include the **full conversation context** in the `content`... | 3 | 2 | 2 | [{"id": "G0", "claim": "The tools should expose one parameter approach (a single param model or flattened options) instead of making everything optional, which breaks the pydantic guarantee; o-love suggests possibly a custom decorator that flattens the parameters.", "category": "design", "verdict": "opposed", "priority... | null |
MemMachine__MemMachine__570 | MemMachine/MemMachine | 570 | defect | 86872873799c664faad1e4bad0a00dad9085bee3 | 5ad62eaa0e2d634c46f830487b8fdd17c81c102f | Use postgresql in sample config | ### Purpose of the change
[Describe the high-level purpose of this pull request. What problem does it solve? What feature does it add? Link to any related issues or discussions.]
### Description
Please include a summary of the change and the issue it addresses. Please also include relevant motivation and conte... | diff --git a/sample_configs/episodic_memory_config.cpu.sample b/sample_configs/episodic_memory_config.cpu.sample
index 345c9025a8..3c2c00c2df 100644
--- a/sample_configs/episodic_memory_config.cpu.sample
+++ b/sample_configs/episodic_memory_config.cpu.sample
@@ -20,10 +20,7 @@ semantic_memory:
database: profile_stor... | 1 | 1 | 1 | [{"id": "G0", "claim": "The broad `except ValueError` in create_project maps every ValueError to 400 \"Project already exists\", so other errors could be mislabelled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MemMachine__MemMachine__646 | MemMachine/MemMachine | 646 | defect | 520c4e278bc89df2524d77f34f1d51f9c549b4d9 | 2468aedc276ce4ba5ad1cc2ea484a7bde16b43f6 | Sanitize text for AmazonBedrockReranker | ### Purpose of the change
Amazon Bedrock Rerank API requires reranked text documents to be between 1 and 32000 characters (Unicode code points), inclusive.
Amazon Bedrock Rerank API requires query text to be between 1 and 9000 UTF-16 code units, inclusive (undocumented).
### Description
Truncate document te... | diff --git a/src/memmachine/common/reranker/amazon_bedrock_reranker.py b/src/memmachine/common/reranker/amazon_bedrock_reranker.py
index 9e5d6eca1..1f1f35ea2 100644
--- a/src/memmachine/common/reranker/amazon_bedrock_reranker.py
+++ b/src/memmachine/common/reranker/amazon_bedrock_reranker.py
@@ -79,7 +79,7 @@ async def... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test's hand-rolled boto3_client fixture should reuse the shared conftest Bedrock client definition, or at least skip via pytest.skip when the AWS env variables are not provided, instead of failing without credentials.", "category": "testing", "verdict": "supported", "priority": "P2", "scope"... | null |
MemMachine__MemMachine__652 | MemMachine/MemMachine | 652 | defect | 520c4e278bc89df2524d77f34f1d51f9c549b4d9 | 6220e96f77fe973e126397e4c14615b81e1bb5d9 | Add episodic storage message count to top level MemMachine | ### Purpose of the change
Adds the episodic memory message count to the top level MemMachine interface to then be used by the REST api.
### Type of change
- [x] New feature (non-breaking change which adds functionality)
### How Has This Been Tested?
- [x] Unit Test
- [x] Integration Test
### Checklis... | diff --git a/src/memmachine/main/memmachine.py b/src/memmachine/main/memmachine.py
index d752cab1e..dc3119892 100644
--- a/src/memmachine/main/memmachine.py
+++ b/src/memmachine/main/memmachine.py
@@ -420,6 +420,27 @@ async def list_search(
semantic_memory=semantic_result,
)
+ async def episo... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new episodes_count method should have a docstring explaining what it does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The name 'merge' (_merge_filter_exprs, called on this added line) is less clear than some form of... | null |
MemMachine__MemMachine__662 | MemMachine/MemMachine | 662 | defect | 25bed925d72da0105c550656b08a0166c53a381b | be6385f3e54b760634a051d3b8dd4fda7f285705 | Add count cache for EpisodeStorage | ### Purpose of the change
Adds an in-memory incoherent cache for message count to optimize calls to episode count to be used by rate limiters.
### Type of change
- [x] New feature (non-breaking change which adds functionality)
### How Has This Been Tested?
- [x] Unit Test
- [x] Integration Test
- [ ] E... | diff --git a/src/memmachine/common/configuration/__init__.py b/src/memmachine/common/configuration/__init__.py
index be7414b45c..067a03865f 100644
--- a/src/memmachine/common/configuration/__init__.py
+++ b/src/memmachine/common/configuration/__init__.py
@@ -45,6 +45,10 @@ class EpisodeStoreConf(BaseModel):
de... | 6 | 3 | 1 | [{"id": "G0", "claim": "In test_mutations_invalidate_cache the mock's side_effect=[1, 3] conflicts with the assertion updated == 2, suggesting the test setup is confused about what value should be returned.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
MemMachine__MemMachine__731 | MemMachine/MemMachine | 731 | defect | 23258169de484055bc0e7cbea2c8f641b005e1df | 295d595f47d9b110fe9dd345459d3e53da9083bd | Treat `:` as valid character in id | ### Purpose of the change
The semantic id may contain `:` due to the implementation of neo4j. Add this character in the check for memory id.
### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix ... | diff --git a/src/memmachine/server/api_v2/doc.py b/src/memmachine/server/api_v2/doc.py
index d0f8961cc4..f1d3573eb4 100644
--- a/src/memmachine/server/api_v2/doc.py
+++ b/src/memmachine/server/api_v2/doc.py
@@ -10,7 +10,7 @@ class SpecDoc:
The unique identifier of the organization.
- Must not contain slashe... | 2 | 2 | 0 | [{"id": "G0", "claim": "The hyphen is at the end of the character class so the `\\-` escape is redundant and unconventional; change `:\\-` to `:-` in the regex in `_is_valid_name`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `rf` prefix i... | null |
MemMachine__MemMachine__772 | MemMachine/MemMachine | 772 | defect | b182977d33a3276e32678c7cb669bc8333c29476 | 048fefccedee1944400788af8ce0465bd8794e74 | Install neo4j with zip files in macos instead of brew. | ### Purpose of the change
Support configuration script in older macos systems. Avoid installing xcode
### Description
In older macos systems like macos-12, homebrew doesn't provide pre-compiled jdk and jdk has to be compiled locally when installing neo4j. This makes the installation of neo4j depends on Xcode, ... | diff --git a/.github/workflows/installation-test.yml b/.github/workflows/installation-test.yml
index 1d10f50eed..a23a9e36bf 100644
--- a/.github/workflows/installation-test.yml
+++ b/.github/workflows/installation-test.yml
@@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubunt... | 3 | 3 | 1 | [{"id": "G0", "claim": "The hardcoded neo4j directory name \"neo4j-community-2025.09.0\" duplicates the NEO4J_DIR_NAME constant from utilities.py; use NEO4J_DIR_NAME instead to maintain consistency and avoid duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
MemMachine__MemMachine__794 | MemMachine/MemMachine | 794 | defect | f85e49d0abbb0e10ca3f8da0dc505f437624d966 | 59fdf56d0e4c16d472f585fdd9c91563b99efef2 | Remove trace from known error | ### Purpose of the change
Remove the trace if the error returned by the REST API is a known error.
### Fixes/Closes
#759
### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature th... | diff --git a/src/memmachine/common/api/spec.py b/src/memmachine/common/api/spec.py
index 528aa394d8..784f7b09ad 100644
--- a/src/memmachine/common/api/spec.py
+++ b/src/memmachine/common/api/spec.py
@@ -7,9 +7,15 @@
import regex
from fastapi import HTTPException
+from fastapi.exceptions import RequestValidationErro... | 4 | 2 | 1 | [{"id": "G0", "claim": "The `if ex is None` check in is_known_error is unreachable because the method is only called when ex is not None, and should be removed as it creates dead code and a misleading return value.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
MemMachine__MemMachine__802 | MemMachine/MemMachine | 802 | defect | 229f6d996346646d438ded5756f0f5a8c5f22628 | 4f5be192179db22a1192e02aa2f27f6183648091 | [GH-701] Validate embedder, reranker and language model | ### Purpose of the change
Validate if the embedder, reranker and language model works
### Description
Report a dedicated error if the resource doesn't work as expected.
For each kind of the resource, we issue a trivial request to check if the resource is valid.
### Fixes/Closes
Fixes #701
### Type of... | diff --git a/src/memmachine/common/resource_manager/__init__.py b/src/memmachine/common/resource_manager/__init__.py
index c59c7e7254..28b8af8939 100644
--- a/src/memmachine/common/resource_manager/__init__.py
+++ b/src/memmachine/common/resource_manager/__init__.py
@@ -37,15 +37,17 @@ async def get_vector_graph_store(... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reranker and language model managers should validate resources when building them, rather than validating only in the resource manager layer.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MemMachine__MemMachine__84 | MemMachine/MemMachine | 84 | defect | 9be1256ef8c4347eb0ba0f1c9e26b50be2389fbd | e539fc89fa42f2be51f6179ee47f0877805b50d7 | Unit test for episodic memory | ### Purpose of the change
Create unit test for the episodic_memory.py
### Description
1. Create unit test for the episodic_memory.py
2. Fix the issue found by the unit test
Fixes # (issue)
### Type of change
[Please delete options that are not relevant.]
- [x] Bug fix (non-breaking change which fixe... | diff --git a/src/memmachine/episodic_memory/episodic_memory.py b/src/memmachine/episodic_memory/episodic_memory.py
index 8c097711e..25553fa64 100644
--- a/src/memmachine/episodic_memory/episodic_memory.py
+++ b/src/memmachine/episodic_memory/episodic_memory.py
@@ -120,6 +120,44 @@ def __init__(self, manager, config: di... | 4 | 2 | 1 | [{"id": "G0", "claim": "The misspelled variable `short_memoy` in formalize_query_with_context should be corrected to `short_memory`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "query_memory should be updated to return long_memory, short_memor... | null |
MemMachine__MemMachine__927 | MemMachine/MemMachine | 927 | defect | e1a6208b435b4b9a7e103eaa03927f992c15ab40 | db1f4e8c94dcbf6340cd270962bb95a5761aac05 | Migrate from pickle to JSON | ### Purpose of the change
Migrate configuration serialization from pickle to JSON
### Description
Pickle was used to serialize the episodic memory configuration for database. If the configuration data structure is updated, the object deserialized by pickle still uses the old definition. This can cause inconsis... | diff --git a/src/memmachine/common/session_manager/session_data_manager_sql_impl.py b/src/memmachine/common/session_manager/session_data_manager_sql_impl.py
index a07203d2c8..2ea2f29a5c 100644
--- a/src/memmachine/common/session_manager/session_data_manager_sql_impl.py
+++ b/src/memmachine/common/session_manager/sessio... | 1 | 1 | 1 | [{"id": "G0", "claim": "Resolve the ruff failures and the other integration test failures on the pull request before merging.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
MemMachine__MemMachine__949 | MemMachine/MemMachine | 949 | defect | 922b4691ab27a770d93354c78bd0a33f42d9c55e | 3c3310214a0ab87d41ddee5f899ddba0d38a58ab | [GH-909] Improve async summary performance. | ### Purpose of the change
fixes performance degradation in short-term memory caused by blocking summary generation during episode addition.
### Description
Previously, triggering a new summary while a previous one was still running would block the add operation and slow down ingestion.
The fix extracts sum... | diff --git a/src/memmachine/common/episode_store/episode_model.py b/src/memmachine/common/episode_store/episode_model.py
index 0c0391b3da..77a7c0da61 100644
--- a/src/memmachine/common/episode_store/episode_model.py
+++ b/src/memmachine/common/episode_store/episode_model.py
@@ -1,5 +1,8 @@
"""Data models for represent... | 6 | 2 | 1 | [{"id": "G0", "claim": "The test mock's parse_summary accesses message[0] on the strings returned by re.findall, so it joins only the first character of each message instead of the messages themselves; it should be \"\".join(messages) instead.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": ... | null |
MemMachine__MemMachine__954 | MemMachine/MemMachine | 954 | defect | 2b5fd82500c82397c9fbf04e9ccdf062738de62a | bd538bbb3bfd967cc7043d583a8be6432f555adc | feat: use json-repair for LLM output parsing | ### Purpose of the change
Improve JSON parsing robustness for LLM-generated outputs. Large language models sometimes produce non-standard JSON format (trailing commas, single quotes, missing quotes, etc.), causing parse failures with standard `json.loads()`. This PR uses `json-repair` library to automatically fix an... | diff --git a/evaluation/locomo/episodic_agent/llm_judge.py b/evaluation/locomo/episodic_agent/llm_judge.py
index afdfb017e0..cd3eafe0fe 100644
--- a/evaluation/locomo/episodic_agent/llm_judge.py
+++ b/evaluation/locomo/episodic_agent/llm_judge.py
@@ -10,6 +10,7 @@
import numpy as np
from dotenv import load_dotenv
+... | 6 | 6 | 2 | [{"id": "G0", "claim": "The 'JSON decode error' message raised after catching the generic Exception is now misleading since json-repair can raise various exceptions, and should be updated (e.g. to 'Failed to parse or repair JSON from function call arguments').", "category": "documentation", "verdict": "supported", "pri... | null |
MemMachine__MemMachine__964 | MemMachine/MemMachine | 964 | defect | 86aa8754857f51444027cac4397341769f496212 | 136e517b72e5832310ba2be053a67c168bad6cff | Add context expansion parameter to search | ### Purpose of the change
Some use cases are confused by the contextualization, especially if episodes are self-contained.
When search limit is very low e.g. 1-3, and/or episodes are very small e.g. on the order of 0-50 characters, returned results are likely to be terrible because the episode budget is filled ba... | diff --git a/src/memmachine/common/api/doc.py b/src/memmachine/common/api/doc.py
index 87e95660a0..384fd3c7bc 100644
--- a/src/memmachine/common/api/doc.py
+++ b/src/memmachine/common/api/doc.py
@@ -192,6 +192,11 @@ class SpecDoc:
The maximum number of memories to return in the search results.
"""
+ EXPA... | 2 | 1 | 1 | [{"id": "G0", "claim": "Questions whether there is any special reason for splitting expand_context one-third to backward episodes and two-thirds to forward episodes.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Because the new context expansion paramet... | null |
MemMachine__MemMachine__985 | MemMachine/MemMachine | 985 | defect | f0a68a8f8bea932adeafcabd109f3110a91c350a | 010f20ea0c931eaa8effe3b0242c6a49055b91c7 | [GH-974] Prevent consolidation on small tag groups | ### Purpose of the change
Fixes consolidation of tags, ensuring that features are properly consolidated based on tags.
Also filters out tags who don't meet the threshold requirement. The storage layer is responsible for ensuring the returned tags meet the consolidation threshold. But there isn't any harm in ensuring ... | diff --git a/src/memmachine/semantic_memory/semantic_ingestion.py b/src/memmachine/semantic_memory/semantic_ingestion.py
index afbd06318..db44a0121 100644
--- a/src/memmachine/semantic_memory/semantic_ingestion.py
+++ b/src/memmachine/semantic_memory/semantic_ingestion.py
@@ -259,6 +259,13 @@ async def _consolidate_typ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new threshold filtering logic in semantic_ingestion.py lacks a test verifying that _deduplicate_features is called when a group meets or exceeds the threshold of 3; a test case for that direction should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "in... | null |
MemPalace__mempalace__1000 | MemPalace/mempalace | 1,000 | defect | 74a31b70d3b527e3aeffff8e54ce3808543b9a4b | 73f0c2a9b6c06c785daa98e01acd5eb5d4104750 | feat(backends): quarantine_stale_hnsw — recover from HNSW/sqlite drift (closes #823) | ## Summary
Adds a `quarantine_stale_hnsw(palace_path, stale_seconds=3600)` helper that renames HNSW segment directories whose `data_level0.bin` is significantly older than `chroma.sqlite3`. Drift between the on-disk HNSW graph and the live `embeddings` table in sqlite is the root cause of the bug #823 describes — and,... | diff --git a/mempalace/backends/chroma.py b/mempalace/backends/chroma.py
index 1a13675a62..85c8379f56 100644
--- a/mempalace/backends/chroma.py
+++ b/mempalace/backends/chroma.py
@@ -1,5 +1,6 @@
"""ChromaDB-backed MemPalace collection adapter."""
+import datetime as _dt
import logging
import os
import sqlite3
@@ ... | 3 | 1 | 0 | [{"id": "G0", "claim": "The type hints on quarantine_stale_hnsw are overly generic and should be tightened to `-> list[str]` and `moved: list[str] = []` to match the repo's use of built-in generics elsewhere.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
MemPalace__mempalace__1021 | MemPalace/mempalace | 1,021 | defect | 66090b2bcb0e42935c88f653352cb17fd9fd84c8 | c4c9aeab6b619aea8f0bf04891f93210ccb9ede6 | fix(hooks): restore silent-save visibility on Claude Code 2.1.114 | Two related silent-save fixes exposed by Claude Code 2.1.114's plugin-scope Stop hook dispatch. Both are producer-side — getting clean JSON with `systemMessage` onto fd 1 where Claude Code reads it. The separate UI-side regression that's preventing the `<Line>` from persisting on screen is filed at [anthropics/claude-c... | diff --git a/mempalace/hooks_cli.py b/mempalace/hooks_cli.py
index 97832dccde..c20a6c6d02 100644
--- a/mempalace/hooks_cli.py
+++ b/mempalace/hooks_cli.py
@@ -134,8 +134,24 @@ def _log(message: str):
def _output(data: dict):
- """Print JSON to stdout with consistent formatting (pretty-printed)."""
- print(js... | 6 | 6 | 5 | [{"id": "G0", "claim": "The unconditional import of mempalace.mcp_server in _output() has heavy import-time side effects (it redirects sys.stdout), and when _REAL_STDOUT_FD is None the fallback writes hook JSON to the redirected sys.stdout instead of fd 1, so consider checking sys.modules first or writing to fd 1 direc... | null |
MemPalace__mempalace__604 | MemPalace/mempalace | 604 | defect | 2a1ac762e6fc4034734913d822018565a51d0a60 | d4358bf6d949012472df87b9618bd2ad59d07e56 | fix: allow mining directories without local mempalace.yaml | Reopens #173 (closed for merge conflicts) — rebased onto current main and conflict resolved.
## What does this PR do?
Changes `load_config()` in `miner.py` to return sensible defaults instead of `sys.exit(1)` when no `mempalace.yaml` exists in the source directory.
The bug: `mempalace mine ~/chats/` fails with `ERRO... | diff --git a/mempalace/miner.py b/mempalace/miner.py
index f342a2d5c9..a537146004 100644
--- a/mempalace/miner.py
+++ b/mempalace/miner.py
@@ -8,7 +8,6 @@
"""
import os
-import sys
import hashlib
import fnmatch
from pathlib import Path
@@ -256,16 +255,28 @@ def load_config(project_dir: str) -> dict:
"""Load... | 2 | 2 | 0 | [{"id": "G0", "claim": "The 'No mempalace.yaml found' warning is printed to stdout, where it can be missed when mine output is piped somewhere, and it should go to stderr like the removed ERROR messages.", "category": "usability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
MemPalace__mempalace__661 | MemPalace/mempalace | 661 | defect | bb7ed805785dfe636c7818bd0939e4c1747c54fb | dbb170ea000fdf71aa1e090bf33bd99baca685e9 | perf: graph cache with write-invalidation in build_graph() | ## Problem
`build_graph()` scans every drawer's metadata in 1000-item batches on every call — O(n) per graph build with no caching. At 50K+ drawers this costs several seconds per MCP tool call because `traverse()`, `find_tunnels()`, and `graph_stats()` all call `build_graph()` on every invocation.
## Solution
Module... | diff --git a/mempalace/palace_graph.py b/mempalace/palace_graph.py
index 5e2e72e79e..f4b2cfcd19 100644
--- a/mempalace/palace_graph.py
+++ b/mempalace/palace_graph.py
@@ -15,11 +15,26 @@
No external graph DB needed — built from ChromaDB metadata.
"""
+import time
from collections import defaultdict, Counter
fro... | 5 | 4 | 3 | [{"id": "G0", "claim": "The comment/docstring claims the cache mirrors an `_metadata_cache` pattern in `mcp_server.py` and that `invalidate_graph_cache()` is called from `mcp_server.py` on writes, but no such cache exists and nothing references the function, making the in-code documentation misleading; fix by wiring in... | null |
MemPalace__mempalace__664 | MemPalace/mempalace | 664 | defect | bb7ed805785dfe636c7818bd0939e4c1747c54fb | 33d56e75aa5bc8220d273ae4b482abd2aede5bc7 | fix: auto-repair BLOB seq_ids from chromadb 0.6→1.5 migration | ## Summary
- Adds `_fix_blob_seq_ids()` to `backends/chroma.py` that detects and repairs BLOB-typed `seq_id` values left behind by the ChromaDB 0.6.x → 1.5.x migration
- Runs automatically before `PersistentClient` is created (the Rust compactor fires on init and crashes on BLOB values)
- Converts big-endian 8-byte BL... | diff --git a/mempalace/backends/chroma.py b/mempalace/backends/chroma.py
index 0ac7501a15..50ff149ff9 100644
--- a/mempalace/backends/chroma.py
+++ b/mempalace/backends/chroma.py
@@ -1,11 +1,48 @@
"""ChromaDB-backed MemPalace collection adapter."""
+import logging
import os
+import sqlite3
import chromadb
fro... | 4 | 2 | 1 | [{"id": "G0", "claim": "If any exception occurs after opening the SQLite connection, the connection is never closed because conn.close() is only reached on the happy path, which can leave the DB file locked and cause subsequent PersistentClient initialization to fail; use a context manager or finally to guarantee closu... | null |
MemPalace__mempalace__673 | MemPalace/mempalace | 673 | defect | 607815acbbf970eed87193916ae7c74912c4a386 | e40d165b34c4587f2426b16dd1242ef66aa973cb | feat: deterministic hook saves — zero data loss via silent Python API | ## Problem
The stop hook's config already has `hook_silent_save` (default `True`) and `hook_desktop_toast` settings (shipped in #667), but the hook implementation ignores them — it always blocks and asks Claude to save via MCP tools.
This is **hope-based persistence**: the hook blocks, tells Claude "please save your ... | diff --git a/.claude-plugin/hooks/mempal-precompact-hook.sh b/.claude-plugin/hooks/mempal-precompact-hook.sh
index 0ac46ddc4b..1d4b7bfca9 100644
--- a/.claude-plugin/hooks/mempal-precompact-hook.sh
+++ b/.claude-plugin/hooks/mempal-precompact-hook.sh
@@ -1,5 +1,20 @@
#!/bin/bash
# MemPalace PreCompact Hook — thin wra... | 7 | 5 | 2 | [{"id": "G0", "claim": "_mempalace_python() hardcodes POSIX venv layouts (.../bin/python) and a fixed parent depth, so it should handle Windows venv paths (.../Scripts/python.exe) and avoid relying on parents[3], e.g. by trying sys.executable when it already imports mempalace and deriving candidate script dirs via sysc... | null |
MemPalace__mempalace__683 | MemPalace/mempalace | 683 | defect | 89206107fa1bc4859b176ede893b9a78e96acc82 | be8f5d7f98d21e0bf4045df99a89378df7d5a92a | fix: allow Unicode in sanitize_name() — Latvian, CJK, Cyrillic (#637) | ## Summary
- `_SAFE_NAME_RE` was ASCII-only (`[a-zA-Z0-9]`), rejecting valid Unicode names like "Jānis", "太郎", or "Алексей"
- Changed to `\w` which matches Unicode word characters (letters, digits, underscore) in Python 3
## Files changed
- `mempalace/config.py` — line 19
## Test plan
- [x] Existing tests pass
- [ ] ... | diff --git a/mempalace/config.py b/mempalace/config.py
index fd82be7293..df8dee8338 100644
--- a/mempalace/config.py
+++ b/mempalace/config.py
@@ -16,7 +16,7 @@
# in file paths, SQLite, or ChromaDB metadata.
MAX_NAME_LENGTH = 128
-_SAFE_NAME_RE = re.compile(r"^[a-zA-Z0-9][a-zA-Z0-9_ .'-]{0,126}[a-zA-Z0-9]?$")
+_SAF... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new regex uses `\\w`, which matches `_`, so names that begin or end with an underscore (e.g. `_foo`, `foo_`, `_`) are now accepted where the old pattern required alphanumerics at the ends; use a first/last-character class that excludes `_` while still allowing `_` in the middle.", "category"... | null |
MemPalace__mempalace__846 | MemPalace/mempalace | 846 | defect | b060171c59343d02023854391fba7f748bcbdccf | 64ab16b696627a07cead08fcb15e0323b641622b | feat: include created_at timestamp in search results | ## Summary
- Surfaces the existing `filed_at` metadata as `created_at` in search result objects returned by `search_memories()`
- Enables temporal reasoning over search hits without additional queries (e.g., "what did I say last week?")
- Zero breaking changes — additive field only
Closes #465
## Changes
- `mempalace... | diff --git a/mempalace/searcher.py b/mempalace/searcher.py
index dea300d421..9fc02bb9a4 100644
--- a/mempalace/searcher.py
+++ b/mempalace/searcher.py
@@ -397,6 +397,7 @@ def search_memories(
"wing": meta.get("wing", "unknown"),
"room": meta.get("room", "unknown"),
"source_file": ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The created_at result field should fall back to an explicit default value when filed_at metadata is absent, like the other externally sourced fields do.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MemPalace__mempalace__998 | MemPalace/mempalace | 998 | defect | e4a2cd48a234a21c8b0ab7c048524158ca92a018 | 5d37f212382e95d5f2e5d55a2b12494f78d53319 | Fix silent transcript drop: .jsonl ingestion + 500 MB cap + tandem sweeper | ## Summary
Public v3.3.1 silently drops users' `.jsonl` transcripts. The hook fires, the miner walks the directory, skips every `.jsonl` file via silent `continue`, exits cleanly. No error, no log line. Conversations never reach the palace.
**Root cause is three-layered.** Fixed in three commits, plus one additiv... | diff --git a/mempalace/cli.py b/mempalace/cli.py
index 69cd244452..bec6d2b635 100644
--- a/mempalace/cli.py
+++ b/mempalace/cli.py
@@ -146,6 +146,42 @@ def cmd_mine(args):
)
+def cmd_sweep(args):
+ """Sweep a transcript file or directory for anything the primary
+ miner missed. Coordinates via max(ti... | 6 | 6 | 1 | [{"id": "G0", "claim": "In `sweep_directory`, `files_processed` is reported as `len(per_file)`, which excludes failed files and can make the summary/CLI output misleading; the reviewer asks to return both attempted and succeeded counts or include failures in the count.", "category": "correctness", "verdict": "supported... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.