Skip to content

fix: suppress repeated field collision warnings on subsequent syncs - #15

Merged
sthadka merged 2 commits into
mainfrom
fix/suppress-repeated-field-collision-warnings
Jul 27, 2026
Merged

fix: suppress repeated field collision warnings on subsequent syncs#15
sthadka merged 2 commits into
mainfrom
fix/suppress-repeated-field-collision-warnings

Conversation

@sthadka

@sthadka sthadka commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • DiscoverFields re-inferred column names from raw Jira field metadata on every jai sync, ignoring the renamed name already stored in the DB
  • This caused the same ~10 collision warnings to print on every sync run, even though the renames were already persisted
  • Now reuses the stored name for fields that already exist in field_map, so the warning only appears once when a new collision is first detected

Test plan

  • All 258 existing tests pass
  • Run jai sync twice — warnings should appear on the first run only (or not at all if collisions were already resolved)

sthadka added 2 commits July 27, 2026 14:14
DiscoverFields re-inferred column names from raw Jira metadata on every
run, ignoring the renamed name already stored in the DB. This caused
the same collision warnings to print on every jai sync. Now reuses the
stored name for fields that already exist in the field_map table.
@sthadka
sthadka merged commit 707cb10 into main Jul 27, 2026
2 checks passed
@sthadka
sthadka deleted the fix/suppress-repeated-field-collision-warnings branch July 27, 2026 21:16
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.

1 participant