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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spaceandtimefdn__sxt-proof-of-sql__391 | spaceandtimefdn/sxt-proof-of-sql | 391 | defect | e04dd5ca05a7a94bf7475358ab772ba7ae150cf1 | 739ef94dbcb2bb39b663fb3e2a14c868e58c0382 | feat: add `compare_single_row_of_tables` | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/database/order_by_util.rs b/crates/proof-of-sql/src/base/database/order_by_util.rs
index e2589d1db2..d5c70c5dbd 100644
--- a/crates/proof-of-sql/src/base/database/order_by_util.rs
+++ b/crates/proof-of-sql/src/base/database/order_by_util.rs
@@ -1,6 +1,6 @@
//! Contains the uti... | 2 | 2 | 0 | [{"id": "G0", "claim": "The type-check loop could be written with `zip` instead of indexing both column slices.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The function and parameter names could more strongly imply that the comparison is for ... | null |
spaceandtimefdn__sxt-proof-of-sql__423 | spaceandtimefdn/sxt-proof-of-sql | 423 | defect | 5684a337812aa1f2b7226c58f028b43a114f51ab | 55d5c22c9f23d6ee704abf2d99f8fc2804f9fa09 | fix: fix filter vulnerability | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/sql/proof/final_round_builder.rs b/crates/proof-of-sql/src/sql/proof/final_round_builder.rs
index 85f9732560..c2c236c605 100644
--- a/crates/proof-of-sql/src/sql/proof/final_round_builder.rs
+++ b/crates/proof-of-sql/src/sql/proof/final_round_builder.rs
@@ -12,6 +12,7 @@ use alloc::... | 3 | 3 | 3 | [{"id": "G0", "claim": "The verifier's fold evaluations in verify_filter (alpha * range_length_one_eval + fold_vals(...)) still allow the attack, so the reviewer proposes computing them as alpha + fold_vals(...) instead.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": ... | null |
spaceandtimefdn__sxt-proof-of-sql__444 | spaceandtimefdn/sxt-proof-of-sql | 444 | defect | 91173a3ebf2aefae07f529b151d0787b3801f260 | d9822c12c108e9a993b012601ae93ecb86e7aebf | feat: add membership check | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/Cargo.toml b/Cargo.toml
index 11f3256283..91dfc16c4f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,8 @@ blitzar = { version = "4.0.0" }
bumpalo = { version = "3.11.0" }
bytemuck = {version = "1.16.3", features = ["derive"]}
byte-slice-cast = { version = "1.2.1", default-features = false }
-clap ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The verifier's fold evaluations and identity expressions should be rewritten so alpha is folded into the (S::ONE + alpha * c_fold_eval) * c_star_eval factor instead of pre-multiplying alpha into c_fold_eval/d_fold_eval.", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
spaceandtimefdn__sxt-proof-of-sql__450 | spaceandtimefdn/sxt-proof-of-sql | 450 | defect | 91173a3ebf2aefae07f529b151d0787b3801f260 | d7d1606d12714de2bc10754e414f787ba648a2f0 | refactor!: `proof_of_sql_parser::intermediate_ast::OrderBy` with `sqlparser::ast::OrderByExpr` in the proof-of-sql crate | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..176a458f94
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/crates/proof-of-sql-parser/src/intermediate_ast.rs b/crates/proof-of-sql-parser/src/intermediate_ast.rs
index d896966543..822d450c94 100644
--- a/crat... | 4 | 3 | 2 | [{"id": "G0", "claim": "Mapping every `OwnedColumn` to a fixed per-type identifier in `owned_column_to_expr` leads to duplicate order-by expressions for columns of the same type.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `.gitattributes` fi... | null |
spaceandtimefdn__sxt-proof-of-sql__509 | spaceandtimefdn/sxt-proof-of-sql | 509 | defect | 20ad9c02ddeaf640c4223ec319ccd50c4ada3f57 | c78fa62db2945216bf8b39dd27c27e693166a94b | feat: add `Column::rho` and `Table::add_rho_column` && improve `join_util` | Split out of #496 since the joins are already fairly complex.
Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelin... | diff --git a/crates/proof-of-sql/src/base/database/column.rs b/crates/proof-of-sql/src/base/database/column.rs
index c05ab33347..1418a6a559 100644
--- a/crates/proof-of-sql/src/base/database/column.rs
+++ b/crates/proof-of-sql/src/base/database/column.rs
@@ -144,6 +144,13 @@ impl<'a, S: Scalar> Column<'a, S> {
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Change `Table::add_rho_column` to consume the table (`mut self`) and insert the rho column in place, instead of taking `&self` and cloning the whole column map just to return a modified copy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
spaceandtimefdn__sxt-proof-of-sql__510 | spaceandtimefdn/sxt-proof-of-sql | 510 | defect | 20ad9c02ddeaf640c4223ec319ccd50c4ada3f57 | 9771a0e4271e7c27c36e2af6e7c06ca32e13560a | refactor: fix membership check | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/database/join_util.rs b/crates/proof-of-sql/src/base/database/join_util.rs
index 231209d3ff..0a1bf5b345 100644
--- a/crates/proof-of-sql/src/base/database/join_util.rs
+++ b/crates/proof-of-sql/src/base/database/join_util.rs
@@ -66,7 +66,7 @@ pub(crate) fn ordered_set_union<'a,... | 2 | 2 | 0 | [{"id": "G0", "claim": "`input_ones` should be kept as an argument to final_round_evaluate_membership_check to mirror verifier_evaluate, instead of being allocated internally.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The multiplicities returned by ... | null |
spaceandtimefdn__sxt-proof-of-sql__580 | spaceandtimefdn/sxt-proof-of-sql | 580 | defect | d37626b6b7f6f2d8e9cb83bab76b37fece459a32 | a22e9cde84def4c6391ad36ed5ef313d78b9a95b | feat: add `sql_to_proof_plans` | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/Cargo.toml b/Cargo.toml
index 443a5fa8a9..84a076c253 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
-members = ["crates/proof-of-sql", "crates/proof-of-sql-parser"]
+members = ["crates/proof-of-sql", "crates/proof-of-sql-parser", "crates/proof-of-sql-planner"]
[wor... | 3 | 2 | 2 | [{"id": "G0", "claim": "The pull request's code has compilation errors and does not build as reviewed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G3", "claim": "The purpose of the InternalError variant is unclear; if it cannot occur it should be an expect or p... | null |
spaceandtimefdn__sxt-proof-of-sql__624 | spaceandtimefdn/sxt-proof-of-sql | 624 | defect | 28b0ef1ecb4563115099793a812c8e1875fa9b43 | d7af03611b6404439657b4fe475193fc67202bca | feat: add `AggregateExec` | # Rationale for this change
This PR introduces a new proof plan node `AggregateExec` which will replace `GroupByExec` and hooks it into the dynamic proof plan framework.
# What changes are included in this PR?
- **New proof plan node**
- Add `AggregateExec` in `proof_plans/aggregate_exec.rs`, implementing... | diff --git a/crates/proof-of-sql/src/sql/proof_plans/aggregate_exec.rs b/crates/proof-of-sql/src/sql/proof_plans/aggregate_exec.rs
new file mode 100644
index 0000000000..385b941bcd
--- /dev/null
+++ b/crates/proof-of-sql/src/sql/proof_plans/aggregate_exec.rs
@@ -0,0 +1,563 @@
+use super::{fold_columns, fold_vals, DynPr... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test utility `aggregate` in test_utility.rs is too generic a name and should be renamed to something like `create_aggregate_plan` to clarify its purpose.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The input plan i... | null |
spaceandtimefdn__sxt-proof-of-sql__655 | spaceandtimefdn/sxt-proof-of-sql | 655 | defect | 44804bf4e736a3ec2dac729699e26f45a37f36f4 | ec06821dff39ae7ee951e315e648a8c32457041f | feat: allow bare `Aggregate` in `LogicalPlan` in the planner as well as allow aliasing for expressions within `Aggregate` | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql-planner/Cargo.toml b/crates/proof-of-sql-planner/Cargo.toml
index c4320996bc..e8b14c86e8 100644
--- a/crates/proof-of-sql-planner/Cargo.toml
+++ b/crates/proof-of-sql-planner/Cargo.toml
@@ -11,6 +11,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
arrow = { workspace = true }
+bu... | 2 | 1 | 0 | [{"id": "G0", "claim": "Build the Aggregate alias map from `display_name()` strings collected into a `Vec` instead of bump-allocating each name and casting it to `&str`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the leftover `dbg!(&o... | null |
spaceandtimefdn__sxt-proof-of-sql__693 | spaceandtimefdn/sxt-proof-of-sql | 693 | defect | 4dbfc00cd92c81af3ef3e0d8af0bc46ba746efc9 | 7f30def86df73bbe5749bb56ee0384a34d9c686b | feat: add `PlaceholderExpr` | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/proof/error.rs b/crates/proof-of-sql/src/base/proof/error.rs
index 1bcd8885a2..9c3fbc79ff 100644
--- a/crates/proof-of-sql/src/base/proof/error.rs
+++ b/crates/proof-of-sql/src/base/proof/error.rs
@@ -1,3 +1,4 @@
+use crate::base::database::ColumnType;
use snafu::Snafu;
#[d... | 3 | 3 | 0 | [{"id": "G0", "claim": "Expand the `/// Provable placeholder expression` doc comment on PlaceholderExpr to explain the type a little more.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `id` and `column_type` fields should not be `pub(crate)` ... | null |
spaceandtimefdn__sxt-proof-of-sql__694 | spaceandtimefdn/sxt-proof-of-sql | 694 | defect | 889aa3bdebfbb3ab52dbfc1e2a66dd8d62d4405f | 370fb2ac0484531feb3636a875909f3d551dc461 | feat: support additional numeric types | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [ ] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/database/column_type_operation.rs b/crates/proof-of-sql/src/base/database/column_type_operation.rs
index 5cc6806478..3d8ea2d4a2 100644
--- a/crates/proof-of-sql/src/base/database/column_type_operation.rs
+++ b/crates/proof-of-sql/src/base/database/column_type_operation.rs
@@ -1... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `as &[_]` cast of the allocated slice in cast_column might be an ambiguous or incorrect type conversion; explicitly convert to the expected slice type for type safety.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ne... | null |
spaceandtimefdn__sxt-proof-of-sql__695 | spaceandtimefdn/sxt-proof-of-sql | 695 | defect | a70000a3a86c97c7c7b0212c65209692eef0a2bc | 5f4b3492b6d6cec7e6f142a14c89e25b6e29beff | feat!: ban $0 && add placeholders to the planner | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/proof/error.rs b/crates/proof-of-sql/src/base/proof/error.rs
index 9c3fbc79ff..f7a6c5218e 100644
--- a/crates/proof-of-sql/src/base/proof/error.rs
+++ b/crates/proof-of-sql/src/base/proof/error.rs
@@ -82,6 +82,10 @@ pub enum PlaceholderError {
/// The actual type
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The two occurrences of `self.id - 1` in `PlaceholderExpr::interpolate` should be factored into a local variable so they cannot accidentally get out of sync.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__704 | spaceandtimefdn/sxt-proof-of-sql | 704 | defect | d6c1402306033d2f948cacdcc77984e266c6b32a | d5c8bf4e4c69e0a3ed2c8a2f689ed7226ed8f87f | fix: disable one datafusion optimizer rule, `common_sub_expression_eliminate` | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql-planner/src/conversion.rs b/crates/proof-of-sql-planner/src/conversion.rs
index 8ff8479194..4402bf4189 100644
--- a/crates/proof-of-sql-planner/src/conversion.rs
+++ b/crates/proof-of-sql-planner/src/conversion.rs
@@ -2,18 +2,38 @@ use crate::{
logical_plan_to_proof_plan, logical_p... | 2 | 1 | 0 | [{"id": "G0", "claim": "The multi-line SQL string in test_projection is a plain string literal without concatenation or a raw string literal, which may lead to a compilation error; consider using a raw string literal or concatenating separate strings.", "category": "correctness", "verdict": "supported", "priority": "P3... | null |
spaceandtimefdn__sxt-proof-of-sql__741 | spaceandtimefdn/sxt-proof-of-sql | 741 | defect | 1ffd0c0a135254336ee8d0cf86f63c5d07f2f6ff | d8a1a89cb38344f7372998e6c4ee0a4ae5b0c644 | fix: ban `EqualsExpr`, `InequalityExpr`, `AddExpr` and `SubtractExpr` when scales are different | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/database/column_type_operation.rs b/crates/proof-of-sql/src/base/database/column_type_operation.rs
index 50a3d2304d..de87849014 100644
--- a/crates/proof-of-sql/src/base/database/column_type_operation.rs
+++ b/crates/proof-of-sql/src/base/database/column_type_operation.rs
@@ -1... | 3 | 1 | 0 | [{"id": "G0", "claim": "Add explicit parentheses around the numeric-type and scale-equality conditions in the binary-operation type check to clarify operator precedence and intended grouping.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Docume... | null |
spaceandtimefdn__sxt-proof-of-sql__748 | spaceandtimefdn/sxt-proof-of-sql | 748 | defect | 2e580d7450b79cfcc65842ac4388347c4e255c91 | a2da796c6e85ffae752ec140a801cbefb555fa5a | feat(sol): EVM verifier | # Rationale for this change
We want an EVM verifier.
# What changes are included in this PR?
* This adds a minor helper method (primarily to achive 100% unit test coverage).
* Adds the complete, main, verifier body.
* Adds Rust+EVM tests.
# Are these changes tested?
Yes | diff --git a/crates/proof-of-sql/src/proof_primitive/hyperkzg/mod.rs b/crates/proof-of-sql/src/proof_primitive/hyperkzg/mod.rs
index d8ee5834de..7f8a12f157 100644
--- a/crates/proof-of-sql/src/proof_primitive/hyperkzg/mod.rs
+++ b/crates/proof-of-sql/src/proof_primitive/hyperkzg/mod.rs
@@ -12,6 +12,8 @@ pub use scalar:... | 1 | 1 | 0 | [{"id": "G0", "claim": "The EVM test helper should take `DynProofPlan` directly rather than `QueryExpr`, since `QueryExpr` is about to be removed anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__751 | spaceandtimefdn/sxt-proof-of-sql | 751 | defect | d81ecd62b7516b7f3808ed2089479e6becb8f22e | a4e8bfef31288f5f7766c6681ebc8aba09b15d60 | feat(sol): add `CastExpr` to solidity | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/sql/evm_proof_plan/evm_tests.rs b/crates/proof-of-sql/src/sql/evm_proof_plan/evm_tests.rs
index a54896c50a..ad4c2661f2 100644
--- a/crates/proof-of-sql/src/sql/evm_proof_plan/evm_tests.rs
+++ b/crates/proof-of-sql/src/sql/evm_proof_plan/evm_tests.rs
@@ -160,6 +160,46 @@ fn we_can_ve... | 3 | 2 | 2 | [{"id": "G0", "claim": "The `cast_expr_evaluate` wrapper in `CastExpr.pre.sol` can be optimized away by inlining it to call `proof_expr_evaluate` directly, which would make the compiler's job easier.", "category": "performance", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`E... | null |
spaceandtimefdn__sxt-proof-of-sql__768 | spaceandtimefdn/sxt-proof-of-sql | 768 | defect | a8e21f990dd8c6b35eb1adac783070df0c63944d | ec0e9ec0944a3c0990f307e2c09cbe1d372ad81c | feat(sol): support more datatypes (booleans, ints, decimals, timestamps) | # Rationale for this change
We need to support a wider range of data types (booleans, 8-/16-/32-/64-bit integers, decimals, and timestamps) and ensure the EVM proof-plan and verifier correctly serialize, deserialize, and validate them in both the Rust and Solidity code.
# What changes are included in this PR?
- **... | diff --git a/solidity/src/base/Constants.sol b/solidity/src/base/Constants.sol
index eaabc44e39..20a544adc7 100644
--- a/solidity/src/base/Constants.sol
+++ b/solidity/src/base/Constants.sol
@@ -33,6 +33,27 @@ uint256 constant WORDX11_SIZE = 0x20 * 11;
/// @dev Size of twelve words in bytes.
uint256 constant WORDX12_... | 1 | 1 | 1 | [{"id": "G2", "claim": "Add integration tests demonstrating that the new types work properly (e.g. SELECT decimal_column FROM table WHERE tinyint = 4), with results and literals covering every data type.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__772 | spaceandtimefdn/sxt-proof-of-sql | 772 | defect | 0b05a4b69f935ceb6bdfbfb8417c708e3375933a | 5424d55986980ebb55ee3ad15c5bbf440a91c5e7 | feat(sol): add `MultiplyExpr`, `AndExpr`, `OrExpr`, `NotExpr` in Solidity | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml
index ca9b29f9cb..836da97188 100644
--- a/.github/workflows/lint-and-test.yml
+++ b/.github/workflows/lint-and-test.yml
@@ -185,7 +185,7 @@ jobs:
#- name: Run Tests to Generate Coverage Data (std only)
# run: cargo llv... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test's SQL query \"a + b = d and b = a * c\" should add explicit parentheses around each side of the `and` so the intended evaluation order is clear.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__786 | spaceandtimefdn/sxt-proof-of-sql | 786 | defect | 64460ab694e697017c8e664e37f64d2dc297d9f3 | 2b2fdaa04f54b046636621bf84eb60afd6ded3b3 | feat: join in planner | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [x] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql-planner/src/plan.rs b/crates/proof-of-sql-planner/src/plan.rs
index 7a80ec6901..a95ae9852c 100644
--- a/crates/proof-of-sql-planner/src/plan.rs
+++ b/crates/proof-of-sql-planner/src/plan.rs
@@ -5,18 +5,19 @@ use super::{
};
use alloc::vec::Vec;
use datafusion::{
- common::DFSchema... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add more tests for the join planner in plan.rs — at least one successful example as well as other kinds of failures — beyond the single we_can_error_if_not_inner_join unit test.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ther... | null |
spaceandtimefdn__sxt-proof-of-sql__789 | spaceandtimefdn/sxt-proof-of-sql | 789 | defect | bd38ffb9e02ea6b15585627562d154d4286d10e9 | 6186288ae7fa47699ef952abf3edd95db87569b2 | feat: add `TableExec` to solidity | # Rationale for this change
Support for table execution plans is required to enable Proof-of-SQL’s verifier to handle queries that read directly from tables rather than only from filtered or aggregated sources. Adding a dedicated `TableExec` library and wiring it into the existing Yul libraries completes the proof pla... | diff --git a/crates/proof-of-sql-planner/tests/evm_tests.rs b/crates/proof-of-sql-planner/tests/evm_tests.rs
index 085e4100da..bef7ca1c00 100644
--- a/crates/proof-of-sql-planner/tests/evm_tests.rs
+++ b/crates/proof-of-sql-planner/tests/evm_tests.rs
@@ -468,3 +468,42 @@ fn we_can_verify_a_complex_filter_using_the_evm(... | 2 | 2 | 0 | [{"id": "G0", "claim": "Nit: in table_exec_evaluate the plan_ptr advance should come before the builder_get_table_chi_evaluation call, as suggested.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The column loop in table_exec_evaluate should be ... | null |
spaceandtimefdn__sxt-proof-of-sql__840 | spaceandtimefdn/sxt-proof-of-sql | 840 | defect | 76a2b84dd50dd2a583b23473127581584cfbd700 | a2951d75476395a63f28b59e2bab9045c54abd48 | feat(sol): support varchar and varbinary literals | # Overview
This PR adds support for `VARCHAR` and `VARBINARY` literals in the Solidity‐based proof code, enabling variable-length string and binary data types in Proof-of-SQL.
# Changes
- **Constants.sol**
Added new data-type variant constants `DATA_TYPE_VARCHAR_VARIANT = 7` and `DATA_TYPE_VARBINARY_VARIANT =... | diff --git a/solidity/src/base/Constants.sol b/solidity/src/base/Constants.sol
index ccdf360d07..76cb4de792 100644
--- a/solidity/src/base/Constants.sol
+++ b/solidity/src/base/Constants.sol
@@ -113,10 +113,14 @@ uint32 constant DATA_TYPE_SMALLINT_VARIANT = 3;
uint32 constant DATA_TYPE_INT_VARIANT = 4;
/// @dev BigIn... | 1 | 1 | 1 | [{"id": "G0", "claim": "The varchar/varbinary entry taken from keccak256 of the literal bytes is not masked or reduced to a field element, so the returned entry may exceed the modulus.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__852 | spaceandtimefdn/sxt-proof-of-sql | 852 | defect | f90020e421421ef56af32ea9919318910da79d74 | 588a2f99e11dac5f7a996487eb3726af7145ac12 | perf: avoid creating a temporary vec in slice ops mul add | # Rationale for this change
The `mul_add_assign` module has a `mul_add_assign` function that is only used by the `MultilinearExtension` `mul_add` function. When calling `mul_add_assign`, a temporary vector is created with the `slice_ops::slice_cast(self) call. We don't need to create this temporary vector. Avoiding th... | diff --git a/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs b/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs
index 7d9318eb7b..a4a1d5fa37 100644
--- a/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs
+++ b/crates/proof-of-sql/src/base/polynomial/multilinear_extension.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The TestScalar vector construction in the mul_add_assign tests is too verbose and could be written as `[1,2,3,4].map(TestScalar::from).to_vec()`, and similarly for the tests below.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__856 | spaceandtimefdn/sxt-proof-of-sql | 856 | defect | 38af36e8e0af1ce5abd4fce51073190524318c9d | 7062fb673e526e14c2df2ac39c7fb604a5cf3971 | feat(sol): projection_exec | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [ ] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/solidity/src/base/Constants.sol b/solidity/src/base/Constants.sol
index 8f0df4e6a4..2ad11e43ae 100644
--- a/solidity/src/base/Constants.sol
+++ b/solidity/src/base/Constants.sol
@@ -104,6 +104,8 @@ uint32 constant CAST_EXPR_VARIANT = 9;
/// @dev Filter variant constant for proof plans
uint32 constant F... | 7 | 4 | 0 | [{"id": "G0", "claim": "The new doc line for output_chi_eval contains the typo 'length of the length of the output' and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The local rename of output_chi_eval to filtered_chi_eval in... | null |
spaceandtimefdn__sxt-proof-of-sql__858 | spaceandtimefdn/sxt-proof-of-sql | 858 | defect | 5d347f3a3028315d5d526dcaa47492ef7f044be6 | 1b09821cd527d874066b0d568564aba827bcf8be | feat: add uniqueness check if there is only one non-string non-binary column | # Overview
- **Purpose:** Optimize proofs for `GROUP BY` on a single non-text column by using a monotonicity check.
# Key Changes
- **Uniqueness predicate:**
- Adds `is_uniqueness_provable()` when there’s exactly one non-text column.
- **Prover adjustments:**
- Calls `first_round_evaluate_monotonic` i... | diff --git a/crates/proof-of-sql/src/sql/proof_plans/group_by_exec.rs b/crates/proof-of-sql/src/sql/proof_plans/group_by_exec.rs
index 894de9293f..e1651f1424 100644
--- a/crates/proof-of-sql/src/sql/proof_plans/group_by_exec.rs
+++ b/crates/proof-of-sql/src/sql/proof_plans/group_by_exec.rs
@@ -18,6 +18,9 @@ use crate::... | 5 | 4 | 2 | [{"id": "G0", "claim": "The new gate `self.group_by_exprs.len() > 1` inverts the intended behavior — since the goal is to add uniqueness checks when there is only one grouping column, it should be `== 1` instead of `> 1`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
spaceandtimefdn__sxt-proof-of-sql__868 | spaceandtimefdn/sxt-proof-of-sql | 868 | defect | bd38ffb9e02ea6b15585627562d154d4286d10e9 | 601c1cdb9fb8bda9bfe3055e6ae43275ab3f456d | feat(sol): inequality expr | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [ ] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql-planner/tests/evm_tests.rs b/crates/proof-of-sql-planner/tests/evm_tests.rs
index 085e4100da..b5029d0841 100644
--- a/crates/proof-of-sql-planner/tests/evm_tests.rs
+++ b/crates/proof-of-sql-planner/tests/evm_tests.rs
@@ -468,3 +468,37 @@ fn we_can_verify_a_complex_filter_using_the_evm(... | 4 | 2 | 0 | [{"id": "G0", "claim": "The if-based branch selecting the subtraction direction in inequality_expr_evaluate should be rewritten as a switch.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The slither cyclomatic-complexity disable comment should not be ad... | null |
spaceandtimefdn__sxt-proof-of-sql__871 | spaceandtimefdn/sxt-proof-of-sql | 871 | defect | c310379700b2b315977d6887ce943f30d2b57546 | 13ba1b1a94a4e5e4c1b8e1cb2a090c77d1750008 | refactor: simplify sign expr verification | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [ ] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql/src/base/bit/bit_distribution.rs b/crates/proof-of-sql/src/base/bit/bit_distribution.rs
index 1c8df64298..983c6bb19a 100644
--- a/crates/proof-of-sql/src/base/bit/bit_distribution.rs
+++ b/crates/proof-of-sql/src/base/bit/bit_distribution.rs
@@ -1,5 +1,8 @@
use super::bit_mask_utils::{... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new From<BitDistributionError> for ProofError implementation panics on the NoLeadBit variant, and the reviewer asks that it not panic.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spaceandtimefdn__sxt-proof-of-sql__895 | spaceandtimefdn/sxt-proof-of-sql | 895 | defect | 25be0fc26eadad41ec9d6685ac2ad2430c88e41f | 4f3cb9f2f89dd0ad4153a79199fbb40f0c7e1ee2 | refactor!: strip schema field from Union | Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
# Please go through the following checklist
- [ ] The PR title and commit messages adhere to guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/b... | diff --git a/crates/proof-of-sql-planner/src/plan.rs b/crates/proof-of-sql-planner/src/plan.rs
index 2bfa1aa042..8069370cf7 100644
--- a/crates/proof-of-sql-planner/src/plan.rs
+++ b/crates/proof-of-sql-planner/src/plan.rs
@@ -447,14 +447,12 @@ pub fn logical_plan_to_proof_plan(
Ok(DynProofPlan::new_slice(... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new error variant should be named UnionNotEnoughTables rather than UnionNoTables, because unioning one table is equally invalid as unioning none.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests would be better using a... | null |
spacedriveapp__spacebot__246 | spacedriveapp/spacebot | 246 | defect | 138b9a4fe356cbdda1bf25b347dd27bb436a2bc6 | d42f467192d14aa1156bbf1d50b97412da548c76 | feat: add IMAP email_search tool for branch read-back | ## Summary
- add a new branch-only `email_search` tool that queries IMAP directly with sender/subject/text/unread/since filters and returns bounded snippets plus metadata for precise email read-back
- wire mailbox search support into the email messaging module and branch tool server plumbing, including criterion saniti... | diff --git a/docs/content/docs/(features)/tools.mdx b/docs/content/docs/(features)/tools.mdx
index f1def1fc5..7bd2fc706 100644
--- a/docs/content/docs/(features)/tools.mdx
+++ b/docs/content/docs/(features)/tools.mdx
@@ -1,6 +1,6 @@
---
title: Tools
-description: All 16 tools that give LLM processes the ability to ac... | 8 | 6 | 4 | [{"id": "G0", "claim": "The search_mailbox doc comment says results are returned newest-first across searched folders, but the implementation only sorts newest-first within each folder; either sort results across folders or tweak the comment to match.", "category": "documentation", "verdict": "supported", "priority": "... | null |
spacedriveapp__spacebot__255 | spacedriveapp/spacebot | 255 | defect | 2e63db9d026fede7034ee23155501ddb9d1c7cad | e39b9db76bba6faf8845e08031a9caedab465707 | feat: implement link channels as task delegation (v3) | ## Summary
- Replaces the stubbed `send_agent_message` tool with full cross-agent task delegation — calling it now creates a task on the target agent's task store, which the cortex picks up and executes autonomously
- Restores link channel pre-registration on startup so they appear in the UI, repurposed as audit logs ... | diff --git a/prompts/en/fragments/org_context.md.j2 b/prompts/en/fragments/org_context.md.j2
index 5df6ae616..715c08998 100644
--- a/prompts/en/fragments/org_context.md.j2
+++ b/prompts/en/fragments/org_context.md.j2
@@ -9,7 +9,7 @@ You are part of a multi-agent system. Here is your position:
{% if entry.is_human -%}
... | 11 | 4 | 2 | [{"id": "G0", "claim": "The pull request creates two task_store_registries -- one in run() handed to ApiState and another created inside initialize_agents for AgentDeps -- so the API-side registry is never populated and delegation lookups across the API/runtime boundary can fail; thread the run() registry into initiali... | null |
spacedriveapp__spacebot__327 | spacedriveapp/spacebot | 327 | defect | 7f22fcb3f9713d6f0cbb06d44bf6b668b22d0a4c | bafef6eb62ce20af81b013db8b00bc706868c7f9 | fix(worker): gate text-only exits on explicit outcome signal | ## Summary
- Workers could silently reach `Done` state without completing their task — the model would return text-only after a few tool calls and the system accepted it as a legitimate completion
- The tool nudge system only protected against cold-start text responses (`saw_tool_call` permanently disabled it after th... | diff --git a/AGENTS.md b/AGENTS.md
index ae4d945b0..093231346 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -380,7 +380,7 @@ Phase 6 — Hardening:
These are validated patterns from research (see `docs/research/pattern-analysis.md`). Implement them when building the relevant module.
-**Tool nudging:** When an LLM respon... | 4 | 1 | 1 | [{"id": "G0", "claim": "The nudge prompt wording should be aligned exactly with the worker docs and tool schema (`kind: \"outcome\"`) and `set_status` should be formatted consistently in it.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "completio... | null |
spacedriveapp__spacebot__330 | spacedriveapp/spacebot | 330 | defect | 6b3d6c08fffe2b973b5f523a522363f9625b9787 | 026e232ba627af6134f071f9ade202b2523f87b4 | fix(mcp): fix auth header handling and bump rmcp to 1.1 for stateless HTTP support | ## Summary
Fixes two issues with MCP HTTP transport connections:
1. **Auth header not sent on all requests** — The `Authorization` header was passed via `custom_headers()`, which rmcp only includes on POST requests. The initial GET/SSE request went out unauthenticated, causing 401 errors. Now extracted and passed... | diff --git a/src/mcp.rs b/src/mcp.rs
index 8f111f178..8739f463f 100644
--- a/src/mcp.rs
+++ b/src/mcp.rs
@@ -336,7 +336,12 @@ impl McpConnection {
.collect::<HashMap<_, _>>();
let mut custom_headers = HashMap::new();
+ let mut auth_header_value = None;
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Validate the Authorization header value where it is captured so a bad config fails with the same context as other headers and CR/LF edge cases are avoided.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacedriveapp__spacebot__348 | spacedriveapp/spacebot | 348 | defect | 9d39ae85966ff7c875de4c5c90f8ba8a03426bc5 | 1caa405e85fd025ea1a5dca700ce6757320d5012 | fix: browser session persistence across workers and restarts | ## Summary
- **Tabs always destroyed when workers finish**: `close_policy` defaulted to `CloseBrowser` even with `persist_session=true`, so the LLM's `close` call (prompted by the worker system prompt) killed Chrome. Fixed by auto-defaulting `close_policy` to `Detach` when `persist_session` is enabled, and conditional... | diff --git a/prompts/en/worker.md.j2 b/prompts/en/worker.md.j2
index d0b92d4f7..111f0b18f 100644
--- a/prompts/en/worker.md.j2
+++ b/prompts/en/worker.md.j2
@@ -100,7 +100,11 @@ Automate a headless Chrome browser. Use this for web scraping, testing web inter
3. `snapshot` — Get the page's accessibility tree with eleme... | 8 | 4 | 1 | [{"id": "G0", "claim": "Because persistent sessions share one stable user-data-dir, two workers calling launch concurrently can make Chrome fail to start on the profile lock even though another launch is in flight or just succeeded; the reviewer asks to serialize persistent launches or, on launch failure, re-check stat... | null |
spacedriveapp__spacebot__358 | spacedriveapp/spacebot | 358 | defect | e81b99b773845fdf0c924898f54cec9d054a586c | f56f44c975482ea555417c1445d68a31aa5762a8 | feat: worker context injection and duplicate worker spawn prevention | ## Summary
- Add context injection mechanism that lets channels deliver addendum messages to running workers mid-task, using a terminate-and-resume pattern through `SpacebotHook.on_completion_call` — no Rig framework changes needed
- Extend the `route` tool to support both interactive follow-up (`worker_inputs`) and c... | diff --git a/prompts/en/tools/route_description.md.j2 b/prompts/en/tools/route_description.md.j2
index ea1f3cbc0..6c60bff25 100644
--- a/prompts/en/tools/route_description.md.j2
+++ b/prompts/en/tools/route_description.md.j2
@@ -1 +1 @@
-Send a follow-up message to an active interactive worker.
\ No newline at end of f... | 9 | 6 | 5 | [{"id": "G0", "claim": "Routing treats the mere presence of a worker_inputs sender as proof the worker is WaitingForInput, so a running interactive worker always takes the follow-up branch and never receives mid-flight injections; gate the follow-up path on the status block (e.g. only treat as follow-up when the worker... | null |
spacedriveapp__spacebot__386 | spacedriveapp/spacebot | 386 | defect | 57dc122642958d387c5ad5ee6d327422203eb6f5 | 6d76df16f583a4cf0c3ab355e33a3b915ee14c15 | fix: harden GPT/Codex tool linkage, follow-up outcomes, and memory persistence contracts | ## Summary
- Harden OpenAI-family tool result serialization by preferring `ToolResult.call_id` over `ToolResult.id` for both chat-completions (`tool_call_id`) and Responses (`function_call_output.call_id`) in `src/llm/model.rs`.
- Tighten worker and branch completion discipline: interactive worker follow-ups now use th... | diff --git a/prompts/en/fragments/system/memory_persistence.md.j2 b/prompts/en/fragments/system/memory_persistence.md.j2
index 83fce0bed..4538816ea 100644
--- a/prompts/en/fragments/system/memory_persistence.md.j2
+++ b/prompts/en/fragments/system/memory_persistence.md.j2
@@ -1 +1 @@
-Review the recent conversation and... | 10 | 6 | 3 | [{"id": "G0", "claim": "The rejected assistant turn should be pruned from self.history before re-prompting, otherwise the failed completion stays in context and can bias subsequent retries.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When enforce... | null |
spacedriveapp__spacebot__406 | spacedriveapp/spacebot | 406 | defect | 0a97964ab9adc64c88f4e8847c788d72ab0840b0 | 8f20589aae0952c58e6fa2fe56baa004b17ed998 | fix(slack): normalize conversation ID to prevent thread splits | ## Summary
- Slack thread replies included `thread_ts` in the conversation ID (`slack:TEAM:CHANNEL:THREAD_TS`), which differed from the top-level form (`slack:TEAM:CHANNEL`). This caused the main event loop to create a second, disconnected channel for the same Slack conversation — orphaning the original worker results... | diff --git a/src/messaging/slack.rs b/src/messaging/slack.rs
index 1ba15ba43..8474810ee 100644
--- a/src/messaging/slack.rs
+++ b/src/messaging/slack.rs
@@ -238,11 +238,7 @@ async fn handle_message_event(
}
}
- let base_conversation_id = if let Some(ref thread_ts) = msg_event.origin.thread_ts {
- ... | 3 | 3 | 2 | [{"id": "G0", "claim": "With conversation IDs now per-channel, outbound routing that reads slack_thread_ts from the channel's latest_message can end up replying into the wrong thread when a worker finishes later; if this shows up in practice, pin the outbound target (thread_ts) from the triggering inbound message at en... | null |
spacedriveapp__spacedrive__2512 | spacedriveapp/spacedrive | 2,512 | defect | 0392c781d75d8f8a571ed43a61ce90e11c7d73d5 | b1ff3295f045c67f86e8226f1ff5a45e375cf9f7 | [ENG-1776] Delete cloud ops after they've been ingested | Cached sync operations from the cloud need to be deleted after they're processed, otherwise they'd build up over time. | diff --git a/core/crates/sync/README.md b/core/crates/sync/README.md
index 73791e4d7db9..596fd0fa17b3 100644
--- a/core/crates/sync/README.md
+++ b/core/crates/sync/README.md
@@ -2,8 +2,6 @@
Spacedrive's sync system. Consumes types and helpers from `sd-sync`.
-## Using Sync
-
### Creating Records
Prepare a syn... | 1 | 1 | 1 | [{"id": "G0", "claim": "The README's relation-fields example uses a non-existent field `pub_idk` on prisma_sync::object::SyncId and should read `pub_id`.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacedriveapp__spacedrive__2944 | spacedriveapp/spacedrive | 2,944 | defect | 544f4ef0636165801de779d383793087f2c35652 | ca24e8ea3cb4e14f8d6c2e02124433dc4aec30f6 | fix(security): prevent path traversal in P2P file transfers and deletions |
Add path validation to FileTransferProtocolHandler and FileDeleteProtocolHandler to prevent unauthorized file access during P2P operations.
- Add is_path_allowed() validation against registered Locations
- Add dynamic location lookup via CoreContext integration
- Add security regression tests for both protocol... | diff --git a/core/src/lib.rs b/core/src/lib.rs
index 72c8cdece56d..7449fbf8aa80 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -614,7 +614,7 @@ async fn register_default_protocol_handlers(
networking.device_registry(),
logger.clone(),
command_sender,
- data_dir,
+ data_dir.clone(),
networking... | 2 | 2 | 2 | [{"id": "G0", "claim": "get_all_allowed_paths() uses blocking_read() on a tokio RwLock and block_on() for async calls, and since is_path_allowed() is invoked from async handlers, any P2P transfer or delete request with core_context set would cause a runtime panic, completely breaking the security validation.", "categor... | null |
spacejam__sled__1229 | spacejam/sled | 1,229 | defect | 5a2f66fcc894060b21394406d92c7deb04fd33d6 | 1a8d19b4fc3ff11a19885c6eb28ed4d44071f036 | ALICE fixes | See also #1077. This branch holds the changes I've made thus far in response to issues found by ALICE. The entire test setup can be found at https://github.com/divergentdave/alice-sled, including a git submodule pointing to this branch.
Currently I'm not getting any more reports from the tool, though I haven't waite... | diff --git a/src/config.rs b/src/config.rs
index 6d2416687..fa135000a 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -558,7 +558,9 @@ impl Config {
self.get_path().join("DO_NOT_USE_THIS_DIRECTORY_FOR_ANYTHING"),
);
- self.try_lock(options.open(&self.db_path())?)
+ let file = sel... | 5 | 5 | 1 | [{"id": "G0", "claim": "Windows has no equivalent to FlushFileBuffers for directories, so the directory sync the pull request performs when opening the database will fail there and must be conditionally skipped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ... | null |
spacejam__sled__1307 | spacejam/sled | 1,307 | defect | 7811d9f71b2d2d4fb715f0444267b795a26e5751 | 3cbbec21847679997da2cd7daf21aa86d024ba38 | Add contains_tree method to the Db, related to issue 1297 | Hello guys, this is my 1st contribution to the sled embedded database. This PR is to add a method to the db struct to be able to see if there is already a tree with that name in the database. | diff --git a/src/db.rs b/src/db.rs
index 7c611c930..023cfeb88 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -470,6 +470,18 @@ impl Db {
pub fn space_amplification(&self) -> Result<f64> {
self.context.pagecache.space_amplification()
}
+
+ /// Returns a true value if one of the tree names linked
+ //... | 2 | 1 | 1 | [{"id": "G0", "claim": "The author should make a follow-up edit so contains_tree avoids iterating over the whole tenants map and instead checks whether the key exists.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Result in the contains_tree si... | null |
spacejam__sled__297 | spacejam/sled | 297 | defect | c581667ff741064273113bb0c8bea3fa28165816 | 06c31fdd76d957e1da6e4ca42f7ea423a13fe08c | put created files into a subdirectory | Resolves #240. | diff --git a/crates/pagecache/src/config.rs b/crates/pagecache/src/config.rs
index 5768f2ada..5b9762883 100644
--- a/crates/pagecache/src/config.rs
+++ b/crates/pagecache/src/config.rs
@@ -1,7 +1,7 @@
use std::fmt::Debug;
use std::fs;
use std::ops::Deref;
-use std::ffi::{OsStr, OsString};
+use std::ffi::OsString;
u... | 1 | 1 | 0 | [{"id": "G0", "claim": "Path handling would be cleaner if `path` were treated as the database directory itself — so that db_path is just `path/db`, conf_path is just `path/conf`, and snapshots live at `path/snapshot.<id>` — instead of prepending a separate dynamic `data_dir` and juggling file names.", "category": "desi... | null |
spacejam__sled__546 | spacejam/sled | 546 | defect | 5b424dab9d2a72b3bfe8757ddb0b03c17b3fc803 | 564769be325687574ed446d8aa9e38480032cc68 | Add concurrent log test | Share a log among several threads, and also share an AtomicUint counter.
Threads will attempt to successfully CAS on the counter to increment it by 1.
If this succeeds, that signals to the test complete its log reservation,
otherwise it will abort.
This counter indicates the number of sucessful writes to the s... | diff --git a/.gitignore b/.gitignore
index efeef0269..342c73404 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@ Cargo.lock
*.proptest-regressions
corpus
artifacts
+.idea
diff --git a/tests/tests/test_log.rs b/tests/tests/test_log.rs
index d6890567a..4a670c79a 100644
--- a/tests/tests/test_log.rs
+++ b/tes... | 3 | 2 | 1 | [{"id": "G0", "claim": "The final verification loop should check that each value read back from the log equals `i`, since this test is meant to validate the core ordering assumption in iobuf.rs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SUCCESS_COU... | null |
spacejam__sled__831 | spacejam/sled | 831 | defect | 0815d8eb196d29392cda791f20199f2951f88d99 | 62e1b0ca001dc99dc015e96f9d995b654edb1718 | further code improvements related to basic db primitives naming | - LogOffset makes code much much more readable and easier to understand
- because it now always divides the LSN or OFFSET by the SegmentSize | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4e1e69537..e104c81fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
## Breaking Changes
+* The `io_buf_size` renamed to the `segment_size`.
* The `io_buf_size` method has been removed from
ConfigBuilder. This can be manually set by setting
the att... | 4 | 4 | 0 | [{"id": "G0", "claim": "The SegmentId doc comment should be reworded to \"The offset of a segment. This equals its LogOffset (or the offset of any item contained inside it) divided by the configured segment_size.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "... | null |
spacejam__sled__838 | spacejam/sled | 838 | defect | 7c18c1f5d451afa18a7930a71de3d10bd9e70ec9 | 693108b235d5c785b63e029b0b66db7f3e0b6bf8 | tree::cas -> tree::compare_and_swap, CAS_OK, CompareAndSwapResult/Error | this is impl of https://github.com/spacejam/sled/issues/820
`sled_native` now compiles, not sure it works tho.
@spacejam do you have an idea of how to raise a compile error only when someone calls `cas`? | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e104c81fb..1c4b1c17c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
## Breaking Changes
+* The `cas` is deprecated in favor of `compare_and_swap`.
* The `io_buf_size` renamed to the `segment_size`.
* The `io_buf_size` method has been removed from
Co... | 3 | 2 | 1 | [{"id": "G0", "claim": "Remove the cas function rather than keeping it alongside compare_and_swap.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the CompareAndSwapError field `cur` to `current` to be more explicit.", "category": "maintainability"... | null |
spacelift-io__terraform-provider-spacelift__113 | spacelift-io/terraform-provider-spacelift | 113 | defect | ae3a9611e56f2ee4b0248a1f0563f0c986bf919a | da90d09e880207e9cab6146410afada8950ebbf0 | Add Terraform workspace support | ## Description of the change
This change adds support for setting Terraform workspace, and factors out Terraform settings into a separate block (optional for now).
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Bre... | diff --git a/README.md b/README.md
index 1d30bbc6..19602417 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,10 @@ resource "spacelift_stack" "core-infra-production" {
branch = "master"
description = "Shared production infrastructure (networking, k8s)"
repository = "core-infra"
- te... | 1 | 1 | 1 | [{"id": "G0", "claim": "Setting terraform_version should populate the vendor-specific Terraform config (so the top-level TerraformVersion field can be dropped from the API) instead of writing the top-level field.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__138 | spacelift-io/terraform-provider-spacelift | 138 | defect | ab33dcbf1e3fedb234f13a05f60460c23cf5f4d5 | b4aae9517d75dc68d258b0de648d8ca15dacf2d6 | Add Stack Destructor | ## Description of the change
> Description here
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation (... | diff --git a/spacelift/provider.go b/spacelift/provider.go
index 7f79fbb3..1b823d9a 100644
--- a/spacelift/provider.go
+++ b/spacelift/provider.go
@@ -75,6 +75,7 @@ func Provider() *schema.Provider {
"spacelift_policy_attachment": resourcePolicyAttachment(),
"spacelift_policy": resour... | 3 | 3 | 1 | [{"id": "G0", "claim": "The README has no documentation for the new stack destructor resource and the reviewer asks whether the author will add it later.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The delete mutation need not pass \"destroy\" ... | null |
spacelift-io__terraform-provider-spacelift__198 | spacelift-io/terraform-provider-spacelift | 198 | defect | 1e2b8a14933ee4308ef91ee271cd327e301f6398 | 96061ee712c12ab7901492bdf3e308cf4b79cf33 | feature: add data sources for VCS integrations | ## Description of the change
new data sources:
- `spacelift_gitlab_integration`
- `spacelift_github_enterprise_integration`
- `spacelift_bitbucker_datacenter_integration`
- `spacelift_bitbucker_cloud_integration`
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (no... | diff --git a/.github/workflows/test-prod.yml b/.github/workflows/test-prod.yml
index d4306822..2f27e036 100644
--- a/.github/workflows/test-prod.yml
+++ b/.github/workflows/test-prod.yml
@@ -21,3 +21,12 @@ jobs:
SPACELIFT_API_KEY_ID: ${{ secrets.PROD_SPACELIFT_API_KEY_ID }}
SPACELIFT_API_KEY_SECRE... | 4 | 4 | 0 | [{"id": "G0", "claim": "Rename the USERNAME field of bitbucketCloudFields to Username for consistency with the naming used in the other data sources.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Sort the newly added data source entries in Data... | null |
spacelift-io__terraform-provider-spacelift__250 | spacelift-io/terraform-provider-spacelift | 250 | defect | 71e61ab8b28b9c557bc3bcd9bf4f8c938884ba46 | fc8e31f2fee1eb0511fe68940dbf9cf19ec36e1c | Support attaching Azure integrations | ## Description of the change
We're adding support for managing Azure attachments using Terraform in this change.
There's also a minor bugfix for Azure integrations themselves (empty list of labels didn't work).
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-b... | diff --git a/.github/workflows/registry-preprod.yml b/.github/workflows/registry-preprod.yml
index 5be160ed..cac701dc 100644
--- a/.github/workflows/registry-preprod.yml
+++ b/.github/workflows/registry-preprod.yml
@@ -9,7 +9,7 @@ jobs:
registry:
name: Publish the provider to the registry
runs-on: ubuntu-l... | 1 | 1 | 1 | [{"id": "G0", "claim": "The example uses `spacelift_azure_integration_attachment.example.id` for `integration_id` where the resource should be `spacelift_azure_integration` (and likewise for the module example), so `integration_id` should reference `spacelift_azure_integration.example.id`.", "category": "documentation"... | null |
spacelift-io__terraform-provider-spacelift__354 | spacelift-io/terraform-provider-spacelift | 354 | defect | 79415ec1a6a8b9add6528415629d94dd1113515c | 1c92bb0e175ff820d739abb4b2d58ae57e34dfd7 | Add delete stack and task scheduling resource | ## Description of the change
Add delete stack and task scheduling resource.
```
resource "spacelift_scheduled_task" "task_every" {
stack_id = spacelift_stack.test.id
command = "terraform apply -auto-approve"
every = ["*/15 * * * *"]
timezone = "UTC"
}
resource "spacelift_scheduled_tas... | diff --git a/docs/data-sources/scheduling.md b/docs/data-sources/scheduling.md
new file mode 100644
index 00000000..f64f1aa1
--- /dev/null
+++ b/docs/data-sources/scheduling.md
@@ -0,0 +1,47 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_scheduling Data Source - terra... | 1 | 1 | 1 | [{"id": "G0", "claim": "The provider should also support tasks scheduled for a given timestamp, not only cron-based schedules.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__382 | spacelift-io/terraform-provider-spacelift | 382 | defect | 625c2a89479020c2654519edf807afab6b812faf | 25417cf629da6a0b92d31917190ee7171a366b9d | spacelift_stacks data source (with built-in pagination) | ## Type of change
- [x] New feature (non-breaking change that adds functionality)
## Checklists
### Development
- [x] Lint rules pass locally
- [x] The code changed/added as part of this pull request has been covered with tests
- [x] All tests related to the changed code pass in development
- [x] Example... | diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml
index e06e1d51..bb982a02 100644
--- a/.github/workflows/check-documentation.yml
+++ b/.github/workflows/check-documentation.yml
@@ -39,4 +39,5 @@ jobs:
echo "This can happen if you haven't run 'go generate' aft... | 2 | 1 | 1 | [{"id": "G0", "claim": "The newly added `git diff` output in the check-documentation workflow looks unintentional and the author should confirm it is deliberate.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new documentation says the data source... | null |
spacelift-io__terraform-provider-spacelift__391 | spacelift-io/terraform-provider-spacelift | 391 | defect | 785258f84a3963ada08e9c5c926c117d640acde6 | eeee06b48026c5c7e8e7fe46550eef850f992e2d | Notification policy and named webhooks | ## Description of the change
Will stay here until Frontend is merged, but a review before that won't hurt.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing ... | diff --git a/docs/data-sources/named_webhook.md b/docs/data-sources/named_webhook.md
new file mode 100644
index 00000000..7c6a4826
--- /dev/null
+++ b/docs/data-sources/named_webhook.md
@@ -0,0 +1,32 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_named_webhook Data So... | 7 | 7 | 5 | [{"id": "G0", "claim": "The GraphQL query operation used by the named-webhook reads should be renamed from GetOneWebhook to GetNamedWebhook.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The data-source read should return an error instead of si... | null |
spacelift-io__terraform-provider-spacelift__406 | spacelift-io/terraform-provider-spacelift | 406 | defect | ca434b1cf157b9d8c212ed3fe5d8029e0bddb34b | e0f073bbd03a6b357c0da1ed063c43837ae7a988 | Better error message when importing missing stack | ## Description of the change
The terraform import handling for stacks was reusing the `resourceStackRead()` function, which sets the ID to an empty string if no stack is found. To solve this I've pulled out query for a stack and updating the state based on a stack struct into separate functions, and I've updated the... | diff --git a/spacelift/internal/structs/stack.go b/spacelift/internal/structs/stack.go
index 57370d8e..a73b53de 100644
--- a/spacelift/internal/structs/stack.go
+++ b/spacelift/internal/structs/stack.go
@@ -138,6 +138,89 @@ func (s *Stack) VCSSettings() (string, map[string]interface{}) {
return "", nil
}
+func Pop... | 1 | 1 | 0 | [{"id": "G0", "claim": "The import error message should also suggest that the stack may exist but the user has no access to it.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__444 | spacelift-io/terraform-provider-spacelift | 444 | defect | fe4084d2038d3561f1513ace47e98992ec24b461 | 5f357645179b8b5c224ba73995f9b16b28137128 | Add stack_activator resource to terraform provider | ## Description of the change
Created a new resource for enabling/disabling Spacelift stacks. Example:
```hcl
resource "spacelift_stack" "app" {
branch = "master"
name = "Application stack"
repository = "app"
}
resource "spacelift_stack_activator" "test" {
enabled = true
stack_id = s... | diff --git a/docs/resources/stack_activator.md b/docs/resources/stack_activator.md
new file mode 100644
index 00000000..a4a31f13
--- /dev/null
+++ b/docs/resources/stack_activator.md
@@ -0,0 +1,40 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_stack_activator Resource... | 3 | 2 | 1 | [{"id": "G0", "claim": "When the queried stack is nil (the stack does not exist or is inaccessible), the activator should return an error instead of silently clearing the resource state in Read and Update.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
spacelift-io__terraform-provider-spacelift__447 | spacelift-io/terraform-provider-spacelift | 447 | defect | 6d448fb69561424c46d1042b8d46537490fe5ca1 | ec7e058191be40af5e97f7ccca416e8512dd4df3 | Add version resource | ## Description of the change
Added a version resource.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Docume... | diff --git a/spacelift/internal/structs/version.go b/spacelift/internal/structs/version.go
new file mode 100644
index 00000000..213f9fe3
--- /dev/null
+++ b/spacelift/internal/structs/version.go
@@ -0,0 +1,57 @@
+package structs
+
+type Version struct {
+ ID string `graphql:"id"`
+ Commit struct {
+ AuthorLogin st... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new Version struct in spacelift/internal/structs/version.go carries fields the resource never uses, and the reviewer would like them omitted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__473 | spacelift-io/terraform-provider-spacelift | 473 | defect | 0d9812b85cdf21ce6f7dcc05a6976b22394db4c6 | 30b32bce93661dde353429e54803c28a4d0b2db9 | Add support for user group resources | ## Description of the change
### User need
User Management is a feature that is in closed beta right now. Most of it is already implemented, but there are still some bits and pieces missing. One example of a missing bit is that the terraform provider is missing support for managing resources related to User Manag... | diff --git a/docs/resources/user_group.md b/docs/resources/user_group.md
new file mode 100644
index 00000000..a87ccb74
--- /dev/null
+++ b/docs/resources/user_group.md
@@ -0,0 +1,47 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_user_group Resource - terraform-provide... | 7 | 2 | 1 | [{"id": "G0", "claim": "The new UserGroup struct could have a more meaningful name such as UserGroupBinding or UserGroupRoleBinding.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new SpaceAccessLevel field could be named Role.", "category": "... | null |
spacelift-io__terraform-provider-spacelift__474 | spacelift-io/terraform-provider-spacelift | 474 | defect | 1e0ed0cc57e361fe5002b64c4a6d3c6abf51800b | edb77d29e9ea582589c5f50adc8551bb6fd1637f | Add support for users | ## Description of the change
This is part of "User Management" set of features. It adds to the terraform provider support for managing user mappings. See the relevant clickup issue for more details.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking chang... | diff --git a/docs/resources/user_mapping.md b/docs/resources/user_mapping.md
new file mode 100644
index 00000000..29351772
--- /dev/null
+++ b/docs/resources/user_mapping.md
@@ -0,0 +1,49 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_user_mapping Resource - terraform... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new resource should be registered as `spacelift_user`, the name used in the Spacelift UI, not `spacelift_user_mapping`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `can remove one access` test subrun is empty, leaving t... | null |
spacelift-io__terraform-provider-spacelift__495 | spacelift-io/terraform-provider-spacelift | 495 | defect | 4d3a0727330fbfc84c3e1a3aaf02dc820b8c23ae | edeededffc4b902266ce99b8cab7cc959aa4b6d0 | feat(audit-trail): add support for audit trail to terraform provider | ## Description of the change
closes: https://app.clickup.com/t/8693fq8pf
blocked on:
- ~expose id~ won't be needed:
- ~https://github.com/spacelift-io/backend/pull/6147~
- ~https://github.com/spacelift-io/backend/pull/6165~
- https://github.com/spacelift-io/backend/pull/6154
## Type of change
- ... | diff --git a/docs/resources/audit_trail_webhook.md b/docs/resources/audit_trail_webhook.md
new file mode 100644
index 00000000..7d305b74
--- /dev/null
+++ b/docs/resources/audit_trail_webhook.md
@@ -0,0 +1,38 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_audit_trail_... | 5 | 4 | 0 | [{"id": "G0", "claim": "The reviewer is unsure about creating the resource id with data.SetId(time.Now().String()), asking the author to confirm this approach.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The resource description should say \"sends POS... | null |
spacelift-io__terraform-provider-spacelift__497 | spacelift-io/terraform-provider-spacelift | 497 | defect | 4d3a0727330fbfc84c3e1a3aaf02dc820b8c23ae | 941f6d233e47e3a6afed17224f72216ac871fad4 | feat(security-email): add support for security email | ## Description of the change
related to: https://app.clickup.com/t/8693fq8dx
Adds to the terraform provider support for editing security email.
Note: the graphql api doesn't currently support deleting security email and terraform test sdk runs delete after each test
## Type of change
- [ ] Bug fix (non-b... | diff --git a/docs/resources/security_email.md b/docs/resources/security_email.md
new file mode 100644
index 00000000..9150a3fa
--- /dev/null
+++ b/docs/resources/security_email.md
@@ -0,0 +1,30 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_security_email Resource - t... | 3 | 3 | 2 | [{"id": "G0", "claim": "Making Delete always return an error gives poor UX, because a user who added the resource would have to remove it from Terraform state to delete it; the reviewer suggests updating the API to allow clearing the security email or turning delete into a no-op (possibly with a warning).", "category":... | null |
spacelift-io__terraform-provider-spacelift__498 | spacelift-io/terraform-provider-spacelift | 498 | defect | 82f2c69c9e9b738e91f54409e5fdee1a842468e3 | 71e120ee36c081618d996f3dce34bacefae27bfb | Added resource for bitbucket datacenter integration handling | ## Description of the change
Thanks to @mplushnikov for implementing this in https://github.com/spacelift-io/terraform-provider-spacelift/pull/491
We'll wait for multi vcs to be released before getting this to main.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature... | diff --git a/.github/workflows/test-prod.yml b/.github/workflows/test-prod.yml
index 59244c66..1ad08aec 100644
--- a/.github/workflows/test-prod.yml
+++ b/.github/workflows/test-prod.yml
@@ -67,6 +67,7 @@ jobs:
SPACELIFT_PROVIDER_TEST_SOURCECODE_BITBUCKETDATACENTER_SPACELEVEL_APIHOST: ${{ secrets.COMMON_SPAC... | 7 | 6 | 2 | [{"id": "G0", "claim": "One test fails because it creates a Bitbucket Datacenter default integration, which can be only one; the PR should add MultiVCS support first and test creating a non-default integration instead of the default one.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "uncle... | null |
spacelift-io__terraform-provider-spacelift__534 | spacelift-io/terraform-provider-spacelift | 534 | defect | 787a6a9f5a45a47420457b1927396ed20822325a | 0c8330f6d33863b1116d7ecc19f0e0a0d0ba348e | Handle import for users with no invitation email | ## Description of the change
- Make invitation email optional
- Handle invitation email being not provided during create
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
## Checklists
### Development
- [x] Lint rules pass locally
- [x] The code changed/added as part of this pull request h... | diff --git a/spacelift/internal/structs/user_input.go b/spacelift/internal/structs/user_input.go
index 2edfceed..0417b835 100644
--- a/spacelift/internal/structs/user_input.go
+++ b/spacelift/internal/structs/user_input.go
@@ -3,7 +3,7 @@ package structs
import "github.com/shurcooL/graphql"
type ManagedUserInviteIn... | 1 | 1 | 0 | [{"id": "G0", "claim": "The golangci gci linter reports that spacelift/resource_user.go is not gci-formatted (the github.com/shurcooL/graphql import sits in the wrong import group).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__535 | spacelift-io/terraform-provider-spacelift | 535 | defect | dec9cce9db72103f4f9d7a403f6921f7d0a3fd34 | ffc527cc9ded17ebf05c7496508486f068e50844 | feat: wait for run in resource `spacelift_run` | ## Description of the change
From [PR](https://github.com/spacelift-io/terraform-provider-spacelift/pull/522)
This PR contains an extension of the resource spacelift_run, which makes it possible to wait for the completion of a run.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
-... | diff --git a/docs/resources/run.md b/docs/resources/run.md
index 26f1cbc0..1a549729 100644
--- a/docs/resources/run.md
+++ b/docs/resources/run.md
@@ -40,7 +40,26 @@ resource "spacelift_run" "this" {
- `commit_sha` (String) The commit SHA for which to trigger a run.
- `keepers` (Map of String) Arbitrary map of values... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `// TODO: Delay must be a multiple of Timeout` comment on the retry StateChangeConf Delay field should not be left in the code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log message should say `continue_on_time... | null |
spacelift-io__terraform-provider-spacelift__566 | spacelift-io/terraform-provider-spacelift | 566 | defect | 792c386b4aff2beb8229c3a6b5e3f0db9bd0767f | 9eabb071c6f94a94c7ceab1290500bd97082e567 | feat(vcs-aggregated-checks): exposes VCS checks settings in the available VCS integrations | ## Description of the change
New:
As part of the VCS Aggregated checks epic (https://app.clickup.com/t/8694knv2g), we added support, for the new "vcs_checks" option, to the existing VCS integrations from our terraform provider.
This change affects only the exiting supported VCS integrations terraform data and reso... | diff --git a/.github/workflows/test-prod.yml b/.github/workflows/test-prod.yml
index da045a33..923c34c1 100644
--- a/.github/workflows/test-prod.yml
+++ b/.github/workflows/test-prod.yml
@@ -25,7 +25,7 @@ jobs:
- name: Test with coverage (prod - just checking it will works, no env missing etc)
run: go t... | 2 | 2 | 0 | [{"id": "G0", "claim": "Move the newly added `vcs` import next to the other `github.com/spacelift-io/terraform-provider-spacelift` imports in spacelift/resource_bitbucket_datacenter_integration_test.go.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "clai... | null |
spacelift-io__terraform-provider-spacelift__580 | spacelift-io/terraform-provider-spacelift | 580 | defect | ab02d41bb44b88782ad58895d412ef8f4f675cd6 | d22aaff3a27627cfc6a5d50002aaed2cd5f946ac | feat: add new tool versions datasource | ## Description of the change
Introduce new tool versions datasource, will list out supported tool versions for KUBECTL, OPEN_TOFU, TERRAFORM_FOSS, and TERRAGRUNT.
```hcl
data "spacelift_tool_versions" "test" {
tool = "TERRAFORM_FOSS"
}
```
## Type of change
- [ ] Bug fix (non-breaking change that fi... | diff --git a/docs/data-sources/tool_versions.md b/docs/data-sources/tool_versions.md
new file mode 100644
index 00000000..d9c47146
--- /dev/null
+++ b/docs/data-sources/tool_versions.md
@@ -0,0 +1,59 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_tool_versions Data So... | 2 | 2 | 0 | [{"id": "G0", "claim": "The description of the `tool` attribute should list the allowed values (KUBECTL, OPEN_TOFU, TERRAFORM_FOSS, TERRAGRUNT), similar to resource_stack.go.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting a hardcoded ID (\... | null |
spacelift-io__terraform-provider-spacelift__591 | spacelift-io/terraform-provider-spacelift | 591 | defect | ca71331045d75710c329782e35385c23cb3414b4 | 2f08fe2386abfa0a7bee2f7e864eb54cb31d199d | Don't recreate contexts on rename | ## Description of the change
See https://github.com/spacelift-io/terraform-provider-spacelift/issues/578
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing fu... | diff --git a/spacelift/resource_context.go b/spacelift/resource_context.go
index b26e178e..1e7cbf17 100644
--- a/spacelift/resource_context.go
+++ b/spacelift/resource_context.go
@@ -148,7 +148,6 @@ func resourceContext() *schema.Resource {
Type: schema.TypeString,
Description: "Name of the c... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a small test in resource_context_test.go covering the behaviour that a context is not recreated when it is renamed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__592 | spacelift-io/terraform-provider-spacelift | 592 | defect | ca71331045d75710c329782e35385c23cb3414b4 | e8ac1fd7247d06790ea0200fe3489f8c1f5e9f72 | feat: add `kubernete_workflow_tool` property to the kubernetes schema | ## Description of the change
Currently, users can only select custom workflow through the UI. A user has requested to be able to do it through the provider also.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Br... | diff --git a/docs/data-sources/stack.md b/docs/data-sources/stack.md
index 846e4a80..ad9aa9c8 100644
--- a/docs/data-sources/stack.md
+++ b/docs/data-sources/stack.md
@@ -153,6 +153,7 @@ Read-Only:
Read-Only:
- `kubectl_version` (String)
+- `kubernetes_workflow_tool` (String)
- `namespace` (String)
diff --git ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The test assertions added by this pull request check the attribute `kubernetes.0.kubernetes_workflow_version`, which should be `kubernetes.0.kubernetes_workflow_tool` (the name the schema actually defines).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
spacelift-io__terraform-provider-spacelift__640 | spacelift-io/terraform-provider-spacelift | 640 | defect | 23412195b09792f6e40ed23387a0b5cb48dd7e66 | 4b3b9a217ca21607d75c64951f8b9f817fd62bfc | feat: add scheduled run resource and data source | ## Summary
- Add comprehensive support for `spacelift_scheduled_run` resource and data source
- Implement support for both cron-based scheduling (`every`) and timestamp-based scheduling (`at`)
- Add runtime configuration support including environment variables, hooks, and custom settings
## Test plan
- [x] Resource t... | diff --git a/docs/data-sources/scheduled_run.md b/docs/data-sources/scheduled_run.md
new file mode 100644
index 00000000..7a5b1501
--- /dev/null
+++ b/docs/data-sources/scheduled_run.md
@@ -0,0 +1,75 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_scheduled_run Data So... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `yaml` attribute of `runtime_config` is redundant with the more detailed fields (`project_root`, `environment`, ...) and, if kept, should be mutually exclusive with them via `ConflictsWith` plus an `AtLeastOneOf` requiring at least one field; the reviewer questions exposing `yaml` at all.", ... | null |
spacelift-io__terraform-provider-spacelift__651 | spacelift-io/terraform-provider-spacelift | 651 | defect | a0fbb662d6e037116f1557269f81d09f1b0852e7 | 36f87f2091d7078051c5cc81dc8b65acfb4d4af8 | feat: add role resource and data source | ## Description of the change
As part of AAC
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not supposed to break existing functionalities)
- [ ] Breaking cha... | diff --git a/.gitignore b/.gitignore
index c614ff05..8c6fe753 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,5 +23,7 @@ key.*
# Goreleaser output directory
dist/
+.claude/settings.local.json
+
test.env
.envrc
diff --git a/docs/data-sources/role.md b/docs/data-sources/role.md
new file mode 100644
index 00000000..... | 12 | 10 | 1 | [{"id": "G0", "claim": "The data source schema should make `actions` and `is_system` mutually exclusive.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The API implementation repository should be changed so that anyone exposing additional actions is forced... | null |
spacelift-io__terraform-provider-spacelift__665 | spacelift-io/terraform-provider-spacelift | 665 | defect | 8e926f48a3eb7aeb5b63755c706a5ad9585fcb81 | a0d2fb46605075f0cadc7797ae2fb0f46a7d981e | Allow to set the retry setting in all webhooks | ## Description of the change
We've recently added this as a setting to all webhooks, so I'm not also extending the provider.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bu... | diff --git a/docs/data-sources/named_webhook.md b/docs/data-sources/named_webhook.md
index caaf0404..77e37ad0 100644
--- a/docs/data-sources/named_webhook.md
+++ b/docs/data-sources/named_webhook.md
@@ -26,5 +26,6 @@ description: |-
- `id` (String) The ID of this resource.
- `labels` (Set of String) labels for the we... | 2 | 2 | 0 | [{"id": "G0", "claim": "In resourceAuditTrailWebhookCreate the retry_on_failure value should use the existing toOptionalBool helper instead of toBool.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In resourceNamedWebhookCreate the retry_on_fail... | null |
spacelift-io__terraform-provider-spacelift__686 | spacelift-io/terraform-provider-spacelift | 686 | defect | cdffd524a0dc8c55099fc260ed1965a97283e511 | b52c26743a04d59838a84f6704334a4a6a3d1566 | Extend spacelift_role_attachment to support stack role bindings | ## Description of the change
> As per the epic we are working on, I extended the existing spacelift_role_attachment to include stack role bindings
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance... | diff --git a/docs/resources/role_attachment.md b/docs/resources/role_attachment.md
index f7c2917d..52fc04e3 100644
--- a/docs/resources/role_attachment.md
+++ b/docs/resources/role_attachment.md
@@ -4,8 +4,8 @@ page_title: "spacelift_role_attachment Resource - terraform-provider-spacelift"
subcategory: ""
description... | 5 | 3 | 2 | [{"id": "G0", "claim": "The ExactlyOneOf validation for api_key_id, idp_group_mapping_id, stack_id and user_id is only declared on api_key_id, which allows invalid configurations with multiple ID fields set, and the role_id field description omits stack as a supported attachment type.", "category": "correctness", "verd... | null |
spacelift-io__terraform-provider-spacelift__696 | spacelift-io/terraform-provider-spacelift | 696 | defect | 1de6919d495001a7e4c04db9114cb2a43a557339 | 5d808024385d4d84e15c5a951165de1079f14abd | feat: Modules data source | ## Description of the change
> Description here
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not supposed to break existing functionalities)
- [ ] Breaking... | diff --git a/docs/data-sources/modules.md b/docs/data-sources/modules.md
new file mode 100644
index 00000000..205d490b
--- /dev/null
+++ b/docs/data-sources/modules.md
@@ -0,0 +1,185 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_modules Data Source - terraform-provid... | 4 | 3 | 1 | [{"id": "G0", "claim": "Because Go maps are reference types, adding module_id to the map returned by dataModule().Schema mutates the schema shared with the spacelift_module data source and unexpectedly injects a module_id field into it.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "intr... | null |
spacelift-io__terraform-provider-spacelift__702 | spacelift-io/terraform-provider-spacelift | 702 | defect | a82428fba6df31ce3c6288e1df7d015b6c2be6dc | 53f7e6f8d8dfc48cc1fc4eb39114b64fd7bd1b9e | Add spacelift_default_runner_image resource for managing public and private worker pool default runner images | ## Description of the change
This adds a new Terraform resource that allows users to configure default runner images for public and private worker pools at the account level. The resource supports creating, reading, updating, and deleting default runner image configurations through the GraphQL API.
## Type of c... | diff --git a/docs/resources/default_runner_image.md b/docs/resources/default_runner_image.md
new file mode 100644
index 00000000..ed5d1bae
--- /dev/null
+++ b/docs/resources/default_runner_image.md
@@ -0,0 +1,32 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_default_r... | 3 | 2 | 2 | [{"id": "G0", "claim": "The Update function resets the resource ID to a new timestamp on every update, which can cause state management issues and breaks import, since Terraform IDs should remain stable after creation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
spacelift-io__terraform-provider-spacelift__708 | spacelift-io/terraform-provider-spacelift | 708 | defect | 6503dcc30bf7c6e34a6c5e2a377ffe5ecc12aafa | ac941be3e1cd119af477e9490aa09f773ca7ada2 | feat: Expose enableAutoattach fields for aws and azure integrations | ## Description of the change
> Description here
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not supposed to break existing functionalities)
- [ ] Breaking... | diff --git a/docs/data-sources/aws_integration.md b/docs/data-sources/aws_integration.md
index d2b2178e..b4c80a0f 100644
--- a/docs/data-sources/aws_integration.md
+++ b/docs/data-sources/aws_integration.md
@@ -38,6 +38,7 @@ data "spacelift_aws_integration" "example" {
### Read-Only
+- `autoattach_enabled` (Boolea... | 5 | 5 | 1 | [{"id": "G0", "claim": "The checks slice built by awsIntegrationChecks, including the newly added autoattach_enabled assertion, is never passed to CheckInList(), so none of the attribute checks in that function validate anything.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
spacelift-io__terraform-provider-spacelift__733 | spacelift-io/terraform-provider-spacelift | 733 | defect | 47e720d350a97a1b97c7f7aa494e1fa2f3ba4a7d | 30680dd3a21b509462de9616dbf79160ff9b7a89 | feat: add resource `spacelift_template_deployment` | ## Description of the change
This adds a new resource `spacelift_template_deployment`.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not supposed to break ex... | diff --git a/docs/resources/template_deployment.md b/docs/resources/template_deployment.md
new file mode 100644
index 00000000..274052ec
--- /dev/null
+++ b/docs/resources/template_deployment.md
@@ -0,0 +1,64 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "spacelift_template_dep... | 4 | 4 | 4 | [{"id": "G0", "claim": "During terraform import the Read function builds the GraphQL query from the empty computed fields deployment_id and template_id instead of parsing the composite resource ID template_id/deployment_id, which breaks import.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
spacelift-io__terraform-provider-spacelift__738 | spacelift-io/terraform-provider-spacelift | 738 | defect | 1a68f986ccd4cb21f77f8109663f7e6670a0c51f | 90caaa8fd0959f2717773a2ebcbe6e230e256ad7 | Audit trail webhook write_only secret | ## Description of the change
Added write only fields and tests for audit trail webhook resource
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not supposed to... | diff --git a/examples/resources/spacelift_audit_trail_webhook/resource.tf b/examples/resources/spacelift_audit_trail_webhook/resource.tf
index 75ec5881..bc5ffc8b 100644
--- a/examples/resources/spacelift_audit_trail_webhook/resource.tf
+++ b/examples/resources/spacelift_audit_trail_webhook/resource.tf
@@ -3,3 +3,10 @@ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The ExactlyOneOf lists are inconsistent with the codebase pattern because each mutually exclusive field's list must contain both field names for proper validation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The secret fie... | null |
spacelift-io__terraform-provider-spacelift__739 | spacelift-io/terraform-provider-spacelift | 739 | defect | e948fbefd41c9003057801cc2f337efe56124576 | 9156b953f07c9169d105def7be392b25d5dee020 | Resource mounted_file write-only | ## Description of the change
Added write-only fields for content of mounted_file resource and also added tests, fixed some of the description for audit_trail_webhook resource
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionalit... | diff --git a/docs/resources/audit_trail_webhook.md b/docs/resources/audit_trail_webhook.md
index 54031788..c47ffd82 100644
--- a/docs/resources/audit_trail_webhook.md
+++ b/docs/resources/audit_trail_webhook.md
@@ -43,7 +43,7 @@ resource "spacelift_audit_trail_webhook" "write_only_example" {
- `include_runs` (Boolean)... | 2 | 2 | 1 | [{"id": "G0", "claim": "Changing `content` from Required to Optional without an `AtLeastOneOf` constraint on `content` and `content_wo` allows a mounted file to be created with no content at all, so an `AtLeastOneOf` should be added to both fields.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
spacelift-io__terraform-provider-spacelift__740 | spacelift-io/terraform-provider-spacelift | 740 | defect | 22200da309b9469a81643d71d8c40dbfae9696ee | c02ab2ef43553dcce115d1d33fd81d31704a3a55 | Cu 869c13mrw named webhook write only | ## Description of the change
Added named_webhook resource write-only fields and added tests
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not supposed to bre... | diff --git a/docs/resources/named_webhook.md b/docs/resources/named_webhook.md
index e85cce03..eb5b89e1 100644
--- a/docs/resources/named_webhook.md
+++ b/docs/resources/named_webhook.md
@@ -24,9 +24,13 @@ description: |-
### Optional
+> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/la... | 5 | 5 | 3 | [{"id": "G0", "claim": "The ConflictsWith: []string{\"secret_wo\", \"secret_wo_version\"} constraint was added to the labels field instead of the secret field, so users are incorrectly prevented from using labels together with secret_wo/secret_wo_version and secret does not conflict with secret_wo/secret_wo_version.", ... | null |
spacelift-io__terraform-provider-spacelift__745 | spacelift-io/terraform-provider-spacelift | 745 | defect | 89bb2e8fd4eeef55abfc6551b5922013f73be44b | a83c31849a8b98595c338b38cb4e71acc4962598 | bitbucked dc integration write-only | ## Description of the change
Added write-only field for token, added tests and fixed the named_webhook update handle check for empty secret
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, ... | diff --git a/docs/resources/bitbucket_datacenter_integration.md b/docs/resources/bitbucket_datacenter_integration.md
index 65e61010..407eedd1 100644
--- a/docs/resources/bitbucket_datacenter_integration.md
+++ b/docs/resources/bitbucket_datacenter_integration.md
@@ -35,6 +35,17 @@ resource "spacelift_bitbucket_datacent... | 2 | 2 | 1 | [{"id": "G0", "claim": "The write-only-fields test repeats the whole existing integration test and just testing access_token_wo alone would probably be enough.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ForceNew on access_token_wo_version sh... | null |
spacelift-io__terraform-provider-spacelift__746 | spacelift-io/terraform-provider-spacelift | 746 | defect | 2f78ece97e13efd42ccf738c009689ffbf198a9a | c71d5352cc71d9a8189c13d07ef2d36a2b17d043 | gitlab integration write-only | ## Description of the change
Added write-only fields to gitlab_intergration resource and added tests
## Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Chore (maintenance work, dependency bumps, refactors, not suppos... | diff --git a/docs/resources/gitlab_integration.md b/docs/resources/gitlab_integration.md
index 7835793b..18999c7d 100644
--- a/docs/resources/gitlab_integration.md
+++ b/docs/resources/gitlab_integration.md
@@ -28,6 +28,15 @@ resource "spacelift_gitlab_integration" "private-example" {
user_facing_host = "https://myg... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the misspelled variable `digas` to `diags` in resourceGitLabIntegrationUpdate (and matching occurrences).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spacelift-io__terraform-provider-spacelift__771 | spacelift-io/terraform-provider-spacelift | 771 | defect | 2ed7bbb45be0e016162a8277e4761587223d5ca5 | d71fc4b50a96d639824bdf2beffef0d86a03602b | feat: add INTENT policy type support | ## Description of the change
The `INTENT` policy type is now supported in the Spacelift API but was missing from the Terraform provider's validation list. This adds it so users can create intent policies via `spacelift_policy` resources.
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x]... | diff --git a/docs/resources/policy.md b/docs/resources/policy.md
index 25d967fa..eae82eee 100644
--- a/docs/resources/policy.md
+++ b/docs/resources/policy.md
@@ -38,7 +38,7 @@ resource "spacelift_policy_attachment" "no-weekend-deploys" {
- `body` (String) Body of the policy
- `name` (String) Name of the policy - s... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test case for the new INTENT policy type should be added (e.g., in resource_policy_test.go).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacemeshos__go-spacemesh__5929 | spacemeshos/go-spacemesh | 5,929 | defect | 9aff88d54be809ac43d60e8a8b4d65359c356b87 | 6749c356fac6c8a7e23604af3674819ef242b7fb | Fix store malfeasant ATX | ## Motivation
In specific cases storing an ATX will fail if it is malicious.
## Description
`atx.AddGettingNonce` might return `nil, nil` for an invalid initial ATX. Specifically an ATX that isn't the first of an identity but references `0x000...` as its previous ATX. Such an ATX might not contain a VRF nonce ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2f1840106a..702da4659b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
See [RELEASE](./RELEASE.md) for workflow instructions.
+## Release v1.5.3
+
+### Improvements
+
+* [#5929](https://github.com/spacemeshos/go-spacemesh/pull/5929) Fix "no nonce" error ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new \"get initial atx\" error should say \"get initial atx id\" so it can be told apart from the identical error on the following atxs.Get call.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
spacemeshos__go-spacemesh__5930 | spacemeshos/go-spacemesh | 5,930 | defect | 9aff88d54be809ac43d60e8a8b4d65359c356b87 | 954f9c4b6c943c208100c57b1d3b607d39ae15fc | Check identity exists when validating malfeasance proofs | ## Motivation
Malfeasance proofs only need to be processed when the node is aware of the identities existence. Added a check for `InvalidPostIndex` and `InvalidPrevATX`.
## Description
`MultipleATXs`, `MultipleBallots`, `HareEquivocation` all check if an identity exists during validation of a malfeasance proof... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2f1840106a3..2ee6da556d7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
See [RELEASE](./RELEASE.md) for workflow instructions.
+## Release v1.5.3
+
+### Improvements
+
+* [#5930](https://github.com/spacemeshos/go-spacemesh/pull/5930) Check if identity f... | 1 | 1 | 0 | [{"id": "G0", "claim": "The name `checkIdentityExists` is confusing given the DB structure (the identities table stores malfeasance proofs, and the check runs before creating one), so the function should be renamed to something clearer like `HaveATXs`.", "category": "maintainability", "verdict": "supported", "priority"... | null |
spacemeshos__go-spacemesh__6118 | spacemeshos/go-spacemesh | 6,118 | defect | eb7bf9fac432bb6a4db287d521cf2efc3ca92d25 | a2a399ba7da949ff5e9737b44d1b91dae76df20e | [backport] api: v2alpha1: Add vesting, vault and drain vault contents to Transaction (#6112) | Adds vesting, vault, and drain vault contents to the v2alpha2 Transaction API. Fixes the 'unspecified' transaction type. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 747f4705b2..1030746e77 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ See [RELEASE](./RELEASE.md) for workflow instructions.
network traffic caused by Hare.
* [#6099](https://github.com/spacemeshos/go-spacemesh/pull/6099) Adds new metrics to the API to ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CHANGELOG entry for #6112 should be listed under Features rather than Improvements.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
spacemeshos__go-spacemesh__6496 | spacemeshos/go-spacemesh | 6,496 | defect | 7d2f6ce472a898a5894fad2768e8435f84247de0 | dd6af2dc7e2e5bd83c883a4d99f0138b34844438 | node-split: PoC Eligibilities and Proposals API in smesher service | ## Description
This pull request introduces several enhancements and new functionalities to the identity state management in the `activation` and `api/grpcserver` packages. The key changes include adding new identity states, managing proposals and eligibilities, and updating the gRPC server to handle these new funct... | diff --git a/activation/identity_states.go b/activation/identity_states.go
index afd7e8d80f..914e444a5c 100644
--- a/activation/identity_states.go
+++ b/activation/identity_states.go
@@ -38,6 +38,8 @@ const (
// atx.
IdentityStateATXReady
IdentityStateATXBroadcasted
+
+ IdentityStateProposalPublished
)
func (... | 3 | 2 | 0 | [{"id": "G0", "claim": "Eligibilities should not be set repeatedly on every proposal build mid-epoch; they can be set once, where the proofs are calculated.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The naming and semantics are inconsistent: Se... | null |
spacemeshos__go-spacemesh__6521 | spacemeshos/go-spacemesh | 6,521 | defect | 913a87a9e7cef705dc8fae638cd79c3f690f8f71 | f07873a190f6cac058add495a3b344b317b14884 | [node-split] Improve separation between server and client mode | Extracted from #6506 and repased on top of current node-split-poc branch.
See also: https://github.com/spacemeshos/pm/issues/337
| diff --git a/activation/activation.go b/activation/activation.go
index 118f768c33..e32902ea3e 100644
--- a/activation/activation.go
+++ b/activation/activation.go
@@ -112,6 +112,9 @@ type Builder struct {
signers map[types.NodeID]*signing.EdSigner
eg errgroup.Group
stop context.CancelFun... | 3 | 1 | 0 | [{"id": "G0", "claim": "Instead of adding an AlwaysSynced bool to toggle the sync-wait behavior in the Builder, pass an always-synced syncer so the Builder has no special code for node-split.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For the commitm... | null |
spacemeshos__go-spacemesh__6522 | spacemeshos/go-spacemesh | 6,522 | defect | f31f02b771bf1bf7299cc0bc30f2e95194514ace | 08731df8e21b33daca0fd5f3c989516c4b59f09a | [node-split] Extend systest with option to add split node setup | This commit can be used as a testing platform for changes provided in #6521.
Note: split node setup will always deploy non smeshing node (node-service, pod named as smesher-X wher X is the biggest number) to which there will be deployed connected n-1 smeshing/client nodes (node-client, pods named activation-X). Beca... | diff --git a/api/node/client/client.go b/api/node/client/client.go
index c7ca00f3c4..6662925f12 100644
--- a/api/node/client/client.go
+++ b/api/node/client/client.go
@@ -103,6 +103,9 @@ func (s *NodeService) PositioningATX(ctx context.Context, maxPublish types.Epoch
// Publish implements pubsub.Publisher.
func (s *N... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new single-case switch over the protocol name should be a simple if instead.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Instead of mapping the hare3 protocol name to 'hare3' on the client and reverting it on the server, th... | null |
spacemeshos__go-spacemesh__6561 | spacemeshos/go-spacemesh | 6,561 | defect | de11ad64218e95cd6708a5fd6000e217c1015b90 | 9b140f1942bbf4ddf3a7c08e18420187effe9a94 | node-split-poc: calculate eligibility on epoch's first layer | ## Description
This pull request introduces a new API endpoint to calculate eligibility slots for a given node in a specific epoch. With that smesher service can calculate eligibility proofs at the start of the epoch.
Also, fixed standalone mode.
### New API Endpoint for Eligibility Slots:
* [`api/node/clie... | diff --git a/api/node/client/client.gen.go b/api/node/client/client.gen.go
index 63870f0b8c..d1986f4f8a 100644
--- a/api/node/client/client.gen.go
+++ b/api/node/client/client.gen.go
@@ -115,6 +115,9 @@ type ClientInterface interface {
// GetActivationPositioningAtxPublishEpoch request
GetActivationPositioningAtxPu... | 3 | 3 | 1 | [{"id": "G0", "claim": "Export the Nonce field of eligibilitySlotsResp (with a suggestion block) so the client can read the nonce from the JSON response body and the custom x-spacemesh-atx-nonce header can be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
spacemeshos__go-spacemesh__6677 | spacemeshos/go-spacemesh | 6,677 | defect | d84cdc505cd54c42cf2a576475dca50d93a5bd6e | 5a39a5a860491a3143d4c6df39e7de53cf14ad0a | Added versioning to NodeService and SmesherService | It needs https://github.com/spacemeshos/api/pull/423 | diff --git a/api/grpcserver/grpcserver_test.go b/api/grpcserver/grpcserver_test.go
index 97bfac46e8..0003b3fa09 100644
--- a/api/grpcserver/grpcserver_test.go
+++ b/api/grpcserver/grpcserver_test.go
@@ -522,6 +522,8 @@ func setupSmesherService(tb testing.TB, sig *signing.EdSigner) (*smesherServiceC
10*time.Milliseco... | 5 | 5 | 4 | [{"id": "G0", "claim": "The version/commit changes threaded through the api/grpcserver (v1) Smesher service, including the cmd.Version/cmd.Commit arguments in node/node.go, shouldn't be necessary.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Updating t... | null |
spacemeshos__go-spacemesh__6700 | spacemeshos/go-spacemesh | 6,700 | defect | 4edc82c629066af17d4c119e371a841da5729018 | 505bb56f4701a86ab47ca48449e1edb0b0284f76 | Node-service returns '503 unavailable' until it is ATX-synced | ## Motivation
The node-service exposes APIs, which require it to be ATX-synced to work properly (e.g `/actvation/last_atx`).
> [!NOTE]
A similar reasoning should probably be extended to other endpoints as well.
For example, the endpoint creating proposal templates should probably also return 503 when the nod... | diff --git a/api/node/client/client_e2e_test.go b/api/node/client/client_e2e_test.go
index 3c063607c7..b9583fd702 100644
--- a/api/node/client/client_e2e_test.go
+++ b/api/node/client/client_e2e_test.go
@@ -56,8 +56,10 @@ func setupE2E(t *testing.T) (*client.NodeService, *mocks) {
listener, err := net.Listen("tcp", "... | 2 | 2 | 0 | [{"id": "G0", "claim": "Instead of passing the readiness channel around, pass the syncer as a dependency to Server and gate availability on s.sync.IsSynced(ctx) in the middleware, and consider leaving the Start method in place.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
spacemeshos__go-spacemesh__6705 | spacemeshos/go-spacemesh | 6,705 | defect | 6712378bbbae671bda0492c5810cebd8fd40c35f | 8c4b94b6e8bd17df84b9572e80aaa4d46405e3b6 | Avoid self-banning when smeshing-service publishes invalid ATX | Part of #6703
The current approach of avoiding self-ban during ATX merge won't work, because the IDs behind the smeshing-services aren't registered in the handler. Instead, we can look at the peer ID that the message comes from. If it is our local peer ID, then we know that we validate a message which we published.... | diff --git a/activation/handler.go b/activation/handler.go
index 485a169e67..497fd190cc 100644
--- a/activation/handler.go
+++ b/activation/handler.go
@@ -128,7 +128,6 @@ func NewHandler(
tortoise: tortoise,
malPublisher: legacyMalPublisher,
malPublisher2: malPublisher,
- signers: make... | 2 | 2 | 0 | [{"id": "G0", "claim": "In the self-publishing test scenarios the initial storeAtx calls should pass true (the node publishing itself) instead of false, at activation/handler_v1_test.go lines 684, 830 and 841 of S1.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
spacemeshos__go-spacemesh__6718 | spacemeshos/go-spacemesh | 6,718 | defect | 3f19d0ddc203878257d99259055401d13e5968b6 | 4334a0bd7c40b0a710b739417cda4f96536694c3 | support from, to and order in IdentitityStates API | Add support for advanced filtering in the IdentityStates API with new _optional_ filters
- `from` timestamp (inclusive)
- `to` timestamp (exclusive)
- `order` ascending|descending, ascending by default
If `from` is not set, then it is treated as from the oldest event.
If `to` is not set, then the result is capp... | diff --git a/api/grpcserver/v2beta1/smeshing_identities.go b/api/grpcserver/v2beta1/smeshing_identities.go
index 25306fddd7..cd5e4e4833 100644
--- a/api/grpcserver/v2beta1/smeshing_identities.go
+++ b/api/grpcserver/v2beta1/smeshing_identities.go
@@ -2,6 +2,7 @@ package v2beta1
import (
"context"
+ "fmt"
"gith... | 3 | 3 | 1 | [{"id": "G0", "claim": "toEventOperations should return the builder.Operations zero value instead of nil alongside a non-nil error, so the signature need not return a pointer.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test's nextTimestamp/lastTi... | null |
spacemeshos__go-spacemesh__6738 | spacemeshos/go-spacemesh | 6,738 | defect | ae050cc7d226c8f6694f93caa29b12ebd0d4fa11 | f0e34dd17873f51fe42ff696cb5b62281b74d498 | [Node-Split] Remove CORS from target when proxying | ## Motivation
When proxying requests through the smeshing service to the actual node CORS headers can be applied twice (by the node and by the smeshing service). The correct way to handle it should be to strip all CORS headers from the node and only apply the ones from the proxy/smeshing service.
## Description
... | diff --git a/api/proxy/proxy.go b/api/proxy/proxy.go
index f85fd3df2e..d16573aee3 100644
--- a/api/proxy/proxy.go
+++ b/api/proxy/proxy.go
@@ -2,10 +2,12 @@ package proxy
import (
"context"
+ "fmt"
"net"
"net/http"
"net/http/httputil"
"net/url"
+ "strings"
"time"
"github.com/grpc-ecosystem/grpc-gatew... | 1 | 1 | 1 | [{"id": "G0", "claim": "The removal of the Host overwrite before proxying should be reverted — that line is actually required.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
spacemonkeygo__monkit__43 | spacemonkeygo/monkit | 43 | defect | b76e513d94fbd66c56126b130ffafc2eb3ed10b4 | 8104ccc76c6f60a2089eac01d4e6ed37ef4a657b | http: helper methods to propagate monkit traces via HTTP calls | This pull request introduces new helper functions to propagate trace information according to the [w3c standard](https://github.com/w3c/trace-context/blob/main/spec/20-http_request_header_format.md) | diff --git a/http/client.go b/http/client.go
new file mode 100644
index 0000000..1d18748
--- /dev/null
+++ b/http/client.go
@@ -0,0 +1,30 @@
+// Copyright (C) 2022 Storj Labs, Inc.
+// See LICENSE for copying information.
+
+package http
+
+import (
+ "context"
+ "fmt"
+ "net/http"
+
+ "github.com/spacemonkeygo/monkit/... | 6 | 6 | 2 | [{"id": "G0", "claim": "responseWriterObserver should use a bool instead of a pointer to indicate whether the response has been written, which is a bit more GC friendly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper fromHeader should... | null |
spacemonkeygo__openssl__103 | spacemonkeygo/openssl | 103 | defect | 33d609e316a1cd0b4b658d66a7715ecbe5042544 | 7b5bfcecc5423f22bca4a5c5edeabaaa4b539c7e | Ed25519 key support | Added basic support for Ed25519 cert/key. The PR supports Ed25519 key generation, sign and verify. Added unit tests. Fixes issue #102 | diff --git a/AUTHORS b/AUTHORS
index 11824c45..a048c1ea 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -21,3 +21,4 @@ Stephen Gallagher <sgallagh@redhat.com>
Viacheslav Biriukov <v.v.biriukov@gmail.com>
Zack Owens <zowens2009@gmail.com>
Ramesh Rayaprolu <rarayapr@cisco.com>
+Paras Shah <parasssh@gmail.com>
diff --git a/key.g... | 1 | 1 | 1 | [{"id": "G0", "claim": "Make the Ed25519 implementation conditional on the OpenSSL library version, because EVP_PKEY_ED25519 and EVP_Digest{Sign,Verify} may not exist on 1.0.x/1.1.0 (the author agreed to fail gracefully there rather than use build tags).", "category": "correctness", "verdict": "supported", "priority": ... | null |
spack__spack__41455 | spack/spack | 41,455 | defect | a3abc1c492f2431f477a63bbccb48aa3a2d34199 | aea4597854d16bf8e33e5609614a0b8b9fb7acd5 | New subcommand `spack config scopes [-hips]` | List the scopes available in the current environment in descending priority order.
* With `-p|--path-scopes`, list only writable, file-based scopes (ignoring `command_line` and `_builtin`).
* With `-i|--included`, list only included scopes (specified in `include.yaml` or an environment `include:` clause).
* With `... | diff --git a/lib/spack/spack/cmd/config.py b/lib/spack/spack/cmd/config.py
index a3ba9b6a9dcbe5..4a27169ad86855 100644
--- a/lib/spack/spack/cmd/config.py
+++ b/lib/spack/spack/cmd/config.py
@@ -68,6 +68,18 @@ def setup_parser(subparser):
sp.add_parser("list", help="list configuration sections")
+ list_scop... | 18 | 17 | 4 | [{"id": "G0", "claim": "The mutually exclusive group on the `--file` and `--non-platform` options is unjustified and should be removed so the options can be combined.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The outputs shown in the PR description ... | null |
spack__spack__44872 | spack/spack | 44,872 | defect | fff126204ceee5cc8474ad9c21859009cba241a1 | a188d335c0f6549283cf9c563379d2560b86e5af | Port env mods tests to Windows | <!--
Remember that `spackbot` can help with your PR in multiple ways:
- `@spackbot help` shows all the commands that are currently available
- `@spackbot fix style` tries to push a commit to fix style issues in this PR
- `@spackbot re-run pipeline` runs the pipelines again, if you have write access to the reposit... | diff --git a/lib/spack/spack/test/data/sourceme_first.bat b/lib/spack/spack/test/data/sourceme_first.bat
new file mode 100644
index 00000000000000..d1311d45270413
--- /dev/null
+++ b/lib/spack/spack/test/data/sourceme_first.bat
@@ -0,0 +1,10 @@
+@echo off
+rem C:\lib\spack\spack\test\data
+rem
+rem Copyright 2013-2024 ... | 11 | 9 | 3 | [{"id": "G0", "claim": "The Windows test data file should use absolute Windows style paths (e.g. C:\\path\\first) rather than \\path\\first.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The begin_esc helper should be renamed to shell_extension, since ... | null |
spack__spack__45800 | spack/spack | 45,800 | defect | 99bc917a4f7ddf468478d2ce963d4240c6ad3a32 | 6cb30ac4653b3ed23da0f95a06a6a6bc1512f272 | concretization: improve error messages for requirements | This is intended to test out concretization error messages. Each test culminates in a concretization attempt that must fail (because the problem is over-constrained by design).
Some of these tests add constraints to package definitions, and some add requirements to configuration. The error messages vary in quality ... | diff --git a/lib/spack/spack/solver/asp.py b/lib/spack/spack/solver/asp.py
index 314fe0aceebf9c..60b7960ff8f22a 100644
--- a/lib/spack/spack/solver/asp.py
+++ b/lib/spack/spack/solver/asp.py
@@ -2106,11 +2106,16 @@ def emit_facts_from_requirement_rules(self, rules: List[RequirementRule]):
# else: f... | 6 | 5 | 3 | [{"id": "G0", "claim": "The cause-chaining changes in error_messages.lp are not essential to the PR and the commented-out `attr(...)` conditions are redundant, so this experimental code should be cleaned up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
spack__spack__49589 | spack/spack | 49,589 | defect | 8823c57b726749d8921175a923d84157a29e1891 | b99744fca0b3dd104828a76c8299b5ff8741cfe0 | Concretization Cache: Refactor + manifest testing | #48198 Introduces the concretization cache, and associated manifest. However it only added testing for the cache itself, not the manifest or cleanup procedures.
This PR:
- [x] Adds tests for the manifest and cleanup
- [x] Refactors the manifest to update correctly
- [x] Refactors the cache to store base32 hashe... | diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py
index 4fa8691409447e..3343bb90ac59d2 100644
--- a/lib/spack/llnl/util/filesystem.py
+++ b/lib/spack/llnl/util/filesystem.py
@@ -2891,7 +2891,7 @@ def temporary_file_position(stream):
@contextmanager
-def current_file_position(stream... | 10 | 10 | 4 | [{"id": "G0", "claim": "The manifest's in-place mutation does not work because entry lines are variable-length: when a line grows, the write overwrites the newline character and corrupts the file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The m... | null |
spack__spack__50094 | spack/spack | 50,094 | defect | 77b5990f75ccab241f79a44f0970b46f1d5adee4 | e7e631efff37ce6fad8ad77ed2fc740d6b11a468 | ci: skip "untouched pruning" if no relevant packages were modified | <!--
Remember that `spackbot` can help with your PR in multiple ways:
- `@spackbot help` shows all the commands that are currently available
- `@spackbot fix style` tries to push a commit to fix style issues in this PR
- `@spackbot re-run pipeline` runs the pipelines again, if you have write access to the reposit... | diff --git a/lib/spack/spack/ci/__init__.py b/lib/spack/spack/ci/__init__.py
index 5f6598fc060f51..0b8f7b3f255007 100644
--- a/lib/spack/spack/ci/__init__.py
+++ b/lib/spack/spack/ci/__init__.py
@@ -4,6 +4,7 @@
import base64
import codecs
+import functools
import json
import os
import pathlib
@@ -25,6 +26,7 @@
... | 15 | 7 | 1 | [{"id": "G0", "claim": "Use `git rev-parse --git-dir` instead of `--show-toplevel`, which the reviewer considered too new a git feature.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the leftover debug `print(path)` statement from `get_git_root`.",... | null |
spack__spack__50697 | spack/spack | 50,697 | defect | e4d4f6cbc8b4458dcc480224b30dd5d250aa0174 | c4b97c4e053361f8fe6a1ec038619667fb18cbf7 | stages: add unique patch stages per build | Fixes #50696.
Fixes #50698.
Fixes #22386.
There were two problems with the way we were setting up patch stages:
1. Patch stages are not unique to the bulids they belong to, despite the fact that builds want to (exclusively) lock them; and
2. Locks were not being taken correctly on patch stages -- in particular, ... | diff --git a/lib/spack/spack/cmd/reindex.py b/lib/spack/spack/cmd/reindex.py
index 5ebda07cef8e1b..961bef3a42b3e3 100644
--- a/lib/spack/spack/cmd/reindex.py
+++ b/lib/spack/spack/cmd/reindex.py
@@ -16,10 +16,17 @@
def reindex(parser, args):
current_index = spack.store.STORE.db._index_path
- if os.path.isfil... | 5 | 3 | 2 | [{"id": "G0", "claim": "Installing packages with shared URL patches fails with crashes (AttributeError: 'function' object has no attribute 'expanded', TypeError: expected str, bytes or os.PathLike object, not NoneType, FileNotFoundError moving the cached patch, AssertionError: Expected one file in stage source path, fo... | null |
spack__spack__50708 | spack/spack | 50,708 | defect | 2d6a5fe616ad4af8fed2ea11fbfbc57b72b3cad7 | f874cedd2fb20646a83714db8aa50970620ef197 | Implement FIFO jobserver support | With the addition of #47590, multiple packages can build concurrently within the same Spack instance. However, job allocation is currently limited to the fixed amount of jobs that we isolate to each package, leading to suboptimal resource allocation and performance.
This PR will implement the GNU Make Jobserver, en... | diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 62093e9d1d2cbc..f5e2659aadb0ed 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -587,13 +587,7 @@ def set_package_py_globals(pkg, context: Context = Context.BUILD):
jobs = s... | 9 | 6 | 2 | [{"id": "G0", "claim": "Because the jobserver type is determined once for the whole install DAG, a build dependency on python (which ninja needs) could disable the jobserver for the entire build, which the reviewer calls a potentially big limitation.", "category": "design", "verdict": "opposed", "priority": "P3", "scop... | null |
spack__spack__50868 | spack/spack | 50,868 | defect | 138cd05d48fed54019fcf89b583b476fde36f9cb | 30e4fa4f27a1a4e5e478825e7f88aef63ef546f4 | Add `spack repo update` command | This PR introduces a new spack repo update command that allows users to update remote Git repositories and switch between branches, tags, or commits in their Spack repository configuration.
```bash
# Update all remote repositories
spack repo update
# Update specific repositories
spack repo update my-repo anoth... | diff --git a/lib/spack/spack/cmd/env.py b/lib/spack/spack/cmd/env.py
index 1181c2da07f7c6..59c5b51194bffd 100644
--- a/lib/spack/spack/cmd/env.py
+++ b/lib/spack/spack/cmd/env.py
@@ -290,7 +290,7 @@ def create_temp_env_directory():
def _tty_info(msg):
"""tty.info like function that prints the equivalent printf ... | 9 | 8 | 5 | [{"id": "G0", "claim": "The new _init_git_repo should avoid invoking git with `-C` because older git versions don't support that flag.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "repo_update should build the descriptors with spack.repo.RepoDescri... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.