You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(llc): deferred review findings from #21090 #21338
Review findings on merge train #21323 for member PR #21090 that could not be changed inside the train. Each was checked against the code and is valid.
autobot-frontend/src/composables/useLlcCompanyNotices.ts:100 - one deduper lives across companyId changes, so a company-wide warning from company B inside the window is suppressed by company A's; recreate the deduper when the subscription changes.
useLlcCompanyNotices.ts:112 - heartbeat_missed with and without reason: 'recovery_unfiled' share one dedupe key, so the recovery warning can be swallowed; include the resolved notice key in the dedupe key.
repo_tests/llc_notices_wired_21045_test.py:14 - the wiring guards have no passing/failing contrast fixtures, and the layout guard accepts an import and call that sit inside comments; check real wiring and add fixtures.
The related payload-nesting finding (useLlcCompanyNotices.ts:111, producer fields live under payload.payload) is a behaviour defect and is tracked on the train PR, not here.
Two more deferred items for #21090, from the delta review of its envelope fix (head ccd68fc):
autobot-frontend/src/composables/useLlcCompanyNotices.ts (dedupe key, around lines 103-109): the key is type|agent and omits reason, so a second heartbeat_missed with a different reason for the same agent inside the dedupe window is merged with the first. Include the reason in the key and extend the dedupe test to cover it (the test title already says "agent and reason").
Backend contract test: test_notification_router.py pins only company_id and entity_id of the published envelope. The frontend depends on the producer fields being nested under the envelope payload; add an assertion that pins that nesting so a change to the envelope shape fails a backend test.
Activity
mrveiss commentedon Nov 11, 2026
Two more deferred items for #21090, from the delta review of its envelope fix (head ccd68fc):
autobot-frontend/src/composables/useLlcCompanyNotices.ts(dedupe key, around lines 103-109): the key istype|agentand omitsreason, so a secondheartbeat_missedwith a different reason for the same agent inside the dedupe window is merged with the first. Include the reason in the key and extend the dedupe test to cover it (the test title already says "agent and reason").test_notification_router.pypins onlycompany_idandentity_idof the published envelope. The frontend depends on the producer fields being nested under the envelopepayload; add an assertion that pins that nesting so a change to the envelope shape fails a backend test.mrveiss commentedon Nov 11, 2026
Member PR #21090 landed in #21323 (a0cfcc1), so these items now apply to main.
github-actions commentedon Nov 12, 2026
needs-structure: this issue is missing:Parent: #Nin the body), unless this is an umbrella with sub-issuesThe label clears on the next issue event once all three are present (#19522).