Release 2.1.62 with global Dew referrals and validated host integration

This commit is contained in:
waozi committed 2026-11-03 01:39:22 -03:00
1 parent 44ac49655c
commit 0f3d54e21c
57 files changed
+1229 -120

No files matched your search

+8
View File
@@ -14,6 +14,14 @@ def main():
parser.add_argument('--ziran', type=Path, required=True)
parser.add_argument('--output', type=Path, required=True)
args = parser.parse_args()
# Development hosts use the same canonical overrides as every other
# package in this build. Release builds retain the reviewed locked graph.
if (ROOT / 'ziran.local.toml').exists():
package = Path(subprocess.check_output(
[str(args.ziran.resolve()), 'pkg', 'path', 'apps'], cwd=ROOT, text=True).strip())
subprocess.run(['python3', str(package / 'scripts/build-ui.py'),
'--output', str(args.output.resolve())], cwd=ROOT, check=True)
return
# Only package metadata lives here. Source remains in the package cache;
# the owner's local development overrides are never changed.
with tempfile.TemporaryDirectory(prefix='apps-lock-', dir=ROOT / 'build') as directory:
+6 -1
View File
@@ -28,6 +28,8 @@ import time
ROOT = Path(__file__).resolve().parents[1]
ACTIVITY = "xyz.waozi.inbe.MainActivity"
MAIN_ACTION = "android.intent.action.MAIN"
LAUNCHER_CATEGORY = "android.intent.category.LAUNCHER"
START_PRACTICE = "xyz.waozi.inbe.action.START_PRACTICE"
WIM_HOF = 0
# Paths whose content makes the shipped app: sources, build rules, the
@@ -117,7 +119,10 @@ class Phone:
path.write_bytes(data)
def start(self, package, *extra):
output = self.shell("am", "start", "-W", "-n", f"{package}/{ACTIVITY}", *extra)
intent = []
if "-a" not in extra:
intent = ["-a", MAIN_ACTION, "-c", LAUNCHER_CATEGORY]
output = self.shell("am", "start", "-W", *intent, "-n", f"{package}/{ACTIVITY}", *extra)
if "Status: ok" not in output and "Warning: Activity not started" not in output:
raise ValueError("Inner Breeze did not start: " + output.strip())
+1 -1
View File
@@ -851,7 +851,7 @@ async function verifyAppSettingsReloadPersistenceBidi(client, context) {
resultOwnership: 'none',
expression: `(async () => JSON.stringify(await (async () => { ${wasmHookEvalHelper()} try { await callWasmHook('app_web_test_save_onboarding_state'); } catch (error) { return { ok: false, reason: String(error && error.message || error) }; } await Module.__inbeFlushStorageSync(true); return { ok: Module._app_web_test_onboarding_state && Module._app_web_test_onboarding_state() === 1 }; })()))()`
});
const state = JSON.parse(result.result?.value || '{}');
let state = JSON.parse(result.result?.value || '{}');
if (!state.ok)
throw new Error(state.reason || 'failed to invoke Firefox app settings save test hook or immediate readback failed');
await waitForStorageIdleBidi(client, context);