feat: expand module workflows, dynamic config, notifications and console API

This commit is contained in:
wangyunlong committed 2026-09-04 09:49:37 +08:00
1 parent 8df5266abb
commit b124d757b0
309 files changed
+89357 -6231

No files matched your search

+17
View File
@@ -94,6 +94,23 @@ class EffectLedger:
)
return claim
def status(
self,
*,
workflow_id: str,
business_date: str,
step_id: str,
) -> str | None:
"""Read one effect receipt without changing its state."""
_validate(workflow_id, business_date, step_id, "effect-inspection")
effect_id = _effect_id(workflow_id, business_date, step_id)
with self._lock(effect_id):
path = self._path(effect_id)
if not path.is_file():
return None
return str(self._read(path)["status"])
def mark_applied(self, claim: EffectClaim) -> None:
self._finish(claim, status="applied", reason=None)