Skip to content

Releases: reanahub/reana-db

REANA-DB 0.9.4

01 Mar 09:41
Compare
Choose a tag to compare

0.9.4 (2024-03-01)

Code refactoring

Code style

Continuous integration

  • commitlint: addition of commit message linter (#218) (ee0f7e5)
  • commitlint: allow release commit style (#229) (adf15d7)
  • commitlint: check for the presence of concrete PR number (#223) (3d513f6)
  • pytest: move to PostgreSQL 14.10 (#226) (4dac889)
  • release-please: initial configuration (#218) (7c616d6)
  • shellcheck: fix exit code propagation (#223) (b62ee1e)

Documentation

  • authors: complete list of contributors (#227) (3fbcf65)

REANA-DB 0.9.3

01 Dec 11:09
Compare
Choose a tag to compare
  • Changes the Workflow table to replace the run_number column with two new columns run_number_major and run_number_minor in order to allow for more than nine restarts of user workflows.
  • Changes the names of database table, column, index and key constraints in order to follow the SQLAlchemy upstream naming conventions everywhere.
  • Changes several database index definitions in order to improve performance of most common database queries.

REANA-DB 0.9.2

26 Sep 15:27
6271ecd
Compare
Choose a tag to compare
  • Adds progress meter to the logs of the periodic quota updater.
  • Changes CPU and disk quota calculations to improve the performance of periodic quota updater.
  • Fixes the workflow priority calculation to avoid workflows stuck in the queued status when the number of allowed concurrent workflow is set to zero.

REANA-DB 0.9.1

26 Sep 15:26
Compare
Choose a tag to compare
  • Changes to PostgreSQL 12.13.
  • Fixes conversion of possibly-negative resource usage values to human-readable formats.
  • Fixes disk quota updater to prevent setting negative disk quota usage values.
  • Fixes quota updater to reduce memory usage.

REANA-DB 0.9.0

26 Sep 15:26
Compare
Choose a tag to compare
  • Adds new launcher_url column to the Workflow table to store the remote origin of workflows submitted via the Launch-on-REANA functionality.
  • Adds the possibility to force resource quota updates irrespective of globally-configured quota update policy.
  • Adds new WorkspaceRetentionRule table to store workspace file retention rules.
  • Adds new WorkspaceRetentionAuditLog table to store the audit log of workspace file retention rule updates.
  • Changes percentage ranges used to calculate the health status of user resource quota usage.
  • Changes to PostgreSQL 12.10.
  • Fixes wrong numbering of restarted workflows by limiting the number of times a workflow can be restarted to nine.
  • Fixes Workflow.get_workspace_disk_usage to always calculate disk usage rather than relying on the quota usage values from the database, since these may not be up-to-date depending on the global quota update policy.
  • Fixes helper function that retrieves workflows by UUID to also additionally check that the provided user is the owner of the workflow.

REANA-DB 0.8.1

01 Feb 12:39
Compare
Choose a tag to compare
  • Adds an option to periodically calculate CPU quota usage.
  • Changes CLI quota command from disk-usage-update to resource-usage-update since it can also perform CPU quota calculation.
  • Fixes quota update functions to handle exceptional situation as continuable errors.
  • Removes extra QuotaResourceType enum in favor of ResourceType.name.

REANA-DB 0.8.0

01 Feb 12:31
Compare
Choose a tag to compare
  • Adds new disk usage retrieval methods using canonical (bytes) and human-readable (KiB) units. (User, Workflow)
  • Adds Quota models which calculates CPU and disk usage.
  • Adds InteractiveSession model.
  • Adds new properties started_at and finished_at to the Job model, updated on status change.
  • Adds get_priority workflow method, that combines both complexity and concurrency, to pass to the scheduler.
  • Adds a possibility to configure database connection pool parameters via environment variables.
  • Adds new pending state to RunStatus table.
  • Adds workflow complexity property in Workflow table.
  • Adds environment variable to configure which quotas to update.
  • Changes WorkflowStatus table to RunStatus.
  • Changes disk quota calculation functions to allow passing raw bytes to increase the used quota.
  • Changes to PostgreSQL 12.8.
  • Removes support for Python 2.

REANA-DB 0.7.3

24 Mar 10:03
Compare
Choose a tag to compare

REANA-DB 0.7.2

24 Mar 10:02
Compare
Choose a tag to compare
  • Adds utility to status enums to decide whether to clean workflows and jobs depending on their status.

REANA-DB 0.7.1

03 Feb 08:26
Compare
Choose a tag to compare
  • Adds support for Python 3.9.
  • Fixes minor code warnings.
  • Changes CI system to include Python flake8 checker.