feat(extensions): add FastAPI framework V2 extension and factory dispatch
Metadata
Current evaluation
Closed and superseded. Changes were merged into base PR #1259 to reduce review overhead, with the author directing reviewers to that PR instead.
Suggested action: —
No scores available.
Issue body
Add FastAPIFrameworkV2 (targets ubuntu@26.04, inherits FastAPIFramework) and a FastAPIFrameworkFactory that dispatch the V1 or V2 extension class depending on the base. Implements ISD283 (internal) for the fastapi-framework extension.
---
- [ ] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md).
- [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed and superseded. Changes were merged into base PR #1259 to reduce review overhead, with the author directing reviewers to that PR instead. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
45
Confidence:
85
|
needs review | Adds FastAPIFrameworkV2 extension targeting Ubuntu 26.04 and a factory to dispatch between V1/V2. Currently awaiting maintainer review with no comments or CI status indicated. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1254 feat(extensions): add Flask framework V2 extension and factory dispatch | rockcraft | closed | Superseded and closed. The author merged the Flask V2 extension and factory dispatch changes into base PR #1259 to reduce review overhead, directing reviewers there instead. | |
| #1257 feat(extensions): add ExpressJS framework V2 extension and factory dispatch | rockcraft | closed | Superseded and closed. The ExpressJS framework V2 extension and factory dispatch were merged into base pull request #1259 to consolidate reviews. Author requested closure of this branch. | |
| #1255 feat(extensions): add Django framework V2 extension and factory dispatch | rockcraft | closed | Superseded and closed. Changes were merged into base PR #1259 to consolidate reviews. The Django V2 extension and factory dispatch implementation is now tracked in the referenced pull request. | |
| #1251 feat(extensions): add Go framework V2 extension and factory dispatch | rockcraft | closed | Superseded. Changes merged into base PR #1259 to consolidate review. Closed without independent merging. | |
| #1258 feat(extensions): add SpringBoot framework V2 extension and factory dispatch | rockcraft | closed | Superseded by PR #1259. The SpringBoot framework V2 extension and factory dispatch implementation was merged into the base pull request to consolidate reviews. This pull request was closed. | |
| #1084 feat: default to bare base for fastapi extension | rockcraft | closed | Closed by the author and superseded by pull request #1086. The FastAPI extension bare base default change was abandoned in favor of the newer PR. | |
| #1320 feat(extensions): support bare bases in V2 frameworks | rockcraft | merged | Merged changes adding bare base support to FastAPI, Go, Flask, Django, and Spring Boot V2 extensions. Includes unit tests verifying V1 and V2 selection by Ubuntu build base. Approved by two reviewers and integrated after passing CI. |