Skip to content

Update ChangeDetection.io to 0.70.2 - #14

Merged
MattDHill merged 3 commits into
Start9Labs:masterfrom
BeeJoe:update/changedetection-0.70.2
Nov 15, 2026
Merged

MattDHill merged 3 commits into
Start9Labs:masterfrom
BeeJoe:update/changedetection-0.70.2

Conversation

@BeeJoe

@BeeJoe BeeJoe commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

- ChangeDetection.io 0.60.9:1 / LinuxServer 0.60.9-ls320
+ ChangeDetection.io 0.70.2:0 / LinuxServer 0.70.2-ls325
+ Playwright selected for custom WebSocket browser connections
+ Trusted StartOS proxy headers preserve HTTPS MCP OAuth discovery

Updates the application, preserves the Node.js/Brotli security upgrades, adds localized release highlights and recovery guidance, documents MCP access, and checks image availability in UPDATING.md.

The upstream version check found application 0.70.3, but LinuxServer's newest published image when checked was 0.70.2-ls325, available for both architectures.

Integration testing exposed an existing browser configuration problem: a custom WebSocket browser without browser steps selected Selenium and failed with Not supported URL scheme ws. Setting upstream's PLAYWRIGHT_DRIVER_URL selects Playwright. Users still need to configure and select their external browser; this package provides no browser companion.

The review follow-up enables USE_X_SETTINGS=1 so MCP OAuth derives its issuer from StartOS's trusted forwarded headers. Both guides now explain automatic HTTPS discovery and the optional explicit-address override.

Evidence

  • Before: Installed 0.60.9:1, datastore schema 33; created a watch/snapshot and verified Manage Access login.
    After: Installed the original 0.70.2:0 artifact; confirmed schema 34, retained watch/history/password, new snapshots, restart persistence, and private/public transitions.
  • Browser regression: A fresh custom-browser watch without steps failed with the original environment. The same scenario captured verified page content with the corrected environment in an isolated application process and, after server recovery, in the actual StartOS service. Its installed artifact hash, application process environment, private login, and watch capture were verified. Browser-backed capture with a browser step also passed.
  • Rebuilt both final artifacts with make x86 and make arm; version 0.70.2:0, SDK 3.1.0, correct architectures, and blocked downgrades verified. Verified both managed settings in the running service and the packed manifest architecture/version/migration ranges. Type checking, Prettier, and git diff --check passed.
  • External HTTPS interface: real-browser password login and dashboard passed. Socket.IO connected. Service-worker registration encountered the test certificate's trust limitation.
  • MCP: default-disabled behavior, token authentication, tools/list, list_watches, read-only permission enforcement, and settings/token persistence passed.
  • OAuth review regression: Reproduced HTTP issuer/resource discovery through the StartOS HTTPS interface with Public MCP address blank. With the fix, HTTPS issuer/discovery and MCP authentication challenges use the correct origin. Real-browser consent, PKCE exchange, scoped MCP tools, authorization-code replay rejection, refresh rotation, old-token rejection, and grant revocation passed with the field blank and with an explicit address. Forged forwarded headers were stripped on both the HTTPS and plaintext proxy paths; plaintext discovery stayed HTTP. No third-party cloud assistant account was connected.
  • Notification delivery to a temporary external HTTP receiver passed with its payload verified.
  • ARM application emulation before the proxy follow-up: extracted the package ARM image and ran ARM Python/libraries under QEMU with the browser fix. UI/API startup, public-page watch capture, and exact snapshot persistence after restart passed. The application also rejected a loopback URL under its default network restrictions. No ARM StartOS host was available, so hardware and the complete ARM StartOS/s6 lifecycle remain untested.
  • Clean reinstall: Hard-uninstalled the service, confirmed its volume directory was removed, and installed the same final x86 artifact. Public first-run UI, schema 34, both managed environment settings, disabled-by-default MCP, watch capture, exact snapshot persistence across restart, and private/public Manage Access actions passed. Logs contained no application startup or migration errors.
  • Final-commit upgrade and native backup/restore: Built and installed the clean 815058b x86 artifact over an existing 0.60.9:1 service on a second StartOS server. Schema 33 → 34 preserved the original watch, all 35 historical snapshots (content hashes matched), API credential, and access/notification settings. A temporary muted watch captured the public page and survived restart with the same snapshot hash; the original history also survived restart. Removed the temporary watch before backup. A ChangeDetection-only native backup finalized in about 15 seconds with successful server/package reports. Observed uninstall and restore; StartOS reinstalled 0.70.2:0 at 815058b from the backup. The original watch and all 35 snapshots matched again, as did the API credential and settings; both managed environment settings were present, the UI/API worked, MCP stayed disabled, and health stayed green beyond the first minute. No test watches remain.
  • Node.js 24.22.3 and Brotli 1.2.1 confirmed in the running x86 image. Upstream Python SyntaxWarnings and the standard Flask development-server warning remain.

Earlier native-backup attempts on a development OS build stalled after copying, before finalization. The successful native round trip above was completed on a second StartOS server; the earlier filesystem investigation remains separate from this package update.

Both local architecture builds and both CI architecture jobs passed for 815058b (CI run).

Merge Danger

Door: one-way

Upstream migrates the datastore automatically (schema 33 → 34 in the tested upgrade). The packed manifest allows migration from <=0.70.2:0 and only to =0.70.2:0; returning to an older version requires a backup made with that version.

Blast Radius: service

Changes the application image, browser-fetcher selection, and trusted-proxy handling for this service. MCP remains opt-in with separate tokens and permissions.

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested

[P2] Preserve the HTTPS origin for MCP OAuth discovery. With Manage Access → Private and MCP enabled, following the new instructions using a reachable StartOS HTTPS address still fails unless Public MCP address is manually set. The daemon serves HTTP behind StartOS's TLS terminator, but neither its environment nor the LinuxServer image enables USE_X_SETTINGS. In upstream 0.70.2, oauth.issuer() therefore derives an http:// URL from request.url_root; /mcp/v1 advertises HTTP discovery in WWW-Authenticate, and secure_issuer() rejects authorization/token requests with “Sign-in needs https”. This affects the newly advertised OAuth setup, not just installations using an alternate hostname.

The proposal enables upstream's trusted-proxy mode with USE_X_SETTINGS=1, records the origin-preservation contract next to the setting, and updates both guides. StartOS supplies trusted forwarded headers by default for this binding and strips client-supplied values, so HTTPS discovery can work without an override while plaintext access remains plaintext. Please verify the adopted fix through the StartOS HTTPS interface with Public MCP address blank; the existing explicit-address OAuth path should continue to work.

Source references: upstream issuer and HTTPS check, proxy-mode switch, and StartOS TLS termination contract.

The reviewed head merges cleanly with master. I also checked the upstream release range, browser-fetcher selection/custom-URL precedence, password-hash compatibility, datastore migration and downgrade guard, and the published amd64/arm64 image metadata. Both CI architecture builds passed. No builds or tests were run during this review; the proposal is unverified.

Proposed changes: 55aba12...proposal/14

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@BeeJoe

BeeJoe commented Nov 15, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the HTTPS-origin review in 815058b. Adopted USE_X_SETTINGS=1, documented StartOS's trusted forwarded-header contract next to the setting, and updated both guides.

Reproduced the original HTTP issuer/resource discovery through StartOS HTTPS with Public MCP address blank. With the fix installed on StartOS, both blank-address and explicit-address paths passed real-browser consent, PKCE exchange, scoped MCP access, code replay rejection, refresh rotation, old-token rejection, and grant revocation. HTTPS discovery and MCP authentication challenges advertise HTTPS; the plaintext proxy stays HTTP. Forged forwarded headers were stripped on both proxy paths.

Both local architecture builds, type checking, formatting, and diff checks passed. Clean uninstall/reinstall, first-run behavior, watch capture, exact snapshot persistence, and both Manage Access modes also passed. Native StartOS backup/restore remains blocked by a repeated backup stall at 100/110 before OS-data finalization; the PR body records that limitation separately from successful server-local recovery. The test server was returned healthy with its baseline access settings and both backup targets available.

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 815058bc9606e4736afaa0ff02680ace91ee79ae. The follow-up resolves my HTTPS-origin finding: USE_X_SETTINGS=1 enables upstream's proxy handling for StartOS's trusted headers, preserves plaintext behavior and the explicit-address override, and documents the contract beside the setting and in both guides. No further correctness findings.

Reviewed the author's regression evidence for blank/explicit MCP addresses, forwarded-header stripping, upgrade, clean reinstall, and successful native backup/restore. The head merges cleanly with master; both x86 and ARM CI builds passed. Static review only; I ran no builds or tests.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@MattDHill
MattDHill merged commit b4d3b21 into Start9Labs:master Nov 15, 2026
6 checks passed
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.

3 participants