mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
fix(ci): stabilize snapshot test and double CLI test timeout
- Add [GRAPH_PATH] filter to run_output_filters so dry_run_simple snapshot is path-independent - Double fabro-cli slow-timeout (3s → 6s) to prevent ps test timeouts - Preserve cloud sandboxes; bump snapshot to fabro-v7 with 8 CPU / 16GB Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
af408dc66c
commit
79fee95c97
4 changed files with 9 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ leak-timeout = "500ms"
|
|||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-cli)"
|
||||
slow-timeout = { period = "3s", terminate-after = 4 }
|
||||
slow-timeout = { period = "6s", terminate-after = 4 }
|
||||
|
||||
[[profile.default.overrides]]
|
||||
filter = "package(fabro-server)"
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ auto_stop_interval = 30
|
|||
repo = "fabro-sh/fabro"
|
||||
|
||||
[run.sandbox.daytona.snapshot]
|
||||
name = "fabro-v6"
|
||||
cpu = 4
|
||||
memory = "8GB"
|
||||
name = "fabro-v7"
|
||||
cpu = 8
|
||||
memory = "16GB"
|
||||
disk = "20GB"
|
||||
dockerfile = """
|
||||
FROM ubuntu:24.04
|
||||
|
|
|
|||
|
|
@ -645,7 +645,7 @@ fn dry_run_simple() {
|
|||
----- stdout -----
|
||||
----- stderr -----
|
||||
Workflow: Simple (4 nodes, 3 edges)
|
||||
Graph: [TEMP_DIR]/simple.fabro
|
||||
Graph: [GRAPH_PATH]
|
||||
Goal: Run tests and report results
|
||||
|
||||
Run: [ULID]
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@ pub(crate) use fabro_json_snapshot;
|
|||
pub(crate) fn run_output_filters(context: &TestContext) -> Vec<(String, String)> {
|
||||
let mut filters = context.filters();
|
||||
filters.push((r"\b\d+ms\b".to_string(), "[TIME]".to_string()));
|
||||
filters.push((
|
||||
r"(?m)^(Graph: ).+$".to_string(),
|
||||
"${1}[GRAPH_PATH]".to_string(),
|
||||
));
|
||||
filters
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue