Skip to content

Improve progress messages for Framework passthrough commands#9

Merged
GrahamCampbell merged 2 commits intomainfrom
pr/framework-command-progress
Apr 26, 2026
Merged

Improve progress messages for Framework passthrough commands#9
GrahamCampbell merged 2 commits intomainfrom
pr/framework-command-progress

Conversation

@GrahamCampbell
Copy link
Copy Markdown
Contributor

@GrahamCampbell GrahamCampbell commented Apr 26, 2026

  • Adds progress labels for common service-specific Framework passthrough commands.
  • Covers deploy:function, deploy:list, deploy:list:functions, rollback:function, invoke, and invoke:local.
  • Keeps command routing, validation, supported command behavior, and inherited stdout handling unchanged.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds user-facing progress labels for a set of common Serverless Framework passthrough commands, improving UX consistency while keeping command execution behavior (routing, validation, stdio inheritance) the same.

Changes:

  • Introduces a command→progress-text mapping for selected passthrough commands and formats messages with function names when provided.
  • Wraps passthrough command execution with startProgress / successProgress for those commands.
  • Adds unit tests validating progress behavior for known and unknown passthrough commands.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
components/framework/index.js Adds progress text mapping + formatting and emits progress events around selected passthrough commands.
test/unit/components/framework/index.test.js Adds unit coverage for command-specific progress messages and ensures unknown commands don’t trigger special progress.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread components/framework/index.js Outdated
GrahamCampbell and others added 2 commits April 26, 2026 14:51
Co-authored-by: Jordan Craw <jordan.craw@hurricanecommerce.com>

Co-authored-by: Jordan Ashley Craw <27454899+rageycomma@users.noreply.github.com>
@GrahamCampbell GrahamCampbell force-pushed the pr/framework-command-progress branch from 9f4f694 to 97f2b67 Compare April 26, 2026 13:52
@GrahamCampbell GrahamCampbell merged commit 952894d into main Apr 26, 2026
3 checks passed
@GrahamCampbell GrahamCampbell deleted the pr/framework-command-progress branch April 26, 2026 13:53
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.

2 participants