Skip to content

The Repositories end-to-end test expects the dashboard's consumer on each join - #185

Merged
zlareb1 merged 5 commits into
mainfrom
fix/repositories-e2e-consumer
Nov 3, 2026
Merged

zlareb1 merged 5 commits into
mainfrom
fix/repositories-e2e-consumer

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Related: #169

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

Not required.

Why

The dashboard stamps consumer: "loom-ui" on every registry op it calls, so usage reports leave out a person's reads through it (asDashboardCall in frontend/src/api.ts). The Repositories end-to-end test still expected the namespace.join bodies without it, and fails on main in the frontend job (e2e/repositories.spec.ts:127). The join expectations now include the field the dashboard sends, and each one checks the whole list of recorded joins, so a second join from one click fails the test.

Scope and risk

One test file. No product code changes.

Compatibility, rollout and rollback

  • Wire: none.
  • Operator steps: none.
  • Rollback: reverting brings the failing expectation back.

Tests

E2E_PORT=<free port> npx playwright test e2e/repositories.spec.ts --retries=0 in frontend/: 7 passed. CI's frontend job (vitest, axe and the whole Playwright suite) passed on this head, ed061e6 (run 41577403966).

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated (an agent wrote most of the diff): Claude Code; checked against the request body asDashboardCall builds and ran the spec.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • make format-check, make lint, make typecheck and make test-unit pass; the integration suite passes if server behaviour changed.
  • (none in this diff) Generated files are regenerated in this PR, not by hand: the SDK op tables, docs/reference/configuration.md and the docs/reference/ tables (python scripts/codegen/docs_reference.py), the reach manifest, schemas/schema.sql (make schema-dump) and the Codex plugin copies (python3 scripts/codegen/agent_plugin_sync.py).
  • (none in this diff) A new migration is additive and numbered after the latest on main; no merged migration is edited.
  • (none in this diff) A behaviour change to any file a plugin ships (hooks/, lib/, bin/, skills/, .mcp.json, the Codex plugin-defaults.json) bumps both plugin manifests' version, and no other open PR uses that version.
  • The frontend builds (npm --prefix frontend run build) and its tests pass, if frontend/ changed.
  • Docs under docs/ describe the system as it now is, and this description names any operator steps and wire changes.
  • Repository text has no dates, people, host names, internal namespaces, ticket or decision numbers; the history goes in this description (tests/unit/test_public_copy.py).
  • Commits are signed off (git commit -s), as CONTRIBUTING.md asks.

🤖 Generated with Claude Code

@zlareb1
zlareb1 force-pushed the fix/repositories-e2e-consumer branch from ee76071 to 30b4e43 Compare November 3, 2026 03:51
zlareb1 and others added 5 commits November 3, 2026 04:18
…each join

Every registry op the dashboard calls carries consumer loom-ui; the four namespace.join expectations now include it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ture builds them

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 force-pushed the fix/repositories-e2e-consumer branch from 30b4e43 to ed061e6 Compare November 3, 2026 04:18
@zlareb1
zlareb1 merged commit fb104b1 into main Nov 3, 2026
21 of 22 checks passed
@zlareb1
zlareb1 deleted the fix/repositories-e2e-consumer branch November 3, 2026 04:58
@pufit pufit mentioned this pull request Nov 4, 2026
9 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant