Skip to content

Conversation

@nishu-builder
Copy link
Contributor

@nishu-builder nishu-builder commented Dec 9, 2025

For cleanliness' sake

Copy link
Contributor Author

nishu-builder commented Dec 9, 2025

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

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 on lines +4 to +7
class Settings(BaseSettings):
STATS_DB_URI: str = "postgres://postgres:password@127.0.0.1/postgres"
DEBUG_USER_EMAIL: str | None = None
OBSERVATORY_AUTH_SECRET: str | None = None

Choose a reason for hiding this comment

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

P1 Badge Debug auth flag now missing for test patches

Config values were moved into a Settings object (config.py lines 4‑7), so the module no longer exposes debug_user_email. Several tests and fixtures still patch metta.app_backend.config.debug_user_email to bypass auth (e.g., app_backend/tests/conftest.py:25–28, test_leaderboard_routes.py:182, test_sweep_routes.py:101); with the attribute gone those patches now raise AttributeError during import, causing the app_backend test suite to fail and removing the intended debug override path.

Useful? React with 👍 / 👎.

@datadog-official
Copy link

datadog-official bot commented Dec 9, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4331cd7 | Docs | Was this helpful? Give us feedback!

@nishu-builder nishu-builder added this pull request to the merge queue Dec 9, 2025
Merged via the queue into main with commit 4ec0f63 Dec 9, 2025
14 checks passed
@nishu-builder nishu-builder deleted the nishad/app-backend-uses-pydantic-for-env-config-marshalling branch December 9, 2025 23:44
zfogg pushed a commit that referenced this pull request Dec 20, 2025
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.

3 participants