Skip to content

chore(api): opt into django-extensions in settings_dev when installed#915

Merged
thomasrockhu-codecov merged 1 commit intomainfrom
chore/api-django-extensions-opt-in
May 6, 2026
Merged

chore(api): opt into django-extensions in settings_dev when installed#915
thomasrockhu-codecov merged 1 commit intomainfrom
chore/api-django-extensions-opt-in

Conversation

@thomasrockhu-codecov
Copy link
Copy Markdown
Contributor

@thomasrockhu-codecov thomasrockhu-codecov commented May 5, 2026

Summary

  • Adds ipython and django-extensions to dev settings

@codecov-notifications
Copy link
Copy Markdown

codecov-notifications Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@sentry
Copy link
Copy Markdown
Contributor

sentry Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.89%. Comparing base (9203b6d) to head (ef091ef).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #915   +/-   ##
=======================================
  Coverage   91.89%   91.89%           
=======================================
  Files        1316     1316           
  Lines       50633    50634    +1     
  Branches     1625     1625           
=======================================
+ Hits        46531    46532    +1     
  Misses       3796     3796           
  Partials      306      306           
Flag Coverage Δ
apiunit 94.95% <100.00%> (+<0.01%) ⬆️
sharedintegration 36.97% <ø> (ø)
sharedunit 84.89% <ø> (ø)
workerintegration 58.53% <ø> (ø)
workerunit 90.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Drops a try/except guarded `INSTALLED_APPS.append("django_extensions")`
into `settings_dev.py` so devs who `pip install django-extensions` in
their local container get `manage.py shell_plus` (and the rest of the
extensions surface) for free, without forcing django-extensions as a
pinned dependency in `pyproject.toml`.

The import is wrapped in `try/except ImportError`, so dev settings
remain importable in environments that haven't installed the package.
No production settings are touched.
@thomasrockhu-codecov thomasrockhu-codecov force-pushed the chore/api-django-extensions-opt-in branch from 1cf5ab3 to ef091ef Compare May 5, 2026 20:51
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ef091ef. Configure here.

Comment thread apps/codecov-api/codecov/settings_dev.py
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 5, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing chore/api-django-extensions-opt-in (ef091ef) with main (3d2b291)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (9203b6d) during the generation of this report, so 3d2b291 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Copy link
Copy Markdown
Contributor

@drazisil-codecov drazisil-codecov left a comment

Choose a reason for hiding this comment

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

lgtm

@thomasrockhu-codecov thomasrockhu-codecov added this pull request to the merge queue May 6, 2026
Merged via the queue into main with commit 44c544f May 6, 2026
52 of 53 checks passed
@thomasrockhu-codecov thomasrockhu-codecov deleted the chore/api-django-extensions-opt-in branch May 6, 2026 14:31
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