Skip to content

[DX-4303] [DX-4148] Test_Service_syncNodeInfoWithRetry/update_chain#22688

Open
kalverra wants to merge 3 commits into
developfrom
DX-4303
Open

[DX-4303] [DX-4148] Test_Service_syncNodeInfoWithRetry/update_chain#22688
kalverra wants to merge 3 commits into
developfrom
DX-4303

Conversation

@kalverra
Copy link
Copy Markdown
Collaborator

@kalverra kalverra commented May 29, 2026

Used the fix-flaky-tests skill to fix DX-4303.

Copilot AI review requested due to automatic review settings May 29, 2026 18:04
@kalverra kalverra requested review from a team as code owners May 29, 2026 18:04
@github-actions
Copy link
Copy Markdown
Contributor

👋 kalverra, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

✅ No conflicts with other open PRs targeting develop

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes flakiness in Test_Service_syncNodeInfoWithRetry/update_chain by filtering observed log messages to only those emitted by syncNodeInfoWithRetry (excluding unrelated noise from other goroutines) and increasing the eventual-assertion timeout. Also adds minor documentation updates to the fix-flaky-tests skill.

Changes:

  • Add syncNodeInfoLogMessages / filterSyncNodeInfoLogMessages helpers and switch the flaky test to use them with a longer (5s) timeout and tighter (5ms) poll interval.
  • Add unit tests for the new log-filtering helpers in a new log_messages_test.go.
  • Document a diagnose iteration table and tighten Jira reference STOP conditions in the fix-flaky-tests skill.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

File Description
core/services/feeds/service_test.go Filter logs to sync-node-info entries and bump timeout to stabilize test
core/services/feeds/log_messages_test.go New unit tests for the log filter helpers
tools/test/.agents/skills/fix-flaky-tests/SKILL.md Add iteration-vs-flake-probability reference table
tools/test/.agents/skills/fix-flaky-tests/references/jira.md Clarify Atlassian MCP availability/authentication STOP conditions

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 29, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@kalverra kalverra enabled auto-merge May 29, 2026 18:24
@kalverra kalverra changed the title [DX-4303] Test_Service_syncNodeInfoWithRetry/update_chain [DX-4303] [DX-4148] Test_Service_syncNodeInfoWithRetry/update_chain May 29, 2026
Comment thread .antigravitycli/d2ba304a-a87e-48a9-a126-97b316fc2f50.json Outdated
@cl-sonarqube-production
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants