Skip to content

fix: refactor remove env/undeploy transformer#2647

Open
ghost wants to merge 9 commits intomainfrom
bm/remove-transformer2
Open

fix: refactor remove env/undeploy transformer#2647
ghost wants to merge 9 commits intomainfrom
bm/remove-transformer2

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 9, 2025

Ref: SRX-CQCYNK

@ghost ghost self-requested a review as a code owner October 9, 2025 16:42
@ghost ghost force-pushed the bm/remove-transformer2 branch from 14a1bbf to 7844b8f Compare October 13, 2025 10:06
@ghost ghost changed the title feat: remove application if it is removed from the last environment fix: refactor remove env/undeploy transformer Oct 13, 2025
@ghost ghost enabled auto-merge (squash) October 13, 2025 10:51
commitIDFile := fs.Join(releaseDir, "source_commit_id")
content, err := util.ReadFile(fs, commitIDFile)
if err != nil {
// release does not have a corresponding commit, which might be the case if it's an undeploy release, no prob
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.

if it's a not-found error, this is fine.
But if it's not a not-found error, we should return an error, not continue.

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