Skip to content

ABIU Experiment Code Cleanup#10638

Draft
falahat wants to merge 7 commits into
mainfrom
abiu_cleanup
Draft

ABIU Experiment Code Cleanup#10638
falahat wants to merge 7 commits into
mainfrom
abiu_cleanup

Conversation

@falahat

@falahat falahat commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Description

The experiment flag is now defaulted to true. This simplifies/cleans the code

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request graduates the Automatic Base Image Updates (ABIU) experiment to a standard feature by removing the 'abiu' experiment flag and all associated conditional checks, imports, and tests across App Hosting commands and setup functions. As a result, runtime selection and ABIU status reporting are now always enabled. Feedback on the changes suggests using the logical OR operator (||) instead of the nullish coalescing operator (??) when displaying the runtime value in the backends table, ensuring that empty strings correctly fall back to 'N/A'.

abiuStatus = backend.automaticBaseImageUpdatesDisabled ? "Disabled" : "Enabled";
}
row.push(abiuStatus);
row.push(backend.runtime?.value ?? "N/A");

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.

medium

Using the nullish coalescing operator (??) here means that if backend.runtime?.value is an empty string (""), it will be pushed as "" instead of falling back to "N/A". Since an empty string is falsy, using the logical OR operator (||) will correctly fall back to "N/A" when the runtime value is empty, improving the table's readability.

Suggested change
row.push(backend.runtime?.value ?? "N/A");
row.push(backend.runtime?.value || "N/A");

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