FIX-FORWARD PR #284: register the archive source_uid migration, add fresh-install + upgrade + import tests - #298
FIX-FORWARD PR #284: register the archive source_uid migration, add fresh-install + upgrade + import tests#298jaylfc wants to merge 2 commits into
Conversation
…de, and a2a_import tests
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
Caution Review failedAn error occurred during the review process. Please try again later. 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 |
| ``POST /a2a/send`` ``{"from", "body", "thread"?, "reply_to"?, "refs"?, "blocks"?}`` -> send receipt | ||
| ``refs``: optional list (<=8) of ``{"kind": doc|report|spec|log, "title", "uri", "sha256"?, "doc_id"?, "version"?, "for"?, "summary"?}`` | ||
| ``blocks``: optional list of arbitrary objects (no schema validation); when present, ``body`` must be non-empty | ||
| <<<<<<< HEAD |
There was a problem hiding this comment.
CRITICAL: Merge conflict markers left in module docstring
Lines 108 (<<<<<<< HEAD), 113 (=======), and 118 (>>>>>>>) are unresolved merge conflict markers inside the module docstring. The other branch removed GET /a2a/threads and GET /a2a/threads/{thread}/messages from the endpoint table, but those handlers still exist in http_server.py (lines 1726-1744). The resolved docstring should include the new POST /a2a/import alongside the existing A2A endpoints, and all conflict markers must be removed.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| __all__ = ["ingest", "search", "pending_list", "pending_resolve", "reconcile", "stats", | ||
| "supersede", "fetch_by_ref", "a2a_send", "a2a_feed", "a2a_channels", "a2a_members", | ||
| "a2a_threads", "a2a_thread_messages", | ||
| "supersede", "a2a_send", "a2a_import", "a2a_feed", "a2a_channels", "a2a_members", |
There was a problem hiding this comment.
WARNING: __all__ silently drops public API functions
fetch_by_ref (service.py:346), a2a_threads (service.py:689), and a2a_thread_messages (service.py:776) still exist in the module but were removed from __all__. Any code using from taosmd.service import * will no longer receive these names. Either restore them to __all__ or remove the functions if they are being deprecated.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 2 Issues Found | Recommendation: Address before merge Overview| Severity | Count | Issue Details (click to expand)CRITICAL
WARNING
Files Reviewed (7 files)
Fix these issues in Kilo Cloud Reviewed by step-3.7-flash · Input: 164.9K · Output: 36.3K · Cached: 1.1M |
Review: BLOCKEDTwo blockers, both from the same root cause: the All four checks are green, the full suite is 1400 passed / 12 skipped / 0 failed on the trial-merged tree, and neither blocker is visible to any of that. That is the interesting part, so I have written down why in each case. B1 (CRITICAL): unresolved conflict markers are on the head commit
Same scan against Why every check stayed green: the markers sit inside the module docstring, so they are string content. The fix is a union, not a deletion. Please do not just remove the markers and keep one side, because both sides carry content the other drops:
B2 (HIGH):
|
|
Closing this in favour of the revision card To be clear about why: the migration work on this branch is correct and I am not asking for it back. The red witness is clean (removing What is wrong is purely the carry-forward squash: unresolved conflict markers committed into the I am closing rather than leaving this open because a blocked PR has no revision path in this fleet, and because closing it frees the throttle slot and un-blocks the one-PR-per-task guard so the follow-up can open cleanly. This is the same route #260 took to a merged #299.
|
CARD TITLE (intent, not commit subject): FIX-FORWARD PR #284: register the archive source_uid migration, add fresh-install + upgrade + import tests
Autonomous build of board card tsk-uyznqh.
Files:
taosmd/capabilities.py | 3 +-
taosmd/http_server.py | 34 +++-
taosmd/migrations.py | 25 +++
taosmd/remote.py | 18 ++
taosmd/service.py | 184 ++++++++++++++++++++-
tests/test_a2a.py | 31 ++++
tests/test_migrations.py | 93 ++++++++++-
10 files changed, 430 insertions(+), 13 deletions(-)