prerelease #72

Merged
Christoph merged 5 commits from prerelease into main 2026-11-08 21:29:56 +00:00
Owner
No description provided.
The single-instance callback runs synchronously inside the plugin's window
procedure on the main thread. Building a webview window there deadlocks
WebView2 on Windows, so a double-click that started a second process froze
the first instance during startup. Handle forwarded launches on a worker
thread and let create_main_windows tolerate a concurrent creation of the
same window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the old "repo-switch" sliding toggle used for the Compare/Stage dialogs with a compact checkbox-style indicator.

- Add an unlayered :root ruleset for .dialog .btn-secondary.ws-toggle and a new .ws-check element to app.css so the checkbox styling wins over per-theme .btn-secondary rules.
- Update CompareDialog and LinePatchDialog markup to render a .ws-check span that shows a Check icon when active instead of the previous Space + repo-switch markup; remove the unused Space icon import.

Behavior: visually changes the ignore-whitespace control from a sliding switch to a plain button with a square checkbox that fills with the accent color and shows a check when enabled.
Introduce readRemoteWithCredentials(url, task) and use it across background fetches, commit notes, fetchWithStoredCredential, withSubmoduleCredentials and remote write flows. Instead of always loading stored tokens up front, operations now try native Git authentication first and only load+retry with a stored credential for HTTPS remotes when the initial attempt fails with an auth error. If the stored credential then fails, its key is recorded as rejected.

This avoids unnecessary token loads/prompts for public/background reads, preserves native SSH/native token flows for writes, and centralizes the retry/rejection logic. Tests updated/added to cover the new public/private, background, submodule and write behaviors.
Introduce run_git_remote + remote_command_result to unify how remote
subprocess output is interpreted so that native SSH/credential-helper
access uses the same AUTH_FAILED: marker as explicit username/token
attempts. Replace run_git with run_git_remote for push/remote operations
so authentication failures are reported as "AUTH_FAILED:...".

Add tests that assert native remote auth failures keep the auth marker
and that non-auth network errors remain reported inline.
Introduce a daily "nightly" rolling-release pipeline and the tooling to plan,
build and publish Nightly installers, and add client-side support for opting
into Nightly updates.

- Add .gitea/workflows/nightly.yaml to run tests, plan Nightly versions, build
  signed Windows NSIS and Linux AppImage artifacts and publish a single
  rolling "nightly" release only after both platform builds succeed.
- Add cicd_tool/nightly.py and cicd_tool/test_nightly.py to implement and test
  Nightly planning/publishing logic; remove the prerelease workflow and its
  tests (prerelease.yaml and test_prerelease.py).
- Update README to replace the prerelease section with documentation for the
  Nightly rolling release (how it is scheduled, versioning, publishing and the
  single `nightly` release/tag).
- Adjust CI and release scripts and the app (various src/ and scripts/ changes)
  to expose a "Receive Nightly updates" preference and to handle Nightly
  versioning and updater behavior.
- Remove the PRERELEASE_MANIFEST constant from cicd_tool/main.py and adapt the
  publishing logic/tests accordingly.

This commit wires up the end-to-end Nightly path (CI, tooling, docs and client)
and removes the previous prerelease workflow artifacts.
Sign in to join this conversation.
No description provided.