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

aiidateam / aiida_core / 4439
67%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 14 Nov 2018 09:19AM UTC
Jobs 4
Files 405
Run time 9min
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

pending completion
4439

Pull #2198

travis-ci

web-flow
Drop the `DbCalcState` table

The `DbCalcState` table was introduced to both keep the current job state
of `JobCalculations` but also to function as a sort of locking mechanism
to ensure only one process was operating on a job at a time, by enforcing
progressive state changes on the database level. In the new system, this
responsibility is taken care of by the `Runner` class that is running the
task corresponding to the job calculation. The calculation state is now
merely set as on the node for informationalpurposes to the user.

Therefore, the simpler solution is to set the job state as a simple attribute
and remove the `DbCalcState`. This also means that the `IMPORTED` calc state
is now obsolete, as that was needed to prevent imported calculations from
being picked up by the daemon, which used to determine what calculations to
run based on its calculation state.
Pull Request #2198: Drop the `DbCalcState` table

62 of 62 new or added lines in 10 files covered. (100.0%)

25594 of 37998 relevant lines covered (67.36%)

2.39 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4439.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 14 Nov 2018 09:19AM UTC 0
60.28
Travis Job 4439.5
6 4439.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 14 Nov 2018 09:26AM UTC 0
60.23
Travis Job 4439.6
7 4439.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 14 Nov 2018 09:28AM UTC 0
59.28
Travis Job 4439.7
8 4439.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 14 Nov 2018 09:28AM UTC 0
59.25
Travis Job 4439.8
Source Files on build 4439
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4439
  • Pull Request #2198
  • PR Base - provenance_redesign (#4433)
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