Skip to content

docs(guide): disclose the X-Provisioned-By header and complete the status enum - #4

Merged
m3talux merged 1 commit into
mainfrom
fix/guide-provisioned-by-and-status-enum
Sep 21, 2026
Merged

m3talux merged 1 commit into
mainfrom
fix/guide-provisioned-by-and-status-enum

Conversation

@g-despot

Copy link
Copy Markdown
Contributor

Two agent-guide fixes:

  • Documents the X-Provisioned-By: cli|agent header that cluster create sends, including how the value is chosen (harness env vars, FORCE_AGENT_MODE, AGENT) and that only the one-word value is transmitted.
  • The "full status enum" now lists all 11 values from internal/api/types.go — PENDING, UPDATING, WAITING, DELETING were missing. guide_test.go now pins the four added values so the enum can't silently shrink again.

…atus enum

Cluster create requests send X-Provisioned-By: cli|agent; the guide now
says so and explains how the value is chosen. The status enum now mirrors
internal/api/types.go (11 values, source order); guide_test pins the four
previously missing values.
@g-despot
g-despot requested a review from a team as a code owner September 17, 2026 10:22

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@g-despot
g-despot requested a review from m3talux September 17, 2026 10:57
@m3talux
m3talux merged commit f2514fb into main Sep 21, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants