fix(7729): a rule with no statement keeps its full line, and the delivery test flushes like a door
CI & Build / TypeScript typecheck (push) Successful in 38s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 1m56s
CI & Build / integration (push) Successful in 2m8s
CI & Build / Build & push image (push) Successful in 33s
CI & Build / TypeScript typecheck (push) Successful in 38s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 1m56s
CI & Build / integration (push) Successful in 2m8s
CI & Build / Build & push image (push) Successful in 33s
A first mention whose rule had an empty statement fell through to the reference form and lost its "may apply <where>" — for a trigger-fired rule, the very clause that says which trigger fired. The full form now renders with or without a statement. The integration helper flushes the request buffer, as a door does once its payload is fitted. using-grimoire trimmed back to its 350-line budget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,10 @@ async def _rows(uid: int) -> list[RuleDelivery]:
|
||||
|
||||
|
||||
async def _record(uid, sid, source, lines):
|
||||
# A bound request's rows wait for the door's payload; flushing all of
|
||||
# them is what a door does when every line it rendered was kept.
|
||||
rule_deliveries.record(uid, sid, source, lines)
|
||||
rule_deliveries.flush()
|
||||
await background.drain()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user