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

esnet-security / SCRAM / 16124880920 / 1
95%
develop: 94%

Build:
Build:
LAST BUILD BRANCH: topic/test-coveralls
DEFAULT BRANCH: develop
Ran 07 Jul 2025 06:34PM UTC
Files 47
Run time 2s
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

07 Jul 2025 06:26PM UTC coverage: 95.004%. Remained the same
16124880920.1

push

github

web-flow
fix(route_manager history): move history update to after model save (#160)

We need to actually update the Entry change reason after we save the
Entry model which then creates a history model for that change. Before,
we were doing it in the serializer before the model is saved, which
means that the query to the DB that looks for the appropriate
historical_entry instance doesn't find anything because it's looking for
the historical entry that hasn't been saved yet.

This is related to #138 and actually, I think, would have fixed it, but
we came at it from a different (and frankly, I guess, wrong) angle.
Because update_change_reason only **_edits_** a historical entry, not
create a new one, but I was originally assuming that this function call
was what created the historical entry in the first place. In #138 we
"fixed" this issue by making sure that the database migrations went and
edited all the history to have the default value which then means we
technically were editing the comment for the wrong history entry.

58 of 61 branches covered (95.08%)

Branch coverage included in aggregate %.

1197 of 1260 relevant lines covered (95.0%)

0.95 hits per line

Source Files on job 16124880920.1
  • Tree
  • List 47
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 16124880920
  • 422e5cf2 on github
  • Prev Job for on main (#15737761040.1)
  • Next Job for on main (#16175132403.1)
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