Add go init profile and go-extension
Metadata
Current evaluation
Merged following three approvals and passing CI. Introduces the go-framework init profile and extension for rockcraft, implementing ISD153 12-Factor Go Support. Base platforms were narrowed to amd64, and flask/django extensions were updated for parity.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
This PR implements the spec ISD153, "12-Factor Go Support" for rockcraft.
For that, a new init profile called "go-framework" and a new go extension, called "go-framework" are needed. These additions are similar to the flask and django init profiles and extensions, with several differences. Some of the main differences are:
- Preference for base bare.
- No dependency on gunicorn. Go generates binaries that are directly executable.
- By default only one binary is installed (by convention the one with the project name). Including other binaries in the rock will require to change the rockcraft.yaml file.
- No statsd.
Also, new platforms are added to django, flask extension, so they are the same as in Go.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged following three approvals and passing CI. Introduces the go-framework init profile and extension for rockcraft, implementing ISD153 12-Factor Go Support. Base platforms were narrowed to amd64, and flask/django extensions were updated for parity. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged addition of go-framework init profile and extension to rockcraft, implementing ISD153. Targets bare bases, installs a single binary without gunicorn or statsd. Base configs limited to amd64. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1800 feat: go-framework init profile and extension | charmcraft | merged | Merged. Adds go-framework init profile and extension to charmcraft per ISD153. Uses Ubuntu 24.04 base, restricts to amd64, and refactors 12-factor extensions to inherit from _TwelveFactorBase. Approved by three reviewers and passed CI. | |
| #692 Add fastapi init profile and fastapi-framework extension | rockcraft | merged | Merged. Implemented ISD160 spec by adding a FastAPI init profile and extension to rockcraft. Features ASGI support with uvicorn, targets Ubuntu 24.04, and uses a standalone architecture. Approved and passed CI. |