Skip to content

v0.10.2

Choose a tag to compare

@dchuk dchuk released this 26 Feb 08:10
· 273 commits to main since this release
62ded2a

Fixed

  • Association cache pollution in ItemCreator no longer causes cascading validation failures. When source.items.new was used to build new items, failed saves (e.g., invalid URLs) left unsaved records in the association cache. Subsequent source.update! calls triggered Rails' has_many auto-save on the invalid cached items, causing RecordInvalid: Items is invalid errors. Fixed by constructing items via Item.new(source_id:) to bypass the association cache, and by switching FetchRunner's status updates to update_columns for defense-in-depth.