You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note on workflow naming:**`release-please.yml` is named after a tool we evaluated but didn't adopt — it actually runs the Changesets CLI. A rename to `changeset-version.yml` is tracked in [the relevant issue].
31
+
> **Note on workflow naming:**`release-please.yml` is named after a tool we evaluated but didn't adopt — it actually runs the Changesets CLI. A rename to `changeset-version.yml` is tracked in [dvflw/mantle#123](https://github.com/dvflw/mantle/issues/123).
32
32
33
33
## Step 1: Add a Changeset (During Development)
34
34
@@ -90,7 +90,7 @@ Those tags trigger the package-specific release workflows:
90
90
91
91
**Floating tags** (`major.minor`, `major`, `latest`) are only pushed for stable releases. For pre-release versions (e.g. `0.5.0-rc.1`) the versioned image is pushed but floating tags are skipped.
92
92
93
-
**Platform-specific image tags:**the pipeline no longer publishes per-arch tags like `ghcr.io/dvflw/mantle:<version>-amd64`. Only the multi-arch manifesttag (`ghcr.io/dvflw/mantle:<version>`) is pushed. Update any CI or deploy configs that reference the old suffixed tags.
93
+
**Platform-specific image tags:** per-arch tags like `ghcr.io/dvflw/mantle:<version>-amd64` and `ghcr.io/dvflw/mantle:<version>-arm64` exist in GHCR as internal references required by the multi-arch manifest, but are not intended for direct consumption. Always pull the multi-arch manifest tag (`ghcr.io/dvflw/mantle:<version>`), which selects the correct platform automatically. Update any CI or deploy configs that reference the old suffixed tags directly.
94
94
95
95
**Trivy scan policy:** the `trivy` job runs after `release` with `exit-code: 1` on `CRITICAL` or `HIGH` CVEs. A failure marks the workflow run as failed but does not retract the already-published release. If a CVE scan fails post-release, open a patch release issue immediately.
Copy file name to clipboardExpand all lines: packages/engine/internal/server/api.go
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,9 @@ type StepSummary struct {
48
48
// handleListExecutions handles GET /api/v1/executions with query param filters.
49
49
//
50
50
// @Summary List executions
51
-
// @Description Returns a paginated list of workflow executions for the authenticated team. Supports filtering by workflow name, status, and age.
51
+
// @Description Returns a list of workflow executions for the authenticated team, most recent first. Supports filtering by workflow name, status, and age. Use the limit parameter to cap results (default 20).
52
52
// @Tags executions
53
+
// @Produce json
53
54
// @Param workflow query string false "Filter by workflow name"
54
55
// @Param status query string false "Filter by status" Enums(pending,running,completed,failed,cancelled)
55
56
// @Param since query string false "Filter by age (e.g. 1h, 7d)"
@@ -174,6 +175,7 @@ func (s *Server) handleListExecutions(w http.ResponseWriter, r *http.Request) {
174
175
// @Summary Get execution detail
175
176
// @Description Returns full details of a single execution including all step results.
176
177
// @Tags executions
178
+
// @Produce json
177
179
// @Param id path string true "Execution ID (UUID)"
178
180
// @Success 200 {object} ExecutionDetail
179
181
// @Failure 400 {object} ErrorResponse
@@ -317,8 +319,9 @@ type WorkflowListResponse struct {
317
319
318
320
// WorkflowDetailResponse is returned for GET /api/v1/workflows/{name}.
319
321
typeWorkflowDetailResponsestruct {
320
-
Namestring`json:"name"`
321
-
Versionint`json:"version"`
322
+
Namestring`json:"name"`
323
+
Versionint`json:"version"`
324
+
// Free-form workflow definition as stored (YAML parsed to JSON).
@@ -461,6 +467,7 @@ func (s *Server) handleListWorkflowVersions(w http.ResponseWriter, r *http.Reque
461
467
// @Summary Get a specific workflow version
462
468
// @Description Returns a specific historical version of a workflow definition.
463
469
// @Tags workflows
470
+
// @Produce json
464
471
// @Param name path string true "Workflow name"
465
472
// @Param version path integer true "Version number"
466
473
// @Success 200 {object} WorkflowDetailResponse
@@ -501,6 +508,7 @@ func (s *Server) handleGetWorkflowVersion(w http.ResponseWriter, r *http.Request
501
508
// @Summary List provider budgets
502
509
// @Description Returns the token budget configuration for all providers configured by the authenticated team.
503
510
// @Tags budgets
511
+
// @Produce json
504
512
// @Success 200 {array} budget.TeamBudget
505
513
// @Failure 500 {object} ErrorResponse
506
514
// @Security ApiKeyAuth
@@ -522,6 +530,8 @@ func (s *Server) handleListBudgets(w http.ResponseWriter, r *http.Request) {
522
530
// @Summary Set provider budget
523
531
// @Description Creates or replaces the monthly token budget for a provider. Enforcement "hard" blocks execution when the limit is reached; "warn" logs a warning only.
0 commit comments