Conversation
|
@codex review |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Codex Review: Didn't find any major issues. Breezy! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
Pull request overview
Adds end-to-end/regression tests to harden the v1.3.0 “architecture presets” interactive flow and the shipped fastapi-domain-starter template contract, including runtime validation of a generated starter project.
Changes:
- Added a dedicated E2E test module that validates the shipped
fastapi-domain-startertemplate contract, generated-project identity markers, and a live/api/v1/healthcheck using the generated project’s own venv. - Strengthened the interactive
fastkit init --interactiveintegration test to assert the architecture preset row appears in the confirmation summary output (guarding a key user-facing regression point).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/test_templates/test_domain_starter_e2e.py | New E2E coverage for domain starter template contract + generated project identity + runtime health smoke check + template discoverability. |
| tests/test_cli_operations/test_cli_interactive_integration.py | Adds assertions ensuring the confirmation summary includes the architecture preset row for all preset flows. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Requesting Merging
Description
Part of #41
Closes #46
This PR adds end-to-end and regression coverage for the new architecture preset flow and the
fastapi-domain-startertemplate.The goal is to make v1.3.0 safer to ship by verifying not only file generation, but also the real shipped template contract, generated project identity markers, interactive preset summary output, and a live health-check request against a generated
fastapi-domain-starterapp.Type of Change
Test Environment
uvuv run pytest tests/test_templates/test_domain_starter_e2e.py tests/test_cli_operations/test_cli_interactive_integration.py -q18 passedMajor Changes
Added a new end-to-end test module:
tests/test_templates/test_domain_starter_e2e.pyAdded real-template contract coverage for
fastapi-domain-starterfastapi-domain-starterremains a pyproject-only templateAdded generated-project identity coverage
fastkit startdemo fastapi-domain-starterproduces apyproject.tomlwith:
[tool.fastapi-fastkit].managed = trueis_fastkit_project()recognizes the generated project correctlyAdded generated-app runtime smoke coverage
fastapi-domain-starterproject.venvGET /api/v1/healthreturns200okAdded template discoverability coverage
fastkit list-templatesshows:fastapi-domain-startertemplate idREADME.md-tpl<project_name>leaks into template listingsStrengthened interactive preset integration coverage
tests/test_cli_operations/test_cli_interactive_integration.pyScreenshots (optional)
N/A
Etc
fastapi-domain-starterruntime imports