Skip to content

Py: add update_time in select list when list data sync logs - #18867

Merged
JinHai-CN merged 3 commits into
infiniflow:mainfrom
JinHai-CN:fix652
Aug 28, 2026
Merged

JinHai-CN merged 3 commits into
infiniflow:mainfrom
JinHai-CN:fix652

Conversation

@JinHai-CN

Copy link
Copy Markdown
Member

No description provided.

@JinHai-CN
JinHai-CN marked this pull request as ready for review August 27, 2026 09:06
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 27, 2026
@JinHai-CN JinHai-CN added the ci Continue Integration label Aug 27, 2026
@coderabbitai

coderabbitai Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ee705b6b-3eab-4ce7-9ff8-4eaae3ada533

📥 Commits

Reviewing files that changed from the base of the PR and between 621bfdc and ad55373.

📒 Files selected for processing (1)
  • api/db/services/connector_service.py
🚧 Files skipped from review as they are similar to previous changes (1)
  • api/db/services/connector_service.py

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

SyncLogsService.list_sync_tasks now selects SyncLogs.update_time for all database types. The GaussDB-specific field-selection condition was removed.

Changes

Sync task field selection

Layer / File(s) Summary
Always select update time
api/db/services/connector_service.py
list_sync_tasks unconditionally includes update_time in the selected fields and removes the GaussDB-specific append.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to ad553

This is a small, localized change to include update_time in the data-sync log query, with no actionable merge-blocking risk remaining beyond normal checks and review.

Poem

A rabbit checks the fields with care
Update time is now always there
No GaussDB branch to mend
The query follows one clear trend
Hops through sync logs, neat and fair

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided. The repository template requires a Summary section that explains the purpose and background of the change. Add a ### Summary section and briefly describe why SyncLogs.update_time must always be included when listing data sync logs.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding update_time to the select list when listing data sync logs. The wording is concise, although slightly ungrammatical.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Signed-off-by: Jin Hai <[email protected]>
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.08%. Comparing base (fb5ee01) to head (ad55373).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18867   +/-   ##
=======================================
  Coverage   39.08%   39.08%           
=======================================
  Files          54       54           
  Lines       14915    14915           
  Branches      117      117           
=======================================
  Hits         5829     5829           
  Misses       9060     9060           
  Partials       26       26           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JinHai-CN
JinHai-CN merged commit 191d62a into infiniflow:main Aug 28, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant