Skip to content

Commit 26e1a58

Browse files
author
Symbiont OSS Sync
committed
Fix Docker build stub and clippy derivable_impls lint
1 parent 2341173 commit 26e1a58

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ COPY crates/repl-lsp/Cargo.toml ./crates/repl-lsp/
4646
RUN mkdir -p src crates/dsl/src crates/runtime/src/bin \
4747
crates/channel-adapter/src \
4848
crates/repl-core/src crates/repl-proto/src \
49-
crates/repl-cli/src crates/repl-lsp/src && \
49+
crates/repl-cli/src crates/repl-lsp/src \
50+
examples && \
5051
echo "fn main() {}" > src/main.rs && \
52+
echo "fn main() {}" > examples/native-execution-example.rs && \
5153
echo "fn main() {}" > crates/dsl/src/main.rs && \
5254
echo "" > crates/dsl/src/lib.rs && \
5355
echo "fn main() {}" > crates/runtime/src/bin/symbiont_mcp.rs && \

crates/runtime/src/secrets/auditing.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,16 @@ use tokio::fs::OpenOptions;
1313
use tokio::io::AsyncWriteExt;
1414

1515
/// Controls whether audit failures block secret operations
16-
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
16+
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
1717
#[serde(rename_all = "lowercase")]
1818
pub enum AuditFailureMode {
1919
/// Block the secret operation if audit logging fails (production default)
20+
#[default]
2021
Strict,
2122
/// Log a warning and allow the operation to proceed
2223
Permissive,
2324
}
2425

25-
impl Default for AuditFailureMode {
26-
fn default() -> Self {
27-
Self::Strict
28-
}
29-
}
30-
3126
/// Errors that can occur during audit operations
3227
#[derive(Debug, Error, Clone, Serialize, Deserialize)]
3328
pub enum AuditError {

0 commit comments

Comments
 (0)