From 68ee4593e3674ba74a468e16f6bc1f17abda26c6 Mon Sep 17 00:00:00 2001 From: graphlemon Date: Fri, 7 Aug 2026 14:08:41 +0800 Subject: [PATCH] graphlemon: test_dataset artifact for task 911861fe-446a-4bab-8b69-b4872b92d616 --- .graphlemon/runs/911861fe-446a-4bab-8b69-b4872b92d616/test_dataset.txt | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) create mode 100644 .graphlemon/runs/911861fe-446a-4bab-8b69-b4872b92d616/test_dataset.txt diff --git a/.graphlemon/runs/911861fe-446a-4bab-8b69-b4872b92d616/test_dataset.txt b/.graphlemon/runs/911861fe-446a-4bab-8b69-b4872b92d616/test_dataset.txt new file mode 100644 index 0000000..d32323d --- /dev/null +++ b/.graphlemon/runs/911861fe-446a-4bab-8b69-b4872b92d616/test_dataset.txt @@ -0,0 +1,8 @@ +The graphlemon Work Node (planner) workflow finished. It produced a benchmark/test dataset artifact: **deploy_stage_concurrency_mutex_status_matrix** — a matrix mapping every `deployment.status` enum value (from `src/schema.py`'s CHECK constraint) to the expected allow/reject outcome of a subsequent `stage_deployment()` call, derived from the `ux_deployment_active` partial unique index's exclusion set (`status NOT IN ('finalized', 'rolled_back', 'blocked_pending_human')`). + +Key points from the result: +- Only 3 prior statuses allow a new stage: `finalized`, `rolled_back`, `blocked_pending_human` (plus the bootstrap case of no prior row). +- All other statuses — including failure-ish ones like `health_check_failed` and `rollback_failed`, which are *not* in the index's exclusion set — must still reject with `ConcurrentDeploymentError`, not a bare `sqlite3.IntegrityError`. +- Additional assertions: rejected calls must not insert a new `deployment` row or launch any candidate checkout/subprocess; allowed calls must produce the existing `staged -> candidate_starting` progression and return shape. + +No files were modified — this was a planning/dataset-generation artifact. Let me know if you'd like this turned into an actual test file or artifact commit. \ No newline at end of file -- libgit2 0.21.4