Skip to content

docs(technical-guide): correct dependency drift (scrcpy/node, PATH resolution) - #38

Merged
bilbospocketses merged 1 commit into
masterfrom
docs/technical-guide-dep-drift
Jun 3, 2026
Merged

docs(technical-guide): correct dependency drift (scrcpy/node, PATH resolution)#38
bilbospocketses merged 1 commit into
masterfrom
docs/technical-guide-dep-drift

Conversation

@bilbospocketses

Copy link
Copy Markdown
Owner

Aligns docs/TECHNICAL_GUIDE.md with current code (cm todo Item 37 — doc drift found during the Item 29 scrcpy-removal audit):

  • Self-contained tools 5 to 3 (scrcpy + node removed)
  • Android Devices dependencies adb, scrcpy, node, ws-scrcpy-web to adb, ws-scrcpy-web; dependency table trimmed accordingly
  • Rewrote PATH Injection to Dependency Path Resolution: the documented Program.cs PATH-prepend block was deleted in the April 2026 Local-Dependencies-Only audit. Current code resolves tools via DepsRootHolder + Path.Combine(DepsRoot, ...) with no system-PATH fallback — verified: no SetEnvironmentVariable("PATH", ...) anywhere in src/.

Docs-only; no code change.

…solution)

Aligns docs/TECHNICAL_GUIDE.md with current code:
- Self-contained tools 5 -> 3 (scrcpy + node removed); Android Devices deps adb,scrcpy,node,ws-scrcpy-web -> adb,ws-scrcpy-web; dependency table trimmed to adb + ws-scrcpy-web.
- Rewrote "PATH Injection" -> "Dependency Path Resolution": the documented Program.cs PATH-prepend block was deleted in the April 2026 Local-Dependencies-Only audit; current code resolves via DepsRootHolder + Path.Combine(DepsRoot, ...) with no system-PATH fallback.

Docs-only; no code change. (cm todo Item 37.)
@bilbospocketses
bilbospocketses enabled auto-merge (squash) June 3, 2026 20:16
@bilbospocketses
bilbospocketses merged commit f77295c into master Jun 3, 2026
8 checks passed
@bilbospocketses
bilbospocketses deleted the docs/technical-guide-dep-drift branch June 4, 2026 01:00
bilbospocketses added a commit that referenced this pull request Jun 24, 2026
…eanup (Item 45) (#77)

* fix(backend): audit MINOR cleanup #38/#40/#48/#54/#55/#56 + #39/#49 + imaging temp cleanup

- #38 clearing a device PIN deletes the secret row (was writing an empty plaintext setting)
- #54 DeviceForm guards double-submit (disable + re-entrancy guard while a save is in flight)
- #40 OperationLogger.GetDefaultBackupDirectory is pure (no directory-creation side effect)
- #48 SubnetParser octet validation via byte.TryParse (was a regex + int-range pair)
- #55 DependencyManagerService.BuildVersionedDownloadUrl honours dep.AssetPattern (was a hardcoded sqlite literal)
- #56 remove dead appsettings ConnectionStrings:DefaultConnection (the live path comes from the resolver)
- #39 clarifying comment on the AddTypedDeviceFieldsRemoveMetadata migration (renames, not removes; do not rename)
- #49 collapse the no-op IsWindows?"go2rtc":"go2rtc" ternary
- Item 45: MagicWand/ImageResize/FormatConverter implement IDisposable to delete their /temp
  web-copies on navigate-away; ImageResize/FormatConverter also replace the prior copy per conversion

Tests +8 (SubnetParser edges, BuildVersionedDownloadUrl AssetPattern, OperationLogger purity,
MagicWand no-accumulation + dispose-cleanup, DeviceForm double-submit). 690 green.

* fix(backend): review polish — sqlite-host doc note (#55) + DeleteWebCopy nulls _downloadUrl (Item 45)

Whole-branch review follow-ups (both Minor, no behavior change):
- #55 BuildVersionedDownloadUrl: XML-doc note that the URL reconstruction is sqlite.org-scheme
  specific (AssetPattern generalises only the filename match), to prevent future misuse.
- Item 45: ImageResize/FormatConverter DeleteWebCopy now also nulls _downloadUrl, matching
  MagicWand's cleanup helpers.
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