Add findings_stale field to GraphPlanningRoadmapArtifact and update ProgressionGraphEditor for state management
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 45s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m34s
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 45s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m34s
- Introduced `findings_stale` field in `GraphPlanningRoadmapArtifact` to track the freshness of findings. - Updated `ProgressionGraphEditor` to manage `findingsStale` state across various functions, ensuring accurate representation of evaluation status. - Modified related utility functions and tests to accommodate the new state, enhancing overall functionality and user feedback in the progression graph management process.
This commit is contained in:
1 parent
5e5f4ca8d4
commit
7265cd5a01
4 files changed
+38
-24
No files matched your search
@@ -57,3 +57,15 @@ def test_normalize_slot_contents():
|
||||
)
|
||||
assert len(out["slot_contents"]) == 2
|
||||
assert out["slot_contents"][1]["primary"]["kind"] == "proposal"
|
||||
|
||||
|
||||
def test_normalize_planning_roadmap_with_findings_stale():
|
||||
out = normalize_planning_roadmap_payload(
|
||||
{
|
||||
"goal_query": "Mae Geri",
|
||||
"last_findings": {"overall_ok": False},
|
||||
"findings_stale": True,
|
||||
}
|
||||
)
|
||||
assert out["findings_stale"] is True
|
||||
assert out["last_findings"]["overall_ok"] is False
|
||||
Reference in new issue
Block a user