Files
absdev-deployment/docs/DATABASE-QUALIFICATION.md
T
2026-11-27 15:20:03 +00:00

4.3 KiB

Database Integration Qualification

Qualification status

  • Qualification date: 2026-11-27
  • Development release: 0.1.0-dev.2
  • Qualified source revision: a833665e8b
  • Environment: dedicated isolated ABSDEV-CI virtual machine
  • Python: 3.14.4

Combined results

Qualification category Passed
Framework unit tests 873/873
MySQL data and schema comparisons 6/6
MySQL failure handling 13/13
MySQL partial restoration recovery 10/10
MySQL independent server recovery 11/11
PostgreSQL successful-path qualification 26/26
PostgreSQL failure handling 14/14
PostgreSQL transactional recovery 11/11
PostgreSQL independent cluster recovery 14/14
Combined grouped database checks 105/105

The 105 grouped checks are assertions and verification categories executed by two permanent integration test cases. They are not 105 independent unittest test cases.

Qualified database engines

MySQL

  • Version: 8.4.13
  • Backup format: SQL
  • Backup utility: mysqldump
  • Restore utility: mysql
  • Independent server restoration: verified

Pinned image:

mysql@sha256:8c233bad33d520a7aae1c1e619c3a9775f4a1ba2d463d692fada04ec7f40be00

PostgreSQL

  • Version: 18.7
  • Backup format: PostgreSQL custom archive
  • Backup utility: pg_dump
  • Restore utility: pg_restore
  • Transactional restoration rollback: verified
  • Independent cluster restoration: verified

Pinned image:

postgres@sha256:e742a2668255221388004f3a42b6150a2103f5054ab3a4a93ae9e4f01e551c35

Backup engine qualification

Verified behaviour includes:

  • Strict manifest metadata validation.
  • Duplicate JSON key rejection.
  • Timestamp and database identity validation.
  • SHA-256 backup integrity verification.
  • Rejection of corrupted backup files.
  • Failed backup publication prevention.
  • Partial backup cleanup.
  • Bounded command execution.
  • Rejection of unauthorised execution.
  • Successful backup creation following failures.

Disaster recovery

Both database engines were restored onto independently initialised replacement containers after removal of their original disposable database instances.

Independent storage and database server identities were verified.

Data, schema definitions and database constraints were compared with the original database snapshots.

PostgreSQL identity sequences continued correctly after restoration.

Failure recovery

MySQL qualification demonstrated detection of committed partial restoration changes and recovery through recreation of an isolated restoration target.

PostgreSQL qualification demonstrated transactional rollback following a genuine pg_restore failure, including preservation of existing target data.

Integration execution

Integration tests require:

  • Dedicated ABSDEV-CI hostname.
  • Explicit ABSDEV_INTEGRATION_TESTS=1.
  • Verified immutable database images.
  • An isolated local Docker engine.
  • Sufficient available memory.
  • No conflicting integration containers.

Database containers use restricted resources, no external network connectivity, private storage and verified ownership labels.

Integration tests must not be executed against production database instances.

Qualification evidence

The combined qualification completed successfully with exit status zero.

Evidence includes:

  • Complete qualified framework source snapshot.
  • Both database integration reports.
  • Combined qualification report.
  • Framework regression log.
  • Integration execution log.
  • Four verified database backups.
  • Backup manifests.
  • Source and archive SHA-256 checksums.

Archive identifier:

database-final-20261127-151556

All 96 archived files passed checksum verification.

Remaining limitations

This qualification does not establish production readiness.

Outstanding areas include:

  • Least-privilege production database accounts.
  • Independently enforced database server identity.
  • Cross-version database restoration.
  • Large database performance.
  • Backup authenticity beyond checksum integrity.
  • Trusted production runtime adapters.
  • Complete application and release provenance.
  • Production HTTP and worker containment.
  • Interrupted deployment reconciliation.
  • End-to-end application deployment qualification.

Production deployment, migration, restoration, provisioning and permanent deletion remain disabled.