You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate CI environment JSON objects before accessing their fields #856
tools.ci.common.main parses WAVE_RELEASE_INPUTS and immediately calls .items() without checking its JSON type. A valid JSON array, string or null produces a Python traceback instead of a configuration error. WAVE_CI_MATRIX also coerces falsy non-objects to an empty object before its type check.
Observed: exit 1 and AttributeError: 'list' object has no attribute 'items' at the inputs.items() expression. No build or provisioning stage ran.
Scope
Validate both environment values as JSON objects before runner/stage work. Reuse the existing CI configuration error/exit-2 convention. Keep omitted values and explicit empty objects supported. Difficulty: easy.
Completion criteria
Arrays, strings, numbers, booleans and null fail with an actionable configuration error, without a traceback.
Missing variables and {} remain valid; malformed JSON is still rejected.
Focused tests assert no commands/provisioning occur for invalid inputs, including falsy non-objects.
Activity
fix(ci): reject invalid configuration objects and orphan case suites
fix(ci): reject invalid configuration objects and orphan case suites
Extend Whale scalars and harden std, diagnostics and CI (#970)