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

aiidateam / aiida_core / 4439 / 8
67%
develop: 74%

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

14 Nov 2018 09:09AM UTC coverage: 59.25% (+0.03%) from 59.22%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

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

22514 of 37998 relevant lines covered (59.25%)

0.59 hits per line

Source Files on job 4439.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 17
  • Source Changed 14
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 467
  • Travis Job 4439.8
  • c3c90f61 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on fix_2197_drop_calc_state_table (#4433.7)
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