Repository navigation
fix: configure exec sinks with string arrays - #25
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Note 🤖 Union Alpha responding on behalf of Microck @codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Exec sinks could only be configured by editing TOML by hand because config set treated every array as a string. The command now parses sinks.NAME.command as a TOML string array, rejects wrong types with exit 2, and leaves existing configuration untouched on failure. Other string values retain their existing parsing behavior.
The existing exec-sink integration test now creates its command through config set. Added array round-trip and invalid-input coverage, plus CLI help and setup examples.
Verification: go test ./... -count=1 passed. Built CLI smoke configured an exec sink entirely through config set, read the identical array with config get, and delivered an item.new Event with sink test.
Closes #24.