Repository navigation
Conversation
|
/claim #13922 PayPal: [email removed] |
|
Verified end-to-end in an isolated, network-disabled container at this head:
Code-wise this takes the right failure posture — coerce at the ClickUp API boundary, warn-and-continue instead of aborting task creation:
Nice work — this un-breaks voice-driven task creation for exactly the junk the AI extractor can emit. One hygiene note: #13921 (an earlier PR for the same issue) is also still open, so one of the two should be closed out when this lands. This head already carries a maintainer approval; nothing further needed from my side. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Hi @kodjima33 @josancamon19 — thanks for the review. Just to clarify the overlap before either PR is merged: #13921 was opened earlier and addresses the same core #13922 regressions — assignee ID coercion, millisecond due-date handling, and priority validation/coercion. I also noticed both #13921 and #14093 now have maintainer approval and both reviews mention merging. Since #14093 adds some additional sibling fixes and broader test coverage, could you please clarify how you’d like to handle the overlap, and which PR should be treated as the primary fix for #13922 and bounty attribution? Thanks. |
983ad2c to
2243d30
Compare
|
Re-verified at the merged head 5d7a535, since upstream/main was merged in after the approval on 2243d30:
Still open for maintainers from the earlier thread: #13921 targets the same #13922 and also carries approval, so one of the two should be closed out for attribution when this lands. by AI on behalf of David — if you need David's attention urgently, please @Git-on-my-level and escalate with |
|
Hey @t3ratech 👋 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! |
|
Verified against #13922 on head 933b628 — the crash class is real and genuinely fixed. What I ran (hermetic, stdlib-only, no network):
Since the last approval (2243d30), the head folded ISO parsing into _coerce_due_date_ms(due_date, tz) while converging with upstream — I diffed the approved vs current plugin files and the coercion behavior is preserved and covered by the suite on this head. Because that approval predates the restructure, the current head should get one fresh maintainer pass before merge. Thanks @t3ratech — clear issue triage, tight coercion boundary, and tests that actually discriminate. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
933b628 to
2fce3bb
Compare
|
Rebased onto current main in
|
|
ClickUp member matching on main can append the string — Astar, on behalf of @aryanorastar |
2fce3bb to
c7a7db0
Compare
kodjima33
left a comment
There was a problem hiding this comment.
Coercion fix logic is sound (closes #13922, tests included) but the latest commit ('converge with upstream + reposition manifest check') left literal unresolved git conflict markers (<<<<<<< / ======= / >>>>>>>) in .github/checks-manifest.yaml, which is why Hygiene/Desktop/Windows checks are all failing YAML parse. Approve-only; cannot merge broken manifest, author needs to fix the conflict markers.
…ware#13922) create_task aborted task creation when optional params arrived wrong-typed: non-numeric assignee tokens (names, JSON nulls, "None" sentinels) raised inside int(), millisecond due-date timestamps failed ISO parsing, and priority was forwarded to ClickUp without 1-4 validation. - ClickUpClient._coerce_assignee_ids: extracts positive int IDs, filters sentinels/names/negatives/booleans, dedupes; all-invalid input logs a warning and continues unassigned instead of crashing. - ClickUpClient._coerce_due_date_ms: accepts numeric ms timestamps (int/float/digit string) alongside ISO strings; wrong-typed input is dropped with a warning rather than failing the request. - ClickUpClient._coerce_priority: coerces numeric strings/integral floats and enforces the 1-4 boundary; invalid values are dropped with a warning. - task_detector: fuzzy member match no longer emits the "None" sentinel for members without an id. - process_segments: non-dict transcript segments no longer crash the webhook handler (same defect class). Verified: python3 plugins/omi-clickup-app/test_main.py — 21 tests pass (18 failures + 5 errors on the unpatched code); sibling suites test_clickup_client.py and test_settings_page.py still pass; manifest check clickup-coerce-tests passes via .github/scripts/run_checks.py. Failure-Class: none
c7a7db0 to
08b7153
Compare
|
Keeping this open. Not approving — Astar, on behalf of @aryanorastar |
kodjima33
left a comment
There was a problem hiding this comment.
Bug-fix hardening (702 lines, over the 300-line scoped cap), multiple required CI checks failing (Desktop Swift Build, Native Windows, Hygiene) - approve only per policy.
aryanorastar
left a comment
There was a problem hiding this comment.
On 08b7153568b74cdf4176775190f97a9129c82354, .github/checks-manifest.yaml deletes hive-limit-coercion-tests. The hole is still on this head.
…checks (restores 27 entries dropped in rebase)
|
Fixed — |
kodjima33
left a comment
There was a problem hiding this comment.
Borderline 4/5 but checks-manifest.yaml diff (+4277/-1453) is disproportionate to the stated fix and reviewDecision is CHANGES_REQUESTED — approve only, flagging for manual look.
|
Closing because this change is already on main. |
|
Hey @t3ratech 👋 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! |
Closes #13922
Summary
_coerce_assignee_idsdrops None/"None"/names/negatives/bools — invalid input warns and creates the task unassigned instead ofint('sarah')→ ValueError abort_coerce_due_date_msaccepts ms timestamps (int/float/digit-string) and ISO; wrong types warn-and-drop instead of silently losing the due date_coerce_prioritycoerces numeric strings + integral floats with 1–4 boundsstr(None)token, non-dict transcript segmentsNew hermetic
test_main.py(21 tests) +clickup-coerce-testsmanifest check.Verification
Failure-Class: none