Skip to content

feat(only-and-omit): pick or exclude actors - #108

Merged
JuanGalilea merged 4 commits into
feat/extend-supportfrom
feat/only-and-omit
Aug 11, 2026
Merged

feat(only-and-omit): pick or exclude actors#108
JuanGalilea merged 4 commits into
feat/extend-supportfrom
feat/only-and-omit

Conversation

@JuanGalilea

Copy link
Copy Markdown
Contributor

added --omit-actors and --only-actors to ignore or focus on certain actors.

Purpose is to enable the 2 step deployment process of POD E.
pod e needs:

  1. deploy everything but the main actor
  2. deploy the main actor

Even if not needed for this case, added both as arrays. So it can be used as:
--omit-actors actor1 actor2 actor3 ...

Also the filtering function asserts all being found on the config. Since there is probably something wrong if your options don't match your config.

This is the most versatile thing i cooked up and then the responsibility of the ordering and such falls on the deployment action workflow. Which in this case would be:

  1. deploy with omit main actor
  2. deploy only main actor

@JuanGalilea
JuanGalilea requested a review from ruocco-l August 4, 2026 15:05
@JuanGalilea JuanGalilea self-assigned this Aug 4, 2026

@ruocco-l ruocco-l left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm fine with it. The fact that e-commerce already have this problem and just adding this fix it is a sign that can be useful in multiple workflows (the build from local selection is a similar example). Thanks!

Comment thread bin/main.ts
*/
export const actorSelectionOptions = <T>(y: Argv<T>) => {
return y
.option('actors', {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

NIT: I'd rather call these --include-actors and --omit-actors

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

only went by these since local build already used --actors.
Can change it if needed tho, i don't really care either way

@metalwarrior665 metalwarrior665 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks generally useful (since we want to open this more to public) and low maintenance overhead. Ideally rebase it later so that this is separate commit to master after the breaking one from Luigi.

@JuanGalilea
JuanGalilea merged commit 96637fc into feat/extend-support Aug 11, 2026
9 checks passed
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.

4 participants