mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 10:53:18 -05:00
[PR #1169] [CLOSED] fix: always serialize empty params in procedure export #6892
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/1169
Author: @litlmike
Created: 2/8/2026
Status: ❌ Closed
Base:
main← Head:fix-issue-672📝 Commits (1)
1b3115bfix: always serialize empty params in procedure export📊 Changes
7 files changed (+17 additions, -1 deletions)
View changed files
📝
bin/core/src/sync/toml.rs(+5 -1)📝
client/core/rs/src/api/execute/action.rs(+1 -0)📝
client/core/rs/src/api/execute/build.rs(+1 -0)📝
client/core/rs/src/api/execute/deployment.rs(+2 -0)📝
client/core/rs/src/api/execute/procedure.rs(+1 -0)📝
client/core/rs/src/api/execute/repo.rs(+3 -0)📝
client/core/rs/src/api/execute/stack.rs(+4 -0)📄 Description
When serializing procedure stages to TOML, empty string fields (like
pattern) were dropped by toml_pretty'sskip_empty_stringoption. This caused params to be empty/missing, failing deserialization withmissing field params.Two fixes:
skip_empty_stringwhen serializing procedure stages so fields likepattern = ""are preserved in TOML output.#[serde(default)]topatternfields on all Batch* execution structs as defense-in-depth.Closes #672
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.