Skip to content

Comments

Fix NoneType error when OS codename is None in dgoss environment#352

Merged
ianpittwood merged 2 commits intomainfrom
fix-dgoss-nonetype-codenames
Feb 10, 2026
Merged

Fix NoneType error when OS codename is None in dgoss environment#352
ianpittwood merged 2 commits intomainfrom
fix-dgoss-nonetype-codenames

Conversation

@ianpittwood
Copy link
Contributor

Summary

  • Default IMAGE_OS_CODENAME to empty string when buildOS.codename is None
  • Skip environment variables with None values when building docker run command

Test plan

  • Run dgoss tests against images with OS configurations that have no codename set

🤖 Generated with Claude Code

Handle cases where buildOS.codename is None by:
- Defaulting IMAGE_OS_CODENAME to empty string when codename is None
- Skipping environment variables with None values in docker run command

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

Test Results

1 113 tests   1 113 ✅  12m 50s ⏱️
    1 suites      0 💤
    1 files        0 ❌

Results for commit 39f5fe4.

♻️ This comment has been updated with latest results.

@ianpittwood ianpittwood merged commit cf38ee1 into main Feb 10, 2026
14 checks passed
@ianpittwood ianpittwood deleted the fix-dgoss-nonetype-codenames branch February 10, 2026 20:42
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