Skip to content

K2GO-574 fix(conex-core): import ZIMs only where Kiwix runs; restart the service when it is down - #780

Merged
luisguzman-adfa merged 3 commits into
mainfrom
fix/K2GO-574-conex-zim-needs-kiwix
Nov 14, 2026
Merged

luisguzman-adfa merged 3 commits into
mainfrom
fix/K2GO-574-conex-zim-needs-kiwix

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

What changes

  • conex-core 0.3.5: the Kiwix adapter counts as installed only when kiwix-serve exists.
  • dash-node 1.6.1: service-heal watches conex-core (GET /v1/version) and restarts it; the restart endpoint allows conex-core.
  • Content Manager hides its actions while the content service is down; a tap on the message reloads.

Why

  • A library with no Kiwix imported ZIMs it cannot open, with no warning.
  • A stopped conex-core stayed down, and Content Manager still offered actions that could not work.

Steps to QA

  • In Jira K2GO-574 (baseline first, OnePlus 7T).

Verifications

  • conex-core 217 tests, dash-node services + conex-proxy 14 tests, app 185 unit-test suites pass.
  • OnePlus 7T: validate answers NO_APP without kiwix-serve; a killed conex-core is restarted by service-heal within 15 s.
  • Evidence: Jira K2GO-574.

Notes

  • No new UI strings.

…lled

The Kiwix adapter counted as installed when the zims dir existed, so an old
32-bit library with no Kiwix imported ZIMs it cannot open. Now it also needs
kiwix-serve; validate answers NO_APP otherwise.
dash-node service-heal now watches conex-core (GET /v1/version) and restarts it,
and the restart endpoint allows it (dash-node 1.6.1). Content Manager hides its
actions while the service is down; a tap on the message reloads.
…gone

A slow reply under load restarted conex-core and killed a running import or
export. Heal it only on a refused connection, skip boxes without its pdsm
service, probe /v1/apps like pdsm health, and reuse conexPort().
@luisguzman-adfa
luisguzman-adfa merged commit b2bc287 into main Nov 14, 2026
5 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the fix/K2GO-574-conex-zim-needs-kiwix branch November 14, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant