Skip to content

fix: keep saved app branch when editing an existing app - #784

Open
BetterAndBetterII wants to merge 2 commits into
kubero-dev:mainfrom
BetterAndBetterII:cursor/fix-app-edit-branch-2fc0
Open

fix: keep saved app branch when editing an existing app#784
BetterAndBetterII wants to merge 2 commits into
kubero-dev:mainfrom
BetterAndBetterII:cursor/fix-app-edit-branch-2fc0

Conversation

@BetterAndBetterII

Copy link
Copy Markdown

Fixes #737. loadBranches() no longer overwrites a saved app branch with the repo default when editing.

cursoragent and others added 2 commits August 17, 2026 11:58
loadBranches() was overwriting the branch selected by loadApp() with
the repository default. Only pre-select a default branch for new apps.

Fixes kubero-dev#737

Co-authored-by: Yuzhong Zhang <BetterAndBetterII@users.noreply.github.com>
The new-app path reads envVars.length after loading pipeline phases.

Co-authored-by: Yuzhong Zhang <BetterAndBetterII@users.noreply.github.com>
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.

Bug: Editing an app resets branch to default

2 participants