You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addresses the Qodo review on PR The-PR-Agent#2424:
- GitHub publish_inline_comments now records fingerprints only after a publish
path runs without raising, tracks within-batch duplicates in a local set, and
skips dedup on the disable_fallback re-publish. Previously the store was
populated before create_review succeeded, so a 422 fallback retry could be
wrongly skipped and silently drop a comment.
- GitHub fingerprints are anchored on (path, content) instead of the diff
position, which shifts as the PR gains commits; this keeps the fingerprint
stable across runs (the persistent behaviour the feature is about).
- inline_comment_dedup imports get_logger lazily inside the failure path, so the
module no longer imports pr_agent.log at import time and can be imported
standalone without the pre-existing log/config circular-import fragility. The
test no longer needs an import-order workaround.
- isort-format the new multi-line imports in both providers.
The broad except in InlineCommentStore.load() is kept deliberately (fail-open:
dedup must never break comment publishing), matching existing provider patterns.
0 commit comments