Skip to content

Add notify no-op to indexing-event-sink-test DBAdapter mocks#4682

Merged
habdelra merged 1 commit intomainfrom
worktree-fix-indexing-event-sink-types
May 6, 2026
Merged

Add notify no-op to indexing-event-sink-test DBAdapter mocks#4682
habdelra merged 1 commit intomainfrom
worktree-fix-indexing-event-sink-types

Conversation

@habdelra
Copy link
Copy Markdown
Contributor

@habdelra habdelra commented May 6, 2026

Summary

  • Two inline DBAdapter mocks in packages/realm-server/tests/indexing-event-sink-test.ts were missing the notify(channel, payload) method that became required when cross-instance NOTIFY moved behind the adapter (Move cross-instance NOTIFY behind DBAdapter.notify #4672).
  • lint:types was failing on main with TS2741 at lines 18 and 362. Fix matches the no-op convention already used in prerender-proxy-test.ts:23 and screenshot-card-test.ts:27.

Failing run: https://github.com/cardstack/boxel/actions/runs/25434674745/job/74609409700

Test plan

  • CI Lint job passes (Lint Realm Server step in particular)

🤖 Generated with Claude Code

DBAdapter gained a required `notify(channel, payload)` method when
cross-instance NOTIFY moved behind the adapter (PR #4672). The two
inline mocks in indexing-event-sink-test.ts predated that change and
were missed in the refactor, breaking lint:types on main with TS2741.

Match the no-op convention already used by prerender-proxy-test.ts
and screenshot-card-test.ts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@habdelra habdelra requested a review from a team May 6, 2026 14:42
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Host Test Results

    1 files      1 suites   1h 46m 44s ⏱️
2 565 tests 2 550 ✅ 15 💤 0 ❌
2 584 runs  2 569 ✅ 15 💤 0 ❌

Results for commit 21a7042.

Realm Server Test Results

    1 files      1 suites   16m 49s ⏱️
1 256 tests 1 256 ✅ 0 💤 0 ❌
1 334 runs  1 334 ✅ 0 💤 0 ❌

Results for commit 21a7042.

@habdelra habdelra merged commit c4ebece into main May 6, 2026
66 checks passed
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.

3 participants