oliver-zehentleitner / maity
hub: ticker: the release item's version, dedupe key and facts built once (routes/ticker and ticker.release must keep deduplicating each other)
tsk-3rr59xtvmkmd Open
Audit round 3b (tsk-hgnbapyw7hnh), read at 80fef076. Kind: duplication.
What is wrong
hub/src/maity_hub/routes/ticker.py:168-172andhub/src/maity_hub/ticker.py:465-483both computeversion = (card.release_data or {}).get("version") or card.release_version or "", the keyrelease:{version}and therelease/tasksfacts. If one copy changes, a manual release post and the automatic release item stop deduplicating each other (§17.7).
Proposal
ticker.release_facts(card) -> (key, facts)used by both.
Effort / risk: S. Low.