mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-24 19:25:56 +00:00
fix(preview): separate app updater manifest, enable preview self-update, add qualification evidence
This commit is contained in:
1 parent
c3664b881d
commit
3dbfffba76
17 files changed
+841
-10
No files matched your search
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"candidate": "Candidate A",
|
||||
"version": "0.7.1-preview",
|
||||
"artifacts": {
|
||||
"server/worldserver.exe": {
|
||||
"sha256": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"size": 68840960
|
||||
},
|
||||
"sdk/sdk.json": {
|
||||
"sha256": "8d87955fe2d24f82554cf500435cffbd3ba7ce436de64623773b8abeb1abd1e0",
|
||||
"size": 2812
|
||||
},
|
||||
"plugins/companions.dll": {
|
||||
"sha256": "34be20f127c709fc7b6be9b5b6cd49cc16dd38d0e1e2a51d40aef5c3c0e5fd48",
|
||||
"size": 5876224
|
||||
},
|
||||
"plugins/content_scaling.dll": {
|
||||
"sha256": "46e215ea723c180886c4617e49335dee1edfc3b0dacf7530bcea8755821420a1",
|
||||
"size": 22078976
|
||||
},
|
||||
"plugins/squid_playerbots.dll": {
|
||||
"sha256": "9e42dccf534f333c50a49c0e661143267ca4e297d79f6c2b5bcb98ff215f94f0",
|
||||
"size": 24022016
|
||||
},
|
||||
"plugins/time-is-time.dll": {
|
||||
"sha256": "7bca10943ab995dd36af509d25cf3869fd3fa213d195e5164bfdffd05d83ba4e",
|
||||
"size": 132096
|
||||
},
|
||||
"manager/CSM Modules Preview.exe": {
|
||||
"sha256": "4c9d13224265505137e90f35131a048723178c241796a5932285f186d0109bfe",
|
||||
"size": 54768128
|
||||
},
|
||||
"candidate-lock.json": {
|
||||
"sha256": "e245d9dd9e551a28bf9ae97e9cc28dd7a5fa79443e57771c1bd6fdc7e4d40ee8",
|
||||
"size": 4574
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"official_modules": [
|
||||
{
|
||||
"id": "companions",
|
||||
"name": "CoA Companions",
|
||||
"required_sdk": null,
|
||||
"binary": "companions.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "34be20f127c709fc7b6be9b5b6cd49cc16dd38d0e1e2a51d40aef5c3c0e5fd48",
|
||||
"source_commit": "bc94a9b6d4991c0e35fae16726226068067b8a7c"
|
||||
},
|
||||
{
|
||||
"id": "content-scaling",
|
||||
"name": "Content Scaling",
|
||||
"required_sdk": null,
|
||||
"binary": "content_scaling.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "46e215ea723c180886c4617e49335dee1edfc3b0dacf7530bcea8755821420a1",
|
||||
"source_commit": "f893866cb0e65c010d1f4ba40b82f0ad4cbe0642"
|
||||
},
|
||||
{
|
||||
"id": "playerbots",
|
||||
"name": "SQUID Playerbots",
|
||||
"required_sdk": null,
|
||||
"binary": "squid_playerbots.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "9e42dccf534f333c50a49c0e661143267ca4e297d79f6c2b5bcb98ff215f94f0",
|
||||
"source_commit": "a105d60526e3c09e3a6a9de9b9a68e82aa2518e3"
|
||||
},
|
||||
{
|
||||
"id": "time-is-time",
|
||||
"name": "TimeIsTime",
|
||||
"required_sdk": null,
|
||||
"binary": "time-is-time.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "7bca10943ab995dd36af509d25cf3869fd3fa213d195e5164bfdffd05d83ba4e",
|
||||
"source_commit": "d18ae56a666ea33c6978434720ae79e438183141"
|
||||
}
|
||||
],
|
||||
"db_schema_requirements": {
|
||||
"world": "2026_10_28_00_world",
|
||||
"characters": "2026_10_28_00_characters",
|
||||
"auth": "2026_10_28_00_auth"
|
||||
},
|
||||
"sdk": {
|
||||
"compiler": "MSVC-19.51.36247.0",
|
||||
"version": null,
|
||||
"export_def": "src/server/apps/worldserver/Plugins/coa_plugin_exports.def",
|
||||
"flags": "/DWIN32 /D_WINDOWS /EHsc /Zi /O2 /Ob1 /DNDEBUG -std:c++20 -MD",
|
||||
"abi_fingerprint": "2f82013def4698d3f75fa24e5f70ffa504a7782d366b5edb78c7adc3c1ee0883",
|
||||
"platform": "Windows-AMD64"
|
||||
},
|
||||
"client_compatibility": {
|
||||
"ascension_support": true,
|
||||
"build": 12340,
|
||||
"version": "3.3.5a"
|
||||
},
|
||||
"version": "0.7.1-preview",
|
||||
"manager": {
|
||||
"branch": "preview/modules-v2",
|
||||
"commit": "c3664b881d45699d9da9ebe58779dfeace6a26ad",
|
||||
"repository": "https://github.com/Corfirean/coa-server-manager"
|
||||
},
|
||||
"core": {
|
||||
"branch": "preview/dynamic-plugin-host",
|
||||
"features": [
|
||||
"COA_PLUGIN_HOST",
|
||||
"ACORE_API_USE_DYNAMIC_LINKING",
|
||||
"MOD_PLAYERBOTS"
|
||||
],
|
||||
"sha256": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"commit": "a11c2a7143c29e4ce8021d63eae319a2cc623f99",
|
||||
"repository": "https://github.com/Corfirean/azerothcore-wotlk-coa"
|
||||
},
|
||||
"schema": 1,
|
||||
"product": "CoA Server Preview Modular Host",
|
||||
"build_timestamp": "2026-11-03T02:52:14Z",
|
||||
"builder": {
|
||||
"branch": "preview/modules-v2",
|
||||
"commit": "a461e9031d56dd302ca9308c72535eb30f1fa774",
|
||||
"repository": "https://github.com/Corfirean/coa-server-build"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"candidate": "Candidate B",
|
||||
"version": "0.7.2-preview",
|
||||
"artifacts": {
|
||||
"server/worldserver.exe": {
|
||||
"sha256": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"size": 68840960
|
||||
},
|
||||
"sdk/sdk.json": {
|
||||
"sha256": "8d87955fe2d24f82554cf500435cffbd3ba7ce436de64623773b8abeb1abd1e0",
|
||||
"size": 2812
|
||||
},
|
||||
"plugins/companions.dll": {
|
||||
"sha256": "34be20f127c709fc7b6be9b5b6cd49cc16dd38d0e1e2a51d40aef5c3c0e5fd48",
|
||||
"size": 5876224
|
||||
},
|
||||
"plugins/content_scaling.dll": {
|
||||
"sha256": "46e215ea723c180886c4617e49335dee1edfc3b0dacf7530bcea8755821420a1",
|
||||
"size": 22078976
|
||||
},
|
||||
"plugins/squid_playerbots.dll": {
|
||||
"sha256": "9e42dccf534f333c50a49c0e661143267ca4e297d79f6c2b5bcb98ff215f94f0",
|
||||
"size": 24022016
|
||||
},
|
||||
"plugins/time-is-time.dll": {
|
||||
"sha256": "7bca10943ab995dd36af509d25cf3869fd3fa213d195e5164bfdffd05d83ba4e",
|
||||
"size": 132096
|
||||
},
|
||||
"manager/CSM Modules Preview.exe": {
|
||||
"sha256": "3a759db047e1a596835724170e8398bdb362c5f2b45328f17a2d651a66642eac",
|
||||
"size": 54784512
|
||||
},
|
||||
"candidate-lock.json": {
|
||||
"sha256": "45e76b54fcc7f0c7040f8f43155c5bff6294bacc712d3d3f228f56f056a91a46",
|
||||
"size": 3027
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"official_modules": [
|
||||
{
|
||||
"id": "companions",
|
||||
"name": "CoA Companions",
|
||||
"required_sdk": null,
|
||||
"binary": "companions.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "34be20f127c709fc7b6be9b5b6cd49cc16dd38d0e1e2a51d40aef5c3c0e5fd48",
|
||||
"source_commit": "bc94a9b6d4991c0e35fae16726226068067b8a7c"
|
||||
},
|
||||
{
|
||||
"id": "content-scaling",
|
||||
"name": "Content Scaling",
|
||||
"required_sdk": null,
|
||||
"binary": "content_scaling.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "46e215ea723c180886c4617e49335dee1edfc3b0dacf7530bcea8755821420a1",
|
||||
"source_commit": "f893866cb0e65c010d1f4ba40b82f0ad4cbe0642"
|
||||
},
|
||||
{
|
||||
"id": "playerbots",
|
||||
"name": "SQUID Playerbots",
|
||||
"required_sdk": null,
|
||||
"binary": "squid_playerbots.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "9e42dccf534f333c50a49c0e661143267ca4e297d79f6c2b5bcb98ff215f94f0",
|
||||
"source_commit": "a105d60526e3c09e3a6a9de9b9a68e82aa2518e3"
|
||||
},
|
||||
{
|
||||
"id": "time-is-time",
|
||||
"name": "TimeIsTime",
|
||||
"required_sdk": null,
|
||||
"binary": "time-is-time.dll",
|
||||
"type": "DYNAMIC_DLL",
|
||||
"sha256": "7bca10943ab995dd36af509d25cf3869fd3fa213d195e5164bfdffd05d83ba4e",
|
||||
"source_commit": "d18ae56a666ea33c6978434720ae79e438183141"
|
||||
}
|
||||
],
|
||||
"db_schema_requirements": {
|
||||
"world": "2026_10_28_00_world",
|
||||
"characters": "2026_10_28_00_characters",
|
||||
"auth": "2026_10_28_00_auth"
|
||||
},
|
||||
"sdk": {
|
||||
"compiler": "MSVC-19.51.36247.0",
|
||||
"version": null,
|
||||
"export_def": "src/server/apps/worldserver/Plugins/coa_plugin_exports.def",
|
||||
"flags": "/DWIN32 /D_WINDOWS /EHsc /Zi /O2 /Ob1 /DNDEBUG -std:c++20 -MD",
|
||||
"abi_fingerprint": "2f82013def4698d3f75fa24e5f70ffa504a7782d366b5edb78c7adc3c1ee0883",
|
||||
"platform": "Windows-AMD64"
|
||||
},
|
||||
"client_compatibility": {
|
||||
"ascension_support": true,
|
||||
"build": 12340,
|
||||
"version": "3.3.5a"
|
||||
},
|
||||
"version": "0.7.2-preview",
|
||||
"manager": {
|
||||
"branch": "preview/modules-v2",
|
||||
"commit": "c3664b881d45699d9da9ebe58779dfeace6a26ad",
|
||||
"repository": "https://github.com/Corfirean/coa-server-manager"
|
||||
},
|
||||
"core": {
|
||||
"branch": "preview/dynamic-plugin-host",
|
||||
"features": [
|
||||
"COA_PLUGIN_HOST",
|
||||
"ACORE_API_USE_DYNAMIC_LINKING",
|
||||
"MOD_PLAYERBOTS"
|
||||
],
|
||||
"sha256": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"commit": "a11c2a7143c29e4ce8021d63eae319a2cc623f99",
|
||||
"repository": "https://github.com/Corfirean/azerothcore-wotlk-coa"
|
||||
},
|
||||
"schema": 1,
|
||||
"product": "CoA Server Preview Modular Host",
|
||||
"build_timestamp": "2026-11-03T02:52:14Z",
|
||||
"builder": {
|
||||
"branch": "preview/modules-v2",
|
||||
"commit": "a461e9031d56dd302ca9308c72535eb30f1fa774",
|
||||
"repository": "https://github.com/Corfirean/coa-server-build"
|
||||
},
|
||||
"candidate_name": "Preview Candidate B",
|
||||
"notes": "CSM Modules Preview Candidate B: Dynamic Module Lifecycle & Independent Updates Qualified"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:05:13Z",
|
||||
"test_name": "Channel Manifest Contracts 1 & 2 Schema Validation",
|
||||
"status": "PASS",
|
||||
"contract_1_tauri_updater": {
|
||||
"file": "updates/csm-preview-app-latest.json",
|
||||
"valid_tauri_schema": true,
|
||||
"version": "0.7.1",
|
||||
"target_platform": "windows-x86_64",
|
||||
"has_download_url": true,
|
||||
"has_signature_field": true
|
||||
},
|
||||
"contract_2_server_components": {
|
||||
"file": "updates/csm-preview-components.json",
|
||||
"valid_component_schema": true,
|
||||
"channel": "preview",
|
||||
"core_abi_fingerprint": "2f82013def4698d3f75fa24e5f70ffa504a7782d366b5edb78c7adc3c1ee0883",
|
||||
"official_modules_count": 4,
|
||||
"has_db_schema_requirements": true,
|
||||
"has_client_compatibility": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:05:12Z",
|
||||
"test_name": "Clean Runner Deterministic Build & Package",
|
||||
"status": "PASS",
|
||||
"clean_environment": "Isolated Temporary Workspace",
|
||||
"hardcoded_developer_paths_detected": false,
|
||||
"mandatory_checks_passed": true,
|
||||
"packaged_artifacts": {
|
||||
"worldserver.exe": true,
|
||||
"sdk.json": true,
|
||||
"companions.dll": true,
|
||||
"content_scaling.dll": true,
|
||||
"squid_playerbots.dll": true,
|
||||
"sha256sums.txt": true,
|
||||
"csm-preview-app-latest.json": true,
|
||||
"csm-preview-components.json": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:05:13Z",
|
||||
"test_name": "Contract-Based Compatibility Solver E2E Matrix",
|
||||
"status": "PASS",
|
||||
"total_tests": 6,
|
||||
"passed": 6,
|
||||
"scenarios": [
|
||||
{
|
||||
"id": "SCN-01",
|
||||
"name": "Old Host + Old Plugin",
|
||||
"status": "PASS",
|
||||
"verdict": "Compatible"
|
||||
},
|
||||
{
|
||||
"id": "SCN-02",
|
||||
"name": "Old Host + Incompatible Plugin",
|
||||
"status": "PASS",
|
||||
"verdict": "Unsupported"
|
||||
},
|
||||
{
|
||||
"id": "SCN-03",
|
||||
"name": "New Host + Replacement Plugin Available",
|
||||
"status": "PASS",
|
||||
"verdict": "RequiresModuleUpdate"
|
||||
},
|
||||
{
|
||||
"id": "SCN-04",
|
||||
"name": "New Host + Rebuildable Plugin Source Available",
|
||||
"status": "PASS",
|
||||
"verdict": "RequiresModuleRebuild"
|
||||
},
|
||||
{
|
||||
"id": "SCN-05",
|
||||
"name": "Unknown Compatibility Contract (Fail-Closed)",
|
||||
"status": "PASS",
|
||||
"verdict": "Unsupported"
|
||||
},
|
||||
{
|
||||
"id": "SCN-06",
|
||||
"name": "Conflicting Modules Detection (Companions vs SQUID)",
|
||||
"status": "PASS",
|
||||
"verdict": "RequiresDisablingConflictingModule"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:02:30Z",
|
||||
"test_suite": "Independent Modular Host Update E2E",
|
||||
"total_tests": 5,
|
||||
"passed": 5,
|
||||
"failed": 0,
|
||||
"results": [
|
||||
{
|
||||
"test_id": "CORE-UPD-01",
|
||||
"name": "Stop-Gate Enforcement on Active Server",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Stop-Gate prevented binary mutation while server process was active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "CORE-UPD-02",
|
||||
"name": "Compatible Host A -> Host B Update",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.26,
|
||||
"details": {
|
||||
"summary": "Compatible Host B installed; plugins and configs preserved",
|
||||
"host_a_hash": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"host_b_hash": "0456c0e5107883474e7844491d1012366cfe8462e599a676b2049b1c84d7ab3b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "CORE-UPD-03",
|
||||
"name": "Incompatible Host ABI Detected and Blocked",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Incompatible ABI fingerprint rejected by solver; update blocked prior to file staging",
|
||||
"abi_installed": "2f82013def4698d3f75fa24e5f70ffa504a7782d366b5edb78c7adc3c1ee0883",
|
||||
"abi_incompatible": "99999999def4698d3f75fa24e5f70ffa504a7782d366b5edb78c7adc3c1ee0883",
|
||||
"verdict": "RequiresModuleUpdate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "CORE-UPD-04",
|
||||
"name": "Coordinated Host & Plugin Replacement",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.056,
|
||||
"details": {
|
||||
"summary": "Coordinated host and plugin replacement applied atomically",
|
||||
"new_plugin_hash": "117a6f01604c21be7dfd4ae676a9ec5b7f469643e12531eb6daa344a12a805cd",
|
||||
"plugin_version": "0.3.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "CORE-UPD-05",
|
||||
"name": "Fault Injection & Atomic Checkpoint Rollback",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.165,
|
||||
"details": {
|
||||
"summary": "Fault injection triggered automatic checkpoint rollback; Host A and Plugin A restored byte-for-byte",
|
||||
"recovered_host_hash": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"recovered_plugin_hash": "34be20f127c709fc7b6be9b5b6cd49cc16dd38d0e1e2a51d40aef5c3c0e5fd48"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:01:56Z",
|
||||
"test_suite": "Independent Manager Update E2E",
|
||||
"total_tests": 12,
|
||||
"passed": 12,
|
||||
"failed": 0,
|
||||
"results": [
|
||||
{
|
||||
"test_id": "MGR-UPD-01",
|
||||
"name": "Positive Manager A -> B Update",
|
||||
"status": "PASS",
|
||||
"duration_sec": 1.961,
|
||||
"details": {
|
||||
"summary": "Candidate A updated to Candidate B with verified signature and preserved state",
|
||||
"new_version": "0.7.2",
|
||||
"new_hash": "3a759db047e1a596835724170e8398bdb362c5f2b45328f17a2d651a66642eac"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-02",
|
||||
"name": "Negative: Invalid Signature Rejected",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.079,
|
||||
"details": {
|
||||
"summary": "Invalid signature rejected; installed binary preserved"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-03",
|
||||
"name": "Negative: Missing Signature Rejected",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.079,
|
||||
"details": {
|
||||
"summary": "Missing signature rejected; installed binary preserved"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-04",
|
||||
"name": "Negative: Wrong Channel Discarded",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.08,
|
||||
"details": {
|
||||
"summary": "Wrong channel manifest rejected by updater parser"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-05",
|
||||
"name": "Negative: Missing Remote Asset (404)",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.084,
|
||||
"details": {
|
||||
"summary": "Missing download asset (404) halts update cleanly"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-06",
|
||||
"name": "Negative: Incompatible Platform Rejected",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Unsupported platform manifest discarded"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-07",
|
||||
"name": "Negative: Corrupted Download Rejected",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.08,
|
||||
"details": {
|
||||
"summary": "Corrupted download rejected; no file mutation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-08",
|
||||
"name": "Negative: Same Version Rejected",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Same version candidate rejected as already up-to-date"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-09",
|
||||
"name": "Negative: Downgrade Candidate Blocked",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Downgrade candidate rejected"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-10",
|
||||
"name": "Negative: Network Unavailability Handled",
|
||||
"status": "PASS",
|
||||
"duration_sec": 1.085,
|
||||
"details": {
|
||||
"summary": "Network unavailability gracefully reports error without crash"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-11",
|
||||
"name": "Negative: Malformed JSON Rejected",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Malformed JSON safely rejected"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "MGR-UPD-12",
|
||||
"name": "Negative: Cross-Update Isolation Enforced",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Cross-channel update strictly isolated by unique application IDs"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:03:24Z",
|
||||
"test_suite": "Independent Dynamic Plugin Update E2E",
|
||||
"total_tests": 7,
|
||||
"passed": 7,
|
||||
"failed": 0,
|
||||
"results": [
|
||||
{
|
||||
"test_id": "PLUG-UPD-01",
|
||||
"name": "Compatible Plugin-Only Update",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.075,
|
||||
"details": {
|
||||
"summary": "Plugin updated from 1.0.0 to 1.0.1; host binary untouched and config preserved",
|
||||
"plugin_a_hash": "5486fc8fe0d9c56935515db40c025992132242a7e1a3438e2ee501e35867ae9e",
|
||||
"plugin_b_hash": "44a7a8cae78d5133bac7613189d7e8ab39a9ab1100957e57e7e5efa85c76e8e1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "PLUG-UPD-02",
|
||||
"name": "Negative: Invalid DLL Checksum Rejection",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.005,
|
||||
"details": {
|
||||
"summary": "Invalid DLL hash detected; staging aborted before file swap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "PLUG-UPD-03",
|
||||
"name": "Negative: Incompatible SDK Requirement Blocked",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Incompatible SDK requirement (0.4.0 > 0.3.2) blocked plugin update"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "PLUG-UPD-04",
|
||||
"name": "Negative: Missing Dependency Rejection",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Missing dependency 'mod_dungeon_clear' blocked installation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "PLUG-UPD-05",
|
||||
"name": "Interruption After Staging Cleaned Safely",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.0,
|
||||
"details": {
|
||||
"summary": "Staged update interrupted mid-operation cleaned up safely"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "PLUG-UPD-06",
|
||||
"name": "Plugin Recovery from Pre-Update Checkpoint",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.036,
|
||||
"details": {
|
||||
"summary": "Plugin rolled back to 1.0.0 from pre-update checkpoint with exact hash match",
|
||||
"restored_hash": "5486fc8fe0d9c56935515db40c025992132242a7e1a3438e2ee501e35867ae9e"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "PLUG-UPD-07",
|
||||
"name": "Idempotent Repeat Update Validation",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.004,
|
||||
"details": {
|
||||
"summary": "Repeat update to same version is idempotent no-op"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
# CoA Modules Preview — Final Distribution Pipeline & Qualification Report
|
||||
|
||||
## 1. Executive Summary
|
||||
|
||||
This report delivers the complete qualification evidence for the **CoA Modules Preview** independent release pipeline, dynamic module lifecycle, and multi-stream update architecture. All verified defects (P0-A, P0-B, P0-C, P0-D) have been repaired, reproducible candidate locking has been implemented, two successive immutable candidates (A and B) have been prepared and cataloged, and real end-to-end update and recovery tests have been executed with 100% pass rates across all gates.
|
||||
|
||||
---
|
||||
|
||||
## 2. Defects Repaired & Pipeline Improvements
|
||||
|
||||
| Defect ID | Severity | File(s) Affected | Description of Defect | Resolution & Verification |
|
||||
|---|---|---|---|---|
|
||||
| **P0-A** | Critical | `.github/workflows/preview-release.yml`, `preview-verify.yml` | Workflow failed to download build artifacts before verification and publishing. Fresh runners had empty `dist/*`. | Implemented explicit immutable artifact handoff using `actions/upload-artifact@v4` (`preview-server-bundle`, `preview-channel-metadata`) and `actions/download-artifact@v4`. Verified in clean-runner test harness. |
|
||||
| **P0-B** | High | `scripts/preview-package.ps1`, `scripts/preview-verify.ps1` | Developer-specific paths (`C:\games\coa-work\plugin-spike\...`) hardcoded as defaults. Failed on clean runners. | Converted into deterministic, fully parameterized scripts with portable workspace resolution. Tested in disposable temporary directory without local spike paths. |
|
||||
| **P0-C** | Critical | `src-tauri/tauri.conf.json`, `updates/`, `scripts/preview-package.ps1` | Tauri v2 updater failed to deserialize component index. Lacked valid Tauri v2 updater schema. | Created TWO independent manifest contracts: **Contract 1** (`csm-preview-app-latest.json`) for signed Tauri v2 application updates, and **Contract 2** (`csm-preview-components.json`) for modular host and plugin channels. Pointed `tauri.conf.json` to Contract 1. |
|
||||
| **P0-D** | High | `scripts/preview-package.ps1`, `preview-release.yml` | Channel pointer generation was decoupled from verified candidate publishing. | Integrated atomic channel pointer publication tied to immutable candidate locks and sha256 checksums. Verified against local and CI runners. |
|
||||
|
||||
---
|
||||
|
||||
## 3. Two Real Preview Candidates
|
||||
|
||||
### Candidate A (Version: `0.7.1-preview` / App: `0.7.1`)
|
||||
- **Manager Binary:** `release-preview/candidates/candidate-a/manager/CSM Modules Preview.exe` (SHA-256: `4c9d13224265505137e90f35131a048723178c241796a5932285f186d0109bfe`)
|
||||
- **Modular Host:** `release-preview/candidates/candidate-a/server/worldserver.exe` (SHA-256: `048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b`)
|
||||
- **Plugin SDK:** v0.3.2 (ABI Fingerprint: `2f82013def4698d3f75fa24e5f70ffa504a7782d366b5edb78c7adc3c1ee0883`)
|
||||
- **Dynamic Plugins:** `companions.dll` (`34be20f1...`), `content_scaling.dll` (`46e215ea...`), `squid_playerbots.dll` (`9e42dccf...`), `time-is-time.dll` (`7bca1094...`)
|
||||
- **Candidate Lock:** `candidate-a-lock.json` (SHA-256: `e245d9dd9e551a28bf9ae97e9cc28dd7a5fa79443e57771c1bd6fdc7e4d40ee8`)
|
||||
|
||||
### Candidate B (Version: `0.7.2-preview` / App: `0.7.2`)
|
||||
- **Manager Binary:** `release-preview/candidates/candidate-b/manager/CSM Modules Preview.exe` (SHA-256: `3a759db047e1a596835724170e8398bdb362c5f2b45328f17a2d651a66642eac`)
|
||||
- **Modular Host:** Compatible Modular Host B (`048f810e...`)
|
||||
- **Plugin SDK:** v0.3.2 (Compatible ABI Fingerprint: `2f82013def...`)
|
||||
- **Update Package:** `csm-modules-preview_0.7.2_x64_en-US.zip` signed with Tauri minisign keypair
|
||||
- **Candidate Lock:** `candidate-b-lock.json` (SHA-256: `45e76b54fcc7f0c7040f8f43155c5bff6294bacc712d3d3f228f56f056a91a46`)
|
||||
|
||||
---
|
||||
|
||||
## 4. End-to-End Qualification Results Across Gates
|
||||
|
||||
### Gate A — Reproducible Build & Portable Packaging: **PASS**
|
||||
- Package script executed in isolated temporary runner without developer paths: **PASS**
|
||||
- Mandatory binary checks enforced (`worldserver.exe`, `sdk.json`, official DLLs): **PASS**
|
||||
- Manifest checksums (`sha256sums.txt`) verified 100% against packaged files: **PASS**
|
||||
|
||||
### Gate B — Separate Preview Release Channel: **PASS**
|
||||
- Contract 1 (`csm-preview-app-latest.json`) conforms to Tauri v2 updater specification: **PASS**
|
||||
- Contract 2 (`csm-preview-components.json`) provides modular server/component feed: **PASS**
|
||||
- Stable channel (`com.corfirean.csm`, `latest.json`, `master`, `main`) completely untouched: **PASS**
|
||||
- Ephemeral development signing key test verified; genuine public key preserved: **PASS**
|
||||
|
||||
### Gate C — Independent Update Streams: **PASS**
|
||||
- **Manager A → B Update E2E:** 12/12 scenarios passed (positive update with verified signature, version bump, state preservation, stable isolation, and 11 negative failure modes).
|
||||
- **Core-Only Update E2E:** 5/5 scenarios passed (compatible update, Stop-Gate enforcement, incompatible ABI rejection, coordinated replacement, rollback).
|
||||
- **Plugin-Only Update E2E:** 7/7 scenarios passed (compatible update, invalid hash rejection, incompatible SDK, missing dependency, staging interruption cleanup, rollback, repeat update idempotency).
|
||||
|
||||
### Gate D — Real Recovery & Fault Injection: **PASS**
|
||||
- 6/6 filesystem fault injection boundaries evaluated (before staging, after staging, after checkpoint, during binary swap, during manifest update, post-update boot crash).
|
||||
- In every failure mode, transactional rollback restored host, dynamic plugins, and configs byte-for-byte.
|
||||
|
||||
### Gate E — Tester Readiness: **PASS**
|
||||
- Dedicated application identifier (`com.corfirean.csm-modules-preview`) and app data isolation (`CoA Server Manager Preview`).
|
||||
- Side-by-side execution with Stable CSM verified without registry collisions.
|
||||
- Guided first-run setup, dynamic plugin catalog, and diagnostics logging operational.
|
||||
|
||||
---
|
||||
|
||||
## 5. Machine-Readable Evidence Index
|
||||
|
||||
All raw evidence files are stored in `report/preview-distribution-e2e/`:
|
||||
- `candidate-a-lock.json` & `candidate-a-artifacts.json`
|
||||
- `candidate-b-lock.json` & `candidate-b-artifacts.json`
|
||||
- `clean-runner-build.json`
|
||||
- `workflow-handoff-validation.json`
|
||||
- `manager-update-e2e.json`
|
||||
- `core-update-e2e.json`
|
||||
- `plugin-update-e2e.json`
|
||||
- `compatibility-solver-e2e.json`
|
||||
- `recovery-fault-injection.json`
|
||||
- `channel-manifest-validation.json`
|
||||
- `stable-isolation-check.json`
|
||||
|
||||
---
|
||||
|
||||
## 6. Publication Authorization Runbook
|
||||
|
||||
Public release publication to external testers remains **BLOCKED** pending repository owner authorization and production signing keys.
|
||||
|
||||
When authorized, the repository owner should execute:
|
||||
1. **Push Preview Commits to Remote**:
|
||||
```bash
|
||||
git -C C:\games\coa-server-manager-preview push origin preview/modules-v2
|
||||
git -C C:\games\coa-server-build push origin preview/modules-v2
|
||||
git -C C:\games\coa-core-fork push origin preview/dynamic-plugin-host
|
||||
```
|
||||
2. **Sign Candidate A / B Installers**:
|
||||
Using the production private key:
|
||||
```bash
|
||||
npx @tauri-apps/cli signer sign -f <PRODUCTION_PRIVATE_KEY_PATH> -p <PASSWORD> --app-version 0.7.1 <PACKAGE_ZIP>
|
||||
```
|
||||
3. **Dispatch Release Workflow**:
|
||||
Run `preview-release.yml` with `publish_to_testers: true` to publish release assets and update the preview manifest pointer.
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:03:58Z",
|
||||
"test_suite": "Filesystem Fault Injection & Transactional Recovery",
|
||||
"total_scenarios": 6,
|
||||
"passed": 6,
|
||||
"failed": 0,
|
||||
"note_on_sql_limitations": "File rollback restores server executables, SDK headers, dynamic DLLs, and configuration files byte-for-byte. Note: MySQL database DDL/schema modifications cannot be rolled back by filesystem snapshots; database rollback requires Point-In-Time SQL backups or transactional migrations as documented in SERVER_MIGRATION_COMPATIBILITY.md.",
|
||||
"results": [
|
||||
{
|
||||
"test_id": "FAULT-01",
|
||||
"boundary": "Before Staging Completion",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.049,
|
||||
"details": {
|
||||
"summary": "Incomplete staging detected and purged; live binaries untouched"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "FAULT-02",
|
||||
"boundary": "After Staging, Before Checkpoint",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.054,
|
||||
"details": {
|
||||
"summary": "Uncommitted staged files abandoned on crash; live system remains baseline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "FAULT-03",
|
||||
"boundary": "After Checkpoint, Before Binary Swap",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.076,
|
||||
"details": {
|
||||
"summary": "Crash after checkpoint safely reconciled; destination had not been modified"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "FAULT-04",
|
||||
"boundary": "During Binary Swap (Corrupted Partial Write)",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.228,
|
||||
"details": {
|
||||
"summary": "Corrupted binary swap recovered byte-for-byte from checkpoint via transaction journal",
|
||||
"recovered_host_hash": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b",
|
||||
"recovered_plugin_hash": "34be20f127c709fc7b6be9b5b6cd49cc16dd38d0e1e2a51d40aef5c3c0e5fd48"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "FAULT-05",
|
||||
"boundary": "During Manifest / Lock Update",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.007,
|
||||
"details": {
|
||||
"summary": "Corrupted manifest/lock file restored from checkpoint with valid JSON syntax"
|
||||
}
|
||||
},
|
||||
{
|
||||
"test_id": "FAULT-06",
|
||||
"boundary": "Post-Update Startup Panic / Boot Crash",
|
||||
"status": "PASS",
|
||||
"duration_sec": 0.173,
|
||||
"details": {
|
||||
"summary": "Process supervisor detected post-update boot crash; automatic rollback restored baseline host",
|
||||
"restored_hash": "048f810e44bcf7e3bcbbc1c6d3037a5f829e6815e959f9f0cf0d3b3c8594fc4b"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:05:13Z",
|
||||
"test_name": "Stable Channel Isolation Verification",
|
||||
"status": "PASS",
|
||||
"checks": {
|
||||
"preview_app_identifier": "com.corfirean.csm-modules-preview",
|
||||
"stable_app_identifier": "com.corfirean.csm",
|
||||
"identifiers_are_different": true,
|
||||
"preview_updater_endpoint": "https://raw.githubusercontent.com/Corfirean/coa-server-build/preview/modules-v2/updates/csm-preview-app-latest.json",
|
||||
"points_to_preview_channel": true,
|
||||
"does_not_point_to_stable_latest": true,
|
||||
"stable_branches_untouched": {
|
||||
"manager_master": "Untouched",
|
||||
"builder_main": "Untouched",
|
||||
"core_coa_bots": "Untouched"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"timestamp": "2026-11-03T03:05:12Z",
|
||||
"test_name": "GitHub Actions Explicit Artifact Handoff Validation",
|
||||
"status": "PASS",
|
||||
"checks": {
|
||||
"build_uploads_server_bundle": true,
|
||||
"build_uploads_channel_metadata": true,
|
||||
"verify_downloads_server_bundle": true,
|
||||
"verify_uploads_qualification_report": true,
|
||||
"release_downloads_server_bundle": true,
|
||||
"release_downloads_verification_report": true,
|
||||
"release_verifies_bundle_integrity": true,
|
||||
"release_reads_candidate_version_from_lock": true,
|
||||
"release_publishes_downloaded_dist": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user