Skip to content

fix(storage-resize-images): label the IS_ANIMATED true option Yes - #3147

Closed
IzaakGough wants to merge 2 commits into
kitsfrom
fix/kits-resize-images-is-animated-label
Closed

fix(storage-resize-images): label the IS_ANIMATED true option Yes#3147
IzaakGough wants to merge 2 commits into
kitsfrom
fix/kits-resize-images-is-animated-label

Conversation

@IzaakGough

Copy link
Copy Markdown
Contributor

Closes #3123.

kits/storage-resize-images/src/config.ts declared the IS_ANIMATED true option as True, while storage-resize-images/extension.yaml labels it Yes. Only the deploy-time prompt is affected: the stored values are true/false either way, so no .env from an earlier deploy needs editing.

The param audit tests pinned option values but not labels, which is how it slipped through, so this also adds an IS_ANIMATED select test that reads the param out of declaredParams and asserts labels and values together.

Verified by generating the params spec the CLI reads at deploy time (loadStack over the built lib/) and diffing its options against the ones parsed out of extension.yaml: they now match exactly. Full kit suite passes (183 passed, 3 skipped, the skips being the pre-existing live Vertex AI content-filter tests). I also mutated the declaration seven ways (label typo, stringified value, extra option, reordered options, labels dropped, param renamed, select input removed) and confirmed the new test fails on each, rather than passing whichever way the labels went.

CONTENT_FILTER_LEVEL's "Off (No filtering)": "False" mapping is untouched here, it belongs to #3064.

The kit labelled it `True`; `extension.yaml` labels it `Yes`. Only the
deploy-time prompt is affected, the stored values are unchanged. The param
audit tests pinned option values but not labels, so add an assertion covering
both.

@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 fixes a label typo in the IS_ANIMATED configuration option for the storage-resize-images kit, changing the label from 'True' to 'Yes' to match the deploy-time prompt. It also adds a corresponding unit test to verify that the option labels and values are correctly declared. I have no feedback to provide.

@IzaakGough
IzaakGough marked this pull request as ready for review September 8, 2026 10:41
@cabljac cabljac closed this Sep 8, 2026
@CorieW

CorieW commented Sep 8, 2026

Copy link
Copy Markdown
Member

Superseded by #3148

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.

3 participants