Skip to content

[WIP] [WIP] Address feedback on backend tests regarding ASGI startup and shutdown docs#13

Closed
Copilot wants to merge 1 commit intobackend-testsfrom
copilot/sub-pr-12
Closed

[WIP] [WIP] Address feedback on backend tests regarding ASGI startup and shutdown docs#13
Copilot wants to merge 1 commit intobackend-testsfrom
copilot/sub-pr-12

Conversation

Copy link

Copilot AI commented Mar 16, 2026

  • Understand the issue: startup_event uses global engine/AsyncSessionLocal instead of test DB
  • Modify create_app to accept optional engine parameter captured by startup_event closure
  • Update conftest.py app fixture to pass db_engine to create_app
  • Run tests to verify all pass
  • Code review and security check

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI mentioned this pull request Mar 16, 2026
@ambv ambv closed this Mar 16, 2026
Copilot AI requested a review from ambv March 16, 2026 21:17
Copilot stopped work on behalf of ambv due to an error March 16, 2026 21:17
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