Skip to content

[fix] Point the watchdog collapse test at its own database - #6567

Merged
mmabrouk merged 1 commit into
feat/session-controlfrom
fix/session-control-coderabbit-2
Sep 5, 2026
Merged

[fix] Point the watchdog collapse test at its own database#6567
mmabrouk merged 1 commit into
feat/session-controlfrom
fix/session-control-coderabbit-2

Conversation

@mmabrouk

@mmabrouk mmabrouk commented Sep 5, 2026

Copy link
Copy Markdown
Member

Context

test_c opened its raw sweep connections against the base database instead of the fixture-created database. This could pollute operator data and made the heartbeat wait time out. The fixture now exposes its generated database name, and the raw sweep and observer connections use it directly.

Tests

  • The full watchdog collapse persistence test file passes: 3 tests in 3.59 seconds.
  • test_c completes its call phase in 0.09 seconds.
  • Base session table counts stayed unchanged, and no scratch database remained.

https://claude.ai/code/session_0164kzT6ttwpBtzvcDC6YzYk

Expose the fixture-generated database name to the concurrency test. Connect the raw sweep and observer clients to that isolated database.

Claude-Session: https://claude.ai/code/session_0164kzT6ttwpBtzvcDC6YzYk
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agenta-documentation Ready Ready Preview Sep 5, 2026 7:27am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • release/.*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Team

Run ID: a6bc66cb-2ee4-4953-8873-b7b23ebe5d24

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-09-05T09:13:46.147Z

@mmabrouk
mmabrouk merged commit 8620107 into feat/session-control Sep 5, 2026
66 of 67 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.

1 participant