Skip to content

fix(docker): declare unstract-network in dev essentials compose - #2373

Open
Tyagiquamar wants to merge 1 commit into
Zipstack:mainfrom
Tyagiquamar:fix/2261-essentials-compose-network
Open

Tyagiquamar wants to merge 1 commit into
Zipstack:mainfrom
Tyagiquamar:fix/2261-essentials-compose-network

Conversation

@Tyagiquamar

Copy link
Copy Markdown

What

Standalone docker-compose-dev-essentials.yaml now names the default network
unstract-network so Traefik and services match the full stack compose file.

Fixes Zipstack#2261
@sonarqubecloud

Copy link
Copy Markdown

@greptile-apps

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

via Greptile

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The change is limited to the local development stack’s network setup.

The PR appears safe to merge, with a non-blocking gap in when CI runs the new regression tests.

Fix All in Claude CodeFindings

  1. P2 Docker-only PRs skip these checks ▶
Fix with agent prompt
### Issue 1
workers/tests/test_dev_essentials_compose_network.py:16-20
These tests will not run on future PRs that change only `docker/docker-compose-dev-essentials.yaml`. CI excludes `docker/**` from the unit job, and the e2e job does not run `unit-workers`, where these tests are collected. Add a CI path that runs these checks when the guarded Compose file changes, so a network-name regression cannot bypass them.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Declares unstract-network as the default network for standalone dev essentials, matching the main Compose file and Traefik.

  • Standalone dev essentials services use the network Traefik targets.

Reviews (1) · Last reviewed commit: "fix(docker): declare unstract-network in..." · Reviewed by Greptile

Comment on lines +16 to +20
def test_dev_essentials_compose_declares_unstract_network():
doc = yaml.safe_load(ESSENTIALS_COMPOSE.read_text())
networks = doc.get("networks") or {}
default = networks.get("default") or {}
assert default.get("name") == EXPECTED_NETWORK

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Docker-only PRs skip these checks

These tests will not run on future PRs that change only docker/docker-compose-dev-essentials.yaml. CI excludes docker/** from the unit job, and the e2e job does not run unit-workers, where these tests are collected. Add a CI path that runs these checks when the guarded Compose file changes, so a network-name regression cannot bypass them.

Prompt To Fix With AI
This is a comment left during a code review.
Path: workers/tests/test_dev_essentials_compose_network.py
Line: 16-20

Comment:
**Docker-only PRs skip these checks**

These tests will not run on future PRs that change only `docker/docker-compose-dev-essentials.yaml`. CI excludes `docker/**` from the unit job, and the e2e job does not run `unit-workers`, where these tests are collected. Add a CI path that runs these checks when the guarded Compose file changes, so a network-name regression cannot bypass them.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

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