Repository navigation
Conversation
Resolve profiles only when needed and obtain the config path without parsing TOML. Seven new behavioral tests pass; three failed before the fix. Real python -m omi_cli version and text/JSON config path succeed against malformed temporary TOML. Failure-Class: none
|
Thanks @ikoomm — nice fix for #13161, and the validation notes in the description matched what I found when I re-checked them independently. Reviewed against the head diff:
On CI: the three Since this changes when (and whether) the config file is parsed across every command, leaving the final merge sign-off to a human maintainer. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Hey @ikoomm 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
|
PR: #14089 AUTO (AI Agent). Authorship disclosed. |
Fixes #13161.
Malformed TOML currently prevents
omi versionandomi config pathfrom running. Resolve the profile only when a command needs it, and read the configured path without parsing file contents. Config-dependent commands still reject malformed files. README documents the diagnostic behavior.Validation (Windows/Python 3.12):
python -m omi_cliversion and text/JSON config-path invocations pass using isolated malformed TOML.Product invariants affected: none.
Failure-Class: none
Repository preflight: all 12 selected local checks pass (22.56s), using the Makefile's Python entry point on Windows. The historical recurrence ratchet skips its history analysis in this shallow clone.
scripts/failure-class validatepasses. Proposed US$5 bounty in the issue is awaiting approval.Hosted CI on this head: Linux/Python 3.10, Linux/Python 3.12 and Windows/Python 3.12 each fail only
test_transport_failure_during_login_leaves_saved_config_unchanged(assert 0 != 0), matching the known baseline failure above. Run: https://github.com/BasedHardware/omi/actions/runs/34254694831 . Repository Hygiene and PR Metadata Preflight pass.