• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

djeedai / bevy_hanabi / 14578296881
66%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2025 05:52PM UTC
Jobs 1
Files 29
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Apr 2025 05:46PM UTC coverage: 39.373% (-0.02%) from 39.388%
14578296881

push

github

web-flow
Mark `CachedParentInfo` as changed if any `CachedChildInfo`did (#451)

Whenever a `CachedChildInfo` is created, then it must be "fixed up" via
the `fixup_parents` system. That system uses a
`Changed<CachedParentInfo>` query filter to determine which parents it
needs to process the children of. Usually, `resolve_parents` will
regenerate the `CachedParentInfo` of every parent with a changed child,
because the `is_child_list_changed` check will notice that the child
entity IDs differ, and thus `fixup_parents` will pick up that
newly-created `CachedParentInfo`. However, `resolve_parents` will skip
regenerating the `CachedParentInfo` if the entity IDs of the children
didn't change (as determined by `is_child_list_changed`). This means
that, if the children changed but for whatever reason their *entity IDs*
didn't, the change flag will never be set on the parent's
`CachedParentInfo`. This means that `fixup_parents` will never process
the `CachedChildInfo`, causing a crash later as the `global_child_index`
will be wrong.

This PR fixes the problem by modifying `resolve_parents` so that,
whenever a new `CachedChildInfo` is built, the parent of that child is
added to a set. Then `resolve_parents` forcibly marks the
`CachedParentInfo` of any parent in that set as changed, even if
`is_child_list_changed` determined that the *contents* of the
`CachedParentInfo` didn't need to change. This ensures that
`fixup_parents` examines those parents and updates the `CachedChildInfo`
of their children, preventing the crash.

0 of 3 new or added lines in 1 file covered. (0.0%)

3027 of 7688 relevant lines covered (39.37%)

17.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
3.54
-0.0% src/render/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 14578296881.1 21 Apr 2025 05:52PM UTC 29
39.37
GitHub Action Run
Source Files on build 14578296881
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0427b515 on github
  • Prev Build on main (#14554380573)
  • Next Build on main (#14602170426)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc