Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<!-- SORTIFY_DISPATCH_V488_WEBUI_ACTION_SIGHUP_CHANGELOG_START -->
## 4.8.8-webui-action-sighup-hotfix - Magisk Action WebUI lifetime

- Fixed the Magisk **Action** browser launch sometimes reaching a stopped `127.0.0.1` WebUI server.
- Updated the shared WebUI Core so the standalone server survives the Action shell ending.
- Existing Sortify settings and sorting behavior remain unchanged.
<!-- SORTIFY_DISPATCH_V488_WEBUI_ACTION_SIGHUP_CHANGELOG_END -->

<!-- SORTIFY_DISPATCH_V487_SORT_PERFORMANCE_CHANGELOG_START -->
## 4.8.7-sort-performance - Single-pass productive sorting

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<!-- SORTIFY_DISPATCH_V488_WEBUI_ACTION_SIGHUP_README_START -->
## vNext: Sortify Dispatch 4.8.8

Candidate hotfix for the Magisk **Action** button: the standalone loopback WebUI server now uses shared WebUI Core 0.6.6, which keeps the server alive after the Action shell exits instead of leaving the browser on `ERR_CONNECTION_REFUSED`. Existing Sortify settings and sorting behavior are unchanged.

Stable `update.json` remains on 4.8.7 until exact-device Action-button acceptance passes.
<!-- SORTIFY_DISPATCH_V488_WEBUI_ACTION_SIGHUP_README_END -->

<!-- SORTIFY_DISPATCH_V487_SORT_PERFORMANCE_README_START -->
## Sortify Dispatch 4.8.7

Expand Down
10 changes: 10 additions & 0 deletions RELEASE_NOTES_v4.8.8-webui-action-sighup-hotfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Sortify Dispatch 4.8.8 - Magisk Action WebUI hotfix

Candidate hotfix for the module-manager Action button.

- Keeps the loopback WebUI server alive after the Magisk Action shell exits.
- Prevents the external browser from landing on `ERR_CONNECTION_REFUSED` because the server stopped before the first request.
- Updates the shared WebUI Core to 0.6.6.
- Preserves existing Sortify settings and sorting behavior.

Stable update metadata remains on 4.8.7 until exact-device Action-button acceptance passes.
6 changes: 3 additions & 3 deletions module/module.prop
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
id=sortify
name=Sortify Dispatch
version=4.8.7-sort-performance
versionCode=34
version=4.8.8-webui-action-sighup-hotfix
versionCode=35
author=xCaptaiN09 + Lycidias93
description=Sortify Dispatch with single-pass sorting, 30-day local protected-artifact retention, reliable WebUI jobs, persistent config and SDD policy v4115.
description=Sortify Dispatch with SIGHUP-safe Magisk Action WebUI, single-pass sorting, protected retention, persistent config and SDD policy v4115.
updateJson=https://raw.githubusercontent.com/Lycidias93/Sortify-Dispatch/main/update.json
banner=banner.png
4 changes: 2 additions & 2 deletions tools/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -euo pipefail

ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
CORE="$ROOT/.webui-core"
CORE_COMMIT=1763a1885f7734f2bd425e9e079947d921f29240
CORE_VERSION=0.6.4
CORE_COMMIT=0d5c724711733b6f794790ef96d718e96c64c258
CORE_VERSION=0.6.6
MODULE_SRC="$ROOT/module"
DIST="$ROOT/dist"

Expand Down
4 changes: 2 additions & 2 deletions tools/test-vnext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -euo pipefail

ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
CORE="$ROOT/.webui-core"
CORE_COMMIT=1763a1885f7734f2bd425e9e079947d921f29240
CORE_VERSION=0.6.4
CORE_COMMIT=0d5c724711733b6f794790ef96d718e96c64c258
CORE_VERSION=0.6.6
MODE=${1:-all}

required=(
Expand Down
2 changes: 1 addition & 1 deletion tools/test-webui-actions-hotfix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ assert 'guard_status=timeout' in payload.get('message', ''), payload
PY
echo 'guard_status_timeout_semantic_transport=PASS'

[[ "$(tr -d '\r\n' < "$ROOT/.webui-core/CORE_VERSION")" == "0.6.4" ]]
[[ "$(tr -d '\r\n' < "$ROOT/.webui-core/CORE_VERSION")" == "0.6.6" ]]
grep -Fq 'server_detach=hup_safe' "$ROOT/.webui-core/module/action.sh"
grep -Fq 'nohup "$@" </dev/null >> "$LOG_FILE" 2>&1 &' "$ROOT/.webui-core/module/action.sh"
grep -Fq "trap '' HUP" "$ROOT/.webui-core/module/action.sh"
Expand Down
6 changes: 3 additions & 3 deletions webui.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
schema=sortify-dispatch-webui-core-lock-v1
template_repository=Lycidias93/android-root-module-webui-template
template_commit=1763a1885f7734f2bd425e9e079947d921f29240
core_version=0.6.4
core_manifest_sha256=94600c81b15571571e175f8a16e92177a77269541165f19886c86c0c332e1119
template_commit=0d5c724711733b6f794790ef96d718e96c64c258
core_version=0.6.6
core_manifest_sha256=50f92987c0cb2f17e0a4374be2922d6e7b1f2ca8f4bfc384ee7842cdbbd87b83
consumption_model=pinned_gitlink_build_stage_sync
browser_transport=loopback_only
bootstrap=one_time_token_to_httponly_cookie
Expand Down
Loading