mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #644] [MERGED] fix(workflow): enterprise hardening for run JSON #677
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#677
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/644
Author: @rudrankriyam
Created: 2/18/2026
Status: ✅ Merged
Merged: 2/18/2026
Merged by: @rudrankriyam
Base:
main← Head:fix/workflow-enterprise-hardening📝 Commits (10+)
6c2c41ffix(workflow): include error + hooks in run JSON54a2801fix(workflow): harden shell selection and step parsing2d42797docs(workflow): add full example to help and README59a27e4docs(workflow): fix jq quoting exampleab8d2cbrefactor(workflow): centralize error hook recording489484edocs(workflow): document trust model and conditional env fallback83044cadocs(workflow): add trust model note to help4871da5docs(workflow): surface trust model in run help4b34c3adocs(workflow): strengthen trust model warnings7aa615ddocs(workflow): remove lane-style wording📊 Changes
10 files changed (+734 additions, -40 deletions)
View changed files
📝
README.md(+30 -1)➕
docs/WORKFLOWS.md(+140 -0)📝
internal/auth/doctor_test.go(+1 -1)📝
internal/cli/cmdtest/workflow_test.go(+241 -14)📝
internal/cli/workflow/workflow.go(+90 -2)📝
internal/workflow/env.go(+10 -2)📝
internal/workflow/env_test.go(+36 -2)📝
internal/workflow/execute.go(+95 -16)📝
internal/workflow/execute_test.go(+89 -1)📝
internal/workflow/workflow.go(+2 -1)📄 Description
Why
asc workflow runkeeps stdout JSON-only and returns a ReportedError on failures.That meant failures in
before_all/after_allhooks could producestatus=errorwith no actionable detail in the JSON payload.Enterprises migrating lane-style automation need day-1 debuggability and deterministic structured output.
What changed
errorto workflow run JSON on failures.hooksresults to workflow run JSON (before_all,after_all,error) with status/duration/error.bashorshin PATH with a clear error when neither exists.nullstep element detection whitespace-safe.asc workflow --helpto include a full.asc/workflow.jsonexample (agent-friendly).docs/WORKFLOWS.mdand a README section with usage guidance.Tests
make formatmake lintASC_BYPASS_KEYCHAIN=1 make testNotes
error,hooks) to avoid breaking existing consumers.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.