Skip to content

fix: build cleanup on creation#327

Merged
shreddedbacon merged 1 commit intomainfrom
fix-build-cleanup-on-creation
Oct 7, 2025
Merged

fix: build cleanup on creation#327
shreddedbacon merged 1 commit intomainfrom
fix-build-cleanup-on-creation

Conversation

@shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Oct 7, 2025

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

Spotted in the wild, if a namespace is stuck terminating and a build comes through for that namespace again, the remote-controller crashes with a panic nil pointer error until the namespace is cleaned up. This prevents new builds from processing as the controller continues to crash and the build is never removed from the messagequeue.

This fixes the points that caused the nil pointer issue, and also fixes the missing UID in the build so that the logs for these builds appear in the API correctly.

@shreddedbacon shreddedbacon requested a review from bomoko October 7, 2025 01:25
@shreddedbacon shreddedbacon marked this pull request as ready for review October 7, 2025 01:26
@shreddedbacon shreddedbacon force-pushed the fix-build-cleanup-on-creation branch from 0df5f55 to 4431d63 Compare October 7, 2025 01:35
@shreddedbacon shreddedbacon merged commit 195f9c3 into main Oct 7, 2025
13 checks passed
@shreddedbacon shreddedbacon deleted the fix-build-cleanup-on-creation branch October 7, 2025 22:05
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