Skip to content

[rebased] Support workflow aliases via folder names- #1579 - #1585

Merged
josephjclark merged 3 commits into
release/nextfrom
frank/ofn-3886
Oct 13, 2026
Merged

josephjclark merged 3 commits into
release/nextfrom
frank/ofn-3886

Conversation

@josephjclark

Copy link
Copy Markdown
Collaborator

Rebase of #1579

A workflow's folder name in the workspace now acts as a local alias when
it differs from the workflow id. Aliases can be used to look up
workflows, are preserved across checkout and pull, and are never
deployed. Aliases that clash with another workflow's id or alias are
dropped with a warning.
Aliases are folder names, so they only exist on the checked-out
project. List them next to the workflow ids of the active project so
users can see which short names are available.
getWorkflow matched on id, alias, name and uuid, so id-based callers
(diff, merge, checkout) could resolve an alias to the wrong workflow.
It now matches ids only. findWorkflow handles user input and throws
when more than one workflow matches.
@github-project-automation github-project-automation Bot moved this to New Issues in Core Oct 13, 2026
@josephjclark
josephjclark merged commit 760a984 into release/next Oct 13, 2026
11 of 12 checks passed
@josephjclark
josephjclark deleted the frank/ofn-3886 branch October 13, 2026 08:55
@github-project-automation github-project-automation Bot moved this from New Issues to Done in Core Oct 13, 2026
josephjclark added a commit that referenced this pull request Oct 13, 2026
* [rebased] Support workflow aliases via folder names- #1579 (#1585)

* Support workflow aliases via folder names

A workflow's folder name in the workspace now acts as a local alias when
it differs from the workflow id. Aliases can be used to look up
workflows, are preserved across checkout and pull, and are never
deployed. Aliases that clash with another workflow's id or alias are
dropped with a warning.

* Show workflow aliases in project list

Aliases are folder names, so they only exist on the checked-out
project. List them next to the workflow ids of the active project so
users can see which short names are available.

* Split workflow lookup into getWorkflow and findWorkflow

getWorkflow matched on id, alias, name and uuid, so id-based callers
(diff, merge, checkout) could resolve an alias to the wrong workflow.
It now matches ids only. findWorkflow handles user input and throws
when more than one workflow matches.

---------

Co-authored-by: Frank Midigo <midigofrank@gmail.com>

* Deploy without fetch (#1581)

* auto-fetch state file

* changeset

* Better execute output (#1584)

* better default output

* changeset

* fix tests

* versions

---------

Co-authored-by: Frank Midigo <midigofrank@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants