Skip to content

Add work-request status command#713

Open
Jaytee-fn wants to merge 2 commits intomasterfrom
PR7-code-only-work-request
Open

Add work-request status command#713
Jaytee-fn wants to merge 2 commits intomasterfrom
PR7-code-only-work-request

Conversation

@Jaytee-fn
Copy link
Copy Markdown
Contributor

@Jaytee-fn Jaytee-fn commented Apr 21, 2026

The change adds a consolidated CLI command for inspecting function lifecycle work requests.

This PR introduces a simplified work-request inspection experience through:

  • fn work-request status
  • fn work-request status --app

The command consolidates the most relevant information into a single view:

  • work request id
  • function name
  • operation
  • status
  • latest error
  • recent logs

The PR includes -

  • add work-request top-level command
  • add status subcommand
  • support resolving the latest work request for a function by app + function name
  • display consolidated status/error/log output
  • support direct work request id inspection, including OCI Functions work request OCIDs

fn work-request status --log-limit 20

fn work-request status hello --app --log-limit 20

lifecycle handling for
-CreateFunction
-UpdateFunction
-DeleteFunction added in fn_go PR - fnproject/fn_go#60

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