Skip to content

fix(llc): deferred review findings from #21090 #21338

Open

Description

@mrveiss

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.

References: train PR #21323, member PR #21090, issue #21045.

Activity

  1. added
    bugSomething isn't working
    area: company-osWave 4 · cluster A — Company OS & LLC canvas
    phase:M2.3Goals and work hierarchy
    on Nov 11, 2026
  2. mrveiss commented on Nov 11, 2026

    @mrveiss
    OwnerAuthor

    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.
  3. mrveiss commented on Nov 11, 2026

    @mrveiss
    OwnerAuthor

    Member PR #21090 landed in #21323 (a0cfcc1), so these items now apply to main.

  4. added
    needs-structureMissing goal milestone, matching phase label or native parent (#19522)
    on Nov 12, 2026
  5. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    needs-structure: this issue is missing:

    • a native parent issue (add one, or write Parent: #N in the body), unless this is an umbrella with sub-issues

    The label clears on the next issue event once all three are present (#19522).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: company-osWave 4 · cluster A — Company OS & LLC canvasbugSomething isn't workingfrontendneeds-structureMissing goal milestone, matching phase label or native parent (#19522)phase:M2.3Goals and work hierarchy

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions