Skip to content

fix(cli): call the app-scoped invocations endpoint - #32

Merged
cescox merged 1 commit into
mainfrom
fix/cli-invocations-path
Jun 29, 2026
Merged

cescox merged 1 commit into
mainfrom
fix/cli-invocations-path

Conversation

@cescox

@cescox cescox commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

The invocations API is now app-scoped at /v1/apps/{appId}/invocations. This updates the CLI to match:

  • listInvocations and getInvocationDetail build the app-scoped path
  • appId is threaded through the actions invocations command

Without it, canup actions invocations calls the old /v1/invocations and gets a 404.

The invocations API is now app-scoped at /apps/{appId}/invocations. Update listInvocations and getInvocationDetail to build the new path and thread appId through the actions invocations command.
@github-actions

Copy link
Copy Markdown

Coverage Report for @canup/ui (packages/ui)

Status Category Percentage Covered / Total
🔵 Lines 98.39% (🎯 95%) 184 / 187
🔵 Statements 98.08% (🎯 95%) 205 / 209
🔵 Functions 98.11% (🎯 95%) 52 / 53
🔵 Branches 96% (🎯 85%) 120 / 125
File CoverageNo changed files found.
Generated in workflow #44 for commit 330905d by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown

Coverage Report for @canup/cli (packages/cli)

Status Category Percentage Covered / Total
🔵 Lines 98.9% (🎯 95%) 1082 / 1094
🔵 Statements 98.68% (🎯 95%) 1125 / 1140
🔵 Functions 98.46% (🎯 95%) 193 / 196
🔵 Branches 92.48% (🎯 85%) 517 / 559
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/cli/src/api-client.ts 98.03% 95.65% 100% 97.87% 195
packages/cli/src/commands/actions/invocations.ts 100% 92.5% 100% 100%
Generated in workflow #44 for commit 330905d by the Vitest Coverage Report Action

@cescox
cescox merged commit e272b7e into main Jun 29, 2026
8 checks passed
@cescox
cescox deleted the fix/cli-invocations-path branch June 29, 2026 12:13
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