feat: default to bare base for flask, django and fastapi extensions
Metadata
Current evaluation
Merged in rockcraft#1086 via commit 3fba20c2, making Flask, Django, and FastAPI extensions default to bare base to reduce image size and attack surface.
Resolution: closed resolved
Reason: rockcraft#1086 was merged as commit 3fba20c2. Follow-up rockcraft#1097 fixed spread tests and tutorials affected by the new bare-base default.
Evaluated by: mr-cal-bot
No scores available.
Issue body
<!-- Describe your changes -->
Default to bare base for flask, django and fastapi extensions.
Reduce image size with all this entails: smaller attack surface and improved download performance. The change should only impact the rockcraft init, so it won't impact existing projects.
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [x] I've added or updated any relevant documentation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in rockcraft#1086 via commit 3fba20c2, making Flask, Django, and FastAPI extensions default to bare base to reduce image size and attack surface. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1086 in commit 3fba20c2, defaulting Flask, Django, and FastAPI extension initialization to a bare base for smaller images. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1086 (commit 3fba20c2), making Flask, Django, and FastAPI extensions default to a bare base to reduce image size and attack surface. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Defaults to bare base for Flask, Django, and FastAPI extensions to reduce image size and attack surface. Approved by four reviewers and merged after CI checks passed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes defaulting to a bare base for flask, django, and fastapi extensions. Reduces image size and attack surface. Only affects rockcraft init. Resolved failing tests and completed review before merging. |
Update history
No update history recorded yet.
Related work
-
Related To:
rockcraft#1097
(confidence 98%)
Follow-up PR that fixed spread tests and tutorials after the bare-base default was introduced.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1087 feat: default to bare base for flask extension | rockcraft | closed | Closed in favor of canonical/rockcraft#1086, which merged as commit 3fba20c2 and expanded the bare-base default to Flask, Django, and FastAPI extensions. | |
| #1084 feat: default to bare base for fastapi extension | rockcraft | closed | Superseded by #1086, merged in commit 3fba20c2 to default Flask, Django, and FastAPI extensions to bare bases. | |
| #1083 feat: default to bare base for django extension | rockcraft | closed | Closed unmerged; its Django bare-base change was superseded by merged PR canonical/rockcraft#1086 (commit 3fba20c2), covering Django, Flask, and FastAPI. | |
| #1079 Default to bare base for django extension | rockcraft | closed | Closed unmerged and superseded by #1086, which merged commit 3fba20c2 to default the Flask, Django, and FastAPI extensions to a bare base. |