Skip to content

fix: bind ML API to 0.0.0.0 in Docker CI smoke test#847

Open
Rudra-clrscr wants to merge 3 commits into
Userunknown84:mainfrom
Rudra-clrscr:fix/docker-ci-smoke-test-flask-host
Open

fix: bind ML API to 0.0.0.0 in Docker CI smoke test#847
Rudra-clrscr wants to merge 3 commits into
Userunknown84:mainfrom
Rudra-clrscr:fix/docker-ci-smoke-test-flask-host

Conversation

@Rudra-clrscr

Copy link
Copy Markdown
Contributor

The container's Flask process defaults to FLASK_HOST=127.0.0.1 (a deliberate secure default for bare-metal runs), so inside the CI container it never listens on an interface reachable through the -p 5000:5000 port mapping, and the smoke test's curl always times out. docker-compose.yml already sets FLASK_HOST=0.0.0.0 for the same reason; the CI workflow's docker run step needs the same override.

The container's Flask process defaults to FLASK_HOST=127.0.0.1 (a
deliberate secure default for bare-metal runs), so inside the CI
container it never listens on an interface reachable through the
-p 5000:5000 port mapping, and the smoke test's curl always times out.
docker-compose.yml already sets FLASK_HOST=0.0.0.0 for the same reason;
the CI workflow's docker run step needs the same override.
Copilot AI review requested due to automatic review settings July 13, 2026 23:14
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Aditya Sharma's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Rudra-clrscr added 2 commits July 14, 2026 04:55
main still has the pre-existing duplicate 'function App()' / unclosed
JSX bug (only fixed inside open PR branches, never merged), so any
fresh branch off main - including this one - fails 'vite build' during
the frontend Docker image stage before the smoke test can even run.
Bringing in the already-verified fix unblocks CI independent of merge
order.
main's copy of this file starts with a stray '#Manipulation' line
before the import statement - invalid JS that esbuild rejects. Only
fixed inside the open frontend-eslint-errors PR branch, never merged
to main. Same class of problem as the App.jsx duplicate-declaration
fix: any branch cut fresh from main inherits this and fails
'vite build' during the frontend Docker image stage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants