Skip to content

✨ NATS server#231

Merged
aleksul merged 1 commit intomainfrom
nats
Apr 13, 2026
Merged

✨ NATS server#231
aleksul merged 1 commit intomainfrom
nats

Conversation

@aleksul
Copy link
Copy Markdown
Owner

@aleksul aleksul commented Apr 12, 2026

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 12, 2026

Deploying repid with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3079b0d
Status: ✅  Deploy successful!
Preview URL: https://e678e646.repid.pages.dev
Branch Preview URL: https://nats.repid.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 12, 2026

Coverage Report

Name Stmts Miss Cover Missing
TOTAL 7369 0 100%

98 files skipped due to complete coverage.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds NATS (JetStream) as a supported message broker connection in repid, along with integration test coverage and CI/test-container wiring.

Changes:

  • Introduce NatsServer, NatsSubscriber, and NatsReceivedMessage implementations for publish/subscribe, ack/nack/reject, and reply.
  • Add a NATS Docker test container + nats_connection fixture and include it in the integration test matrix.
  • Add NATS-specific integration tests and an optional dependency group for nats-py.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
repid/connections/nats/message_broker.py New NATS/JetStream server + subscriber + received-message implementation.
repid/connections/nats/__init__.py Export NatsServer from the new NATS connection package.
repid/connections/__init__.py Conditionally expose NatsServer when nats is installed.
tests/integration/conftest.py Add NATS container + nats_connection fixture and include it in the parametrized integration setup.
tests/integration/test_nats_specific.py Add integration tests covering NATS publish/subscribe and edge cases.
pyproject.toml Add nats optional dependency (nats-py).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aleksul aleksul force-pushed the nats branch 3 times, most recently from 89703e2 to adef69f Compare April 13, 2026 01:13
@aleksul aleksul merged commit 848edde into main Apr 13, 2026
13 checks passed
@aleksul aleksul deleted the nats branch April 13, 2026 01:24
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.

2 participants