Skip to content

CI installer FAT: split opaque upgrade timeout into bounded observable phases #162

Closed as not planned

Description

@masarray

Ringkasan praktis untuk pemilik aplikasi — diperbarui 20 November 2026.

Tanda [x] berarti tahap tersebut sudah ada buktinya; [ ] hanya bagian yang belum terverifikasi. Ini bukan daftar pekerjaan yang harus Anda lakukan sendiri.

Yang sudah selesai dan yang belum — bahasa sederhana

Status sederhana: beberapa jalur installer sudah berhasil; tes khusus upgrade dari versi lama saat aplikasi masih berjalan belum dibuktikan lulus.

  • Build/paket versi stabil v3.6.17 berhasil diterbitkan, dan pengujian updater otomatis memiliki jalur independen (bukan otomatis berarti upgrade installer lama lulus).
  • Perlu developer menjalankan skenario khusus instal versi lama → jalankan aplikasi → upgrade → cek data tetap ada → uninstall, dengan hasil yang terekam untuk setiap langkah. CI yang hanya membuat installer tidak cukup.
  • Yang perlu Anda lakukan sekarang: tidak ada. Developer yang perlu membenahi tes CI dan menyimpan bukti, bukan meminta Anda memahami file UPGRADE-ACCEPTANCE.txt.

Catatan teknis dan sejarah implementasi (dipertahankan)

Installer FAT timeout — precise evidence, do not weaken the gate

Occurrence: exact-head /ci installer run #42975386716 requested for PR #160 head a620faba83cca19e88c225fcf8e5776f8d9e464d (later squash-merged to master as bbd30418d204199a5ea9c4aaf2ff3becf0073273).

Verified from GitHub:

  • Classifier, Windows build-test (Release build, protocol smoke, six xUnit suites), GUI and monitor CLI portable packages, WPF screenshot acceptance: success.
  • Windows Inno Setup compiled: success; ARIEC60870-InnoSetup-win-x64 artifact exists (~52 MB).
  • Long step Verify previous release upgrade and active Master shutdown: remained in progress until the installer-upgrade job concluded cancelled at 2026-11-11 07:20:18 UTC. Hence no valid upgrade FAT pass evidence; do not report installation/upgrade production-qualified.
  • Workflow/job log download via GitHub connector returned Azure BlobNotFound even after run was complete. Exact hang phase cannot be proven and must not be guessed.
  • PR CI: reconcile Inno installer identity upgrade gate with ArSee branding #160 strictly fixes stale registry DisplayName comparison by reading UninstallDisplayName from the compiled installer/ARIEC60870.iss; do not revert or hardcode retired branding.

Focused next gate (installer only, not another unconditional full CI)

  1. Preserve current evidence and screenshots. Retrieve run logs when available, or reproduce only on a diagnostic Windows installer job.
  2. Add bounded per-phase steps and durable elapsed-time markers for: fetch previous release/checksum, build old/current Inno, install old + launch old WPF, upgrade and registry identity verification, current WPF smoke, active-Master live restart-manager shutdown, reinstall, uninstall and user-data preservation. Make these individual failure surfaces; upload phase artifact even if one bounded phase fails.
  3. Avoid a single opaque 15-minute PowerShell step which gets killed by the 20-minute job timeout without phase evidence. Set safe per-child watchdogs and bounded process-tree cleanup; don't remove active-Master safety check, fake FAT pass, or blindly retry.
  4. Only after a green exact-head /ci installer with UPGRADE-ACCEPTANCE.txt should installation acceptance be marked PASS.

This is outside normal CI optimizations (which already PASS and are merged). Public RC v3.6.8-rc.4 and IEC101 engine were not altered here.

Activity

  1. masarray commented on Nov 19, 2026

    @masarray
    OwnerAuthor

    Backlog housekeeping verification — 20 Nov 2026 (kept OPEN)

    The old CI-installer FAT failure is not proved resolved merely by successful packaging or the newer independent updater FAT. Current workflow .github/workflows/ci.yml has bounded child-process watchdogs and isolates the native updater worker, but the manual /ci installer path still contains the Verify previous release upgrade and active Master shutdown 15-minute PowerShell step, and UPGRADE-ACCEPTANCE.txt is written only at the end. No verified successful /ci installer full old→current WPF/active-Master upgrade run with phase-by-phase durable evidence was located in the workflow-dispatch audit; original cancelled installer run #42975386716 remains the documented occurrence.

    Separate positive evidence, not interchangeable: native independent updater FAT #44539045530 is green for its source-qualified installer/update-worker profile, and v3.6.17 packaging #44540333243 is green. Neither independently demonstrates the precise legacy /ci installer case/phase artifact required by this issue.

    Closure: divide legacy upgrade into observable bounded phases with artifacts emitted on failure; pass exact-source /ci installer; confirm UPGRADE-ACCEPTANCE.txt, preserved user data and running active-Master shutdown. Keep issue open until those results exist. No repository issue numbers were closed purely to improve dashboard counts.

  2. masarray commented on Nov 21, 2026

    @masarray
    OwnerAuthor

    Archive closure — 21 November 2026

    Not planned / archived, historical manual acceptance gap preserved. The shipped v3.6.20 source has passing native Windows updater FAT and genuine legacy-to-ArSee folder migration: CI run #44897646916 reports SUCCESS for Bounded previous-release upgrade, Native Windows legacy-to-ArSee branding migration FAT and Native Windows independent updater FAT. However the specific old Verify previous release upgrade and active Master shutdown step in that run was SKIPPED; these successful independent paths are NOT proof that the original manual /ci installer single-step timeout has been refactored into durable per-phase artifacts and passed. Keep original #42975386716 failure history and UPGRADE-ACCEPTANCE.txt requirement. Closure means retiring that old manual workflow backlog item on request, not claiming its entire acceptance checklist was met. Reopen if manual legacy upgrade FAT becomes a release gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions