Skip to content

feat: add flow-runs reader to env log (#41) - #182

Open
zekelinAlex wants to merge 3 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/env-log-flow-runs-issue-41
Open

feat: add flow-runs reader to env log (#41)#182
zekelinAlex wants to merge 3 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/env-log-flow-runs-issue-41

Conversation

@zekelinAlex

@zekelinAlex zekelinAlex commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Depends on #141: this branch is cut from users/alexander.zekelin/env-log-reader and adds to the same env log group, so the diff includes its commits until it merges.

Adds a flow-runs reader to the env log group: txc env log flow-runs --flow lists recent runs of one cloud flow (status, trigger type, start/end, duration, error), --run-id shows a single run, --status and --top filter the list. The flow is resolved from the workflow table (category 5) by name or guid, with friendly errors for unknown and ambiguous names.

Runs are read from the flowrun virtual table instead of the flow API on purpose: the flow service rejects tokens for pac's first-party client id with AADSTS65002 (preauthorization required), so per-action details aren't reachable from this CLI at all. The flowrun table proxies the same run history under the ordinary Dataverse token and covers the run level; the limitation is documented on the contract.

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.

1 participant