Skip to content
Proud to collaborate with Microsoft for Startups

apphost.addon.logs ​

Read the last lines of the Buzz relay pod on a claimed AppHost site. One-shot tail, not a stream.

One-shot tail of the Buzz relay. Do not stream secrets into chat.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-apphost
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuiduuidYes——
addonstringNobuzz—
tail_linesintegerNo80—

Output Schema ​

FieldTypeRequiredDefaultDescription
site_uuiduuidNo——
addonstringNo——
tail_linesintegerNo——
resolvejsonNo——
podsjsonNo——
pickjsonNo——
logsjsonNo——
ackjsonNo——
failure_reasonstringNo—Engine-stamped failure reason
failure_typestringNo—Stable failure classification
failed_actionstringNo—Action that failed
failed_at_statestringNo—State when the workflow failed
failed_stepjsonNo—Failed DAG step envelope
failed_layerjsonNo—Failed DAG layer envelope
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
compensation_triggerjsonNo——
comp_queuejsonNo——
comp_current_layerjsonNo——
comp_retry_countjsonNo——

DAG Layers ​

#LayerStepsCompensation
1resolveapphost.addon.resolveapphost.web.ack
2podskubernetes.pod.listapphost.web.ack
3pickapphost.addon.logs-pickapphost.web.ack
4logskubernetes.pod.logs—

Execution Flow ​

Compensation ​

When any layer fails, its compensation steps run in reverse order to roll back the work completed so far.

Sub-workflows ​

Sub-workflowStep name
apphost.addon.resolveresolve
kubernetes.pod.listpods
apphost.addon.logs-pickpick
kubernetes.pod.logslogs
apphost.web.ackack

Outcomes ​

OutcomeTypeDescriptionState Data Keys
readSUCCESSRelay logs returnedlogs
failedFAILUREApphost workflow failedfailure_reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "apphost.addon.logs",
  "initial_data": {
    "site_uuid": "value"
  }
}