Prepare ABSDEV Deployment Framework v0.1.0-dev.2 with complete database qualification
This commit is contained in:
@@ -1,5 +1,43 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.1.0-dev.2] - 2026-11-27
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Permanent MySQL 8.4.13 integration qualification.
|
||||||
|
- Permanent PostgreSQL 18.7 integration qualification.
|
||||||
|
- Independent database server and cluster recovery tests.
|
||||||
|
- PostgreSQL transactional restoration rollback tests.
|
||||||
|
- MySQL partial restoration recovery tests.
|
||||||
|
- Database authentication and execution failure tests.
|
||||||
|
- Backup corruption and integrity validation tests.
|
||||||
|
- Dedicated database qualification documentation.
|
||||||
|
|
||||||
|
### Improved
|
||||||
|
|
||||||
|
- Strict backup manifest metadata validation.
|
||||||
|
- Duplicate JSON key rejection.
|
||||||
|
- Timestamp and database identity validation.
|
||||||
|
- Authenticated database readiness checks.
|
||||||
|
- Backup publication safety and failure cleanup.
|
||||||
|
- Dedicated isolated CI runner qualification.
|
||||||
|
|
||||||
|
### Verification
|
||||||
|
|
||||||
|
- 873 permanent framework unit tests passed.
|
||||||
|
- 105 grouped database integration checks passed.
|
||||||
|
- MySQL: 40 grouped checks.
|
||||||
|
- PostgreSQL: 65 grouped checks.
|
||||||
|
- Four original and recovery backups verified.
|
||||||
|
- Independent database server restoration verified.
|
||||||
|
- Complete qualification evidence archived.
|
||||||
|
|
||||||
|
### Safety
|
||||||
|
|
||||||
|
- Production execution remains disabled.
|
||||||
|
- This release is for development and qualification only.
|
||||||
|
- No production deployment readiness claim is made.
|
||||||
|
|
||||||
## 0.1.0-dev.1 — 2026-11-26
|
## 0.1.0-dev.1 — 2026-11-26
|
||||||
|
|
||||||
Initial development preview.
|
Initial development preview.
|
||||||
|
|||||||
@@ -73,3 +73,24 @@ Remote Gitea CI execution remains unverified.
|
|||||||
|
|
||||||
Private reference files, runtime records and credentials
|
Private reference files, runtime records and credentials
|
||||||
must not be included in distributable packages.
|
must not be included in distributable packages.
|
||||||
|
|
||||||
|
|
||||||
|
## Database qualification
|
||||||
|
|
||||||
|
The development framework has passed real database
|
||||||
|
backup and restoration qualification using isolated
|
||||||
|
MySQL 8.4.13 and PostgreSQL 18.7 instances.
|
||||||
|
|
||||||
|
- Framework unit tests: 873 passed.
|
||||||
|
- MySQL grouped integration checks: 40 passed.
|
||||||
|
- PostgreSQL grouped integration checks: 65 passed.
|
||||||
|
- Combined grouped integration checks: 105 passed.
|
||||||
|
|
||||||
|
Independent database recovery, backup failure handling
|
||||||
|
and backup integrity have been verified.
|
||||||
|
|
||||||
|
See [Database Qualification](docs/DATABASE-QUALIFICATION.md)
|
||||||
|
for the qualification scope, evidence and remaining limitations.
|
||||||
|
|
||||||
|
This development release is not approved for production
|
||||||
|
deployment execution.
|
||||||
|
|||||||
@@ -0,0 +1,156 @@
|
|||||||
|
# Database Integration Qualification
|
||||||
|
|
||||||
|
## Qualification status
|
||||||
|
|
||||||
|
- Qualification date: 2026-11-27
|
||||||
|
- Development release: 0.1.0-dev.2
|
||||||
|
- Qualified source revision:
|
||||||
|
a833665e8bc54584f4533533bdca1434d437651f
|
||||||
|
- 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.
|
||||||
@@ -40,3 +40,20 @@ Production execution must remain disabled until
|
|||||||
the applicable gates have been satisfied.
|
the applicable gates have been satisfied.
|
||||||
|
|
||||||
Do not run database integration tests on ABSDEV.
|
Do not run database integration tests on ABSDEV.
|
||||||
|
|
||||||
|
|
||||||
|
## Database qualification milestone - 2026-11-27
|
||||||
|
|
||||||
|
Real isolated database integration qualification has
|
||||||
|
been completed for MySQL 8.4.13 and PostgreSQL 18.7.
|
||||||
|
|
||||||
|
The combined qualification passed 105 grouped integration
|
||||||
|
checks alongside 873 framework unit tests.
|
||||||
|
|
||||||
|
This closes the development database qualification
|
||||||
|
milestone but does not close the production readiness gates.
|
||||||
|
|
||||||
|
See [Database Qualification](DATABASE-QUALIFICATION.md)
|
||||||
|
for verified capabilities and remaining limitations.
|
||||||
|
|
||||||
|
Production execution remains disabled.
|
||||||
|
|||||||
Reference in New Issue
Block a user