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

APSL / django-yubin / 6666310403
77%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2023 11:00AM UTC
Jobs 4
Files 22
Run time 3s
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

27 Oct 2023 11:00AM UTC coverage: 77.209%. Remained the same
6666310403

push

github

web-flow
Fixes #68 -- improve performance of data migration (#69)

* :zap: Fixes #68 -- improve performance of data migration

Tested against a 13GB SQL dump of the email table (~23K records),
within a cgroup with 300M memory limit. The migration completed
in just under 60s.

* Use iterator to avoid loading entire table in memory (for the queryset cache)
* Defer the message content, as it may contain attachments causing excessive
  memory usage - it is not used in the migration anyway.
* Replace loop over log table with 3 separate SQL update queries

* :bug: Do not prevent migration rollbacks

Discussed in the context of #68 - the reverse data migration is not
implemented (deliberately), but that shouldn't prevent people from
rolling back their migrations in dev-environments and while
debugging/diagnosing issues, for example.

171 of 223 branches covered (0.0%)

603 of 781 relevant lines covered (77.21%)

3.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.11 - 6666310403.1 27 Oct 2023 11:01AM UTC 22
77.21
2 3.8 - 6666310403.2 27 Oct 2023 11:01AM UTC 22
77.21
3 3.10 - 6666310403.3 27 Oct 2023 11:01AM UTC 22
77.21
4 3.9 - 6666310403.4 27 Oct 2023 11:01AM UTC 22
77.21
Source Files on build 6666310403
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b9523a87 on github
  • Prev Build on 2.0.1 (#5818449407)
  • Next Build on master (#6667541659)
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

© 2025 Coveralls, Inc