Skip to content

Release to PROD - #11

Merged
sal94 merged 30 commits into
mainfrom
dev
Dec 5, 2025
Merged

Release to PROD#11
sal94 merged 30 commits into
mainfrom
dev

Conversation

@sal94

@sal94 sal94 commented Dec 5, 2025

Copy link
Copy Markdown
Owner

No description provided.

sal94 added 30 commits November 27, 2025 18:28
Fix: app rename to host matching
@sal94 sal94 self-assigned this Dec 5, 2025

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/conftest.py
Comment on lines 307 to 309
async with AsyncClient(
transport=ASGITransport(app=fastapi_app), base_url="http://testserver"
transport=ASGITransport(app=fastapi_app), base_url="http://testserver/api"
) as ac:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Test client base URL drops new /api prefix

The API routes now live under /api, but the shared AsyncClient is initialized with base_url="http://testserver/api" while tests still call absolute paths like "/auth/signup" or "/albums". httpx discards the base path for absolute URLs, so these requests resolve to http://testserver/auth/signup and http://testserver/albums, which don’t exist on the app and will return 404 instead of exercising the real endpoints. This breaks every test that relies on the fixture. Use a root base_url or remove the leading slashes so requests include the /api prefix.

Useful? React with 👍 / 👎.

@sal94
sal94 merged commit 2695653 into main Dec 5, 2025
4 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