fix(tests): add missing inputs: None to JobCreateInput in integration tests #49
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_proc!49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First repo in the home#188 CI sweep — proving the engineering discipline.
Why CI is red
SDK schema added a required
inputs: Option<HashMap<String, Value>>field toJobCreateInput. The SDK's own factory (crates/hero_proc_sdk/src/factory.rs:879) was updated; integration tests were not. Result:cargo build --testsfails with 34×E0063 missing field 'inputs'errors. CI has been red since.Fix
Add
inputs: Noneto all 34JobCreateInput { ... }initializers across 4 files:tests/integration/tests/jobs.rs(22)tests/integration/tests/action_dependencies.rs(8)tests/integration/tests/service_management.rs(1)tests/integration/tests/hero_script.rs(3)Used explicit
inputs: None(not..Default::default()) to match the SDK factory's convention and preserve the "future CI catches missing fields" behaviour we actually want.Discipline note (per home#188 §Engineering discipline)
This is a real bug fix, not a coping strategy:
#[ignore]the failing testsLocal verification
Out of scope (intentional — separate follow-up PR)
cargo fmt --checkhas pre-existing format drift incrates/hero_proc/src/cli/args.rsunrelated to this fix. The currentbuild.yamldoesn't enforce fmt-check, so it doesn't block. Will normalize as astyle: cargo fmtprep commit when canonicalizing the workflow shape (follow-up PR per home#188).make lint(cargo clippy) is currentlycontinue-on-error: trueinbuild.yaml— coping pattern. Removing thecontinue-on-erroris part of the workflow canonicalization PR, not this one.Tracker
home#188 — Green CI on every Hero distribution repo. This is repo 1 of 20.
Signed-off-by: mik-tf
Squash-merged to
developmentas9b13401. Branch deleted.makecalls work #26Pull request closed