Skip to content

fix ut - #21714

Merged
yingfeng merged 1 commit into
infiniflow:mainfrom
yingfeng:fixut
Oct 29, 2026
Merged

fix ut#21714
yingfeng merged 1 commit into
infiniflow:mainfrom
yingfeng:fixut

Conversation

@yingfeng

Copy link
Copy Markdown
Member

No description provided.

@yingfeng yingfeng added the ci Continue Integration label Oct 29, 2026
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fee26b1b-68f3-43c8-afaa-802b690dcf64
Commits

Reviewing files that changed from the base of the PR and between c10fc53 and 05dabcb.

Files selected for processing: 1
  • internal/syncer/connector/jira_test.go

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The Jira window test now passes each issue’s update timestamp to jiraFixtureIssue. The in-window and past-window timestamps remain unchanged.

Changes: Jira test fixture update

Layer / File(s) Summary
Pass timestamps through the fixture helper
internal/syncer/connector/jira_test.go
The test passes the 10:00:00 and 10:00:45 timestamps to jiraFixtureIssue instead of assigning fields.updated afterward.

Priority: Low

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

Change: Bug fix

Possibly related PRs

Suggested labels: 🐞 bug, 🧪 test, go

Suggested reviewers: flyingwhit

Merge Risk: Minimal · up to 05dab

The test fixture change preserves the intended timestamps and does not introduce a merge-blocking risk.

Pre-merge checks: Passed 3 · Failed 1 · Inconclusive 1

Failed Failed checks: 1 warning · 1 inconclusive

Check name Status Explanation Resolution
Description check Warning The pull request has no description. It does not include the required Summary section or explain the test fixture change. Add a Summary section that explains the unit test issue, the fixture change in internal/syncer/connector/jira_test.go, and the expected result.
Title check Inconclusive The title "fix ut" is too vague. It may refer to unit tests, but it does not clearly identify the Jira test fixture change. Replace the title with a specific summary, such as "Fix Jira bulk-fetch test timestamps".
Passed Passed checks: 3 passed
Check name Status Explanation
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the Jira clock,
Two timestamps hop into place.
The fixture takes them at creation,
No later field assignment to trace.
The window test is neat and clear,
Then the rabbit bounds away.

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

@yingfeng
yingfeng merged commit a609e62 into infiniflow:main Oct 29, 2026
5 checks passed
flyingwhit pushed a commit to flyingwhit/ragflow that referenced this pull request Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant