Skip to content

Release M283.2 - #2158

Merged
Tyrie Vella (tyrielv) merged 50 commits into
releases/shippedfrom
milestones/M283.2
Nov 9, 2026
Merged

Tyrie Vella (tyrielv) merged 50 commits into
releases/shippedfrom
milestones/M283.2

Conversation

@tyrielv

Copy link
Copy Markdown
Contributor

Changes:

Tyrie Vella (tyrielv) and others added 30 commits October 28, 2026 15:34
Stop pending response-body reads after 60 seconds without data. Preserve known error statuses, existing retries and cache fallback, and caller cancellation. Zero disables the read deadline.

Load complete retry configuration through one entry point in every production consumer. Warn and use per-setting defaults for invalid or unreadable values instead of aborting. Preserve valid settings, active mount snapshots, and intentional command overrides.

Report byte progress and read waits in local logs and telemetry. Correlate pack events and retry outcomes with response and request IDs. Number diagnostic samples and keep diagnostic writes outside the read-state lock. Guarantee response cleanup when diagnostics fail.

Drain pending pack finalization work before retry after a failed read. Retain completed timestamps for the next request.

Add unit tests for complete config loading, fallback, transport deadlines, cleanup, and diagnostic contracts. Add functional tests for a stalled CLI prefetch and invalid retry settings on a mounted enlistment. Document the deadline, configuration fallback, and diagnostic fields.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Dispose prepared responses when final diagnostics throw. Keep the fixed anonymous 401 message and tolerate expected tracer teardown during body diagnostics.

Preserve caller cancellation through stream copies and temporary-pack writes. Correlate fast pack transfers with retry summaries and report concurrent pack finalization failures.

Return complete retry configuration from LoadFromGitConfig. Reuse the configuration during command authentication and retain per-field defaults and command overrides.

Add unit tests for response ownership, completed error bodies, credentials, cancellation, configuration consumers, numeric boundaries, and diagnostic ordering.

Extend functional tests to assert startup warnings after remount with invalid configuration. These tests disable prefetch offload and restore the original configuration.

Document progress timing, configuration ranges, and offloaded prefetch ownership.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
VFS for Git requires the PrjFlt ProjFS minifilter driver on every volume.
Its load behavior is governed by its service Start type. When a security
baseline, an anti-virus product, Group Policy, or manual troubleshooting
disables the service, the driver cannot start.

Today ProjFSFilter.TryStartService calls ServiceController.Start() on the
disabled service. That fails with ERROR_SERVICE_DISABLED (1058), which is
caught by a generic Win32Exception handler and surfaces to the user as the
dead-end message "Failed to start prjflt service" with no indication that
the driver is disabled and no way to fix it. Nothing else in the product
detects this state (the existing AutoLogger Start handling is an unrelated
ETW logging key).

Detect the disabled state and report it, rather than silently re-enabling a
driver that an administrator or security tool may have disabled on purpose.

Changes:
- TryStartService checks the service start type only when the service is not
  already running, so an already-running service succeeds regardless of its
  start type. When the service is not running and its start type is Disabled,
  it returns a specific error naming the driver and the exact elevated command
  to re-enable it.
- ServiceController reports a failed native service call as an
  InvalidOperationException that wraps the Win32Exception. TryStartService
  unwraps it and maps the native error code to a ServiceStartFailureReason:
  ERROR_SERVICE_DISABLED is ServiceDisabled, ERROR_SERVICE_DOES_NOT_EXIST is
  ServiceNotFound, and any other code is StartFailed. Only a missing service
  is reported as "not found".
- TryStartService reports its result through out parameters, so the caller
  surfaces the specific message instead of the generic "Failed to start prjflt
  service".
- EnableAndAttachProjFSHandler.TryEnablePrjFlt records the
  ServiceStartFailureReason in the TryEnablePrjFlt_Summary health telemetry.
  The reason is a stable code, so rewording the user-facing message does not
  change the metric.
- Added unit tests that cover the disabled and enabled start types, and the
  error-code mapping through the wrapped InvalidOperationException shape.

Assisted-by: Claude Opus 4.8
Signed-off-by: Tyrie Vella <[email protected]>
Disable further response-body reports after an unexpected diagnostic failure. Attempt one warning through the tracer, then standard error if the tracer fails.

Keep the read deadline, caller cancellation, and response cleanup active. Preserve the original read error when final diagnostics fail.

Add unit tests for periodic and final diagnostic failures, report construction, warning fallback, listener failures, and continued reads.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Return exit code 12 when clone succeeds but synchronous prefetch fails. Print a command that retries only prefetch. Preserve the failure code when a requested mount fails.

Keep per-request retry budgets and the existing background-prefetch behavior.

Add functional tests for stalled clone requests, retry recovery and exhaustion, the partial-success result, and mount-failure precedence.

Document clone retry configuration, prefetch recovery, and best-effort body diagnostics.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Retry only complete, empty-output failures that report both a transient
file-access warning and Git's config-read failure. Apply the same policy
to repository credentials and certificate passwords.

Bound the retry count and preserve the remaining process timeout.
Report retries and exhaustion without credential data or stderr.

Add focused unit tests and real Git config-lock regression tests.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Reject additional stderr diagnostics so a helper refusal does not match
the config-read retry policy.

Name the event for a config-read failure, including non-retryable
exhaustion. Align the delay field with the config-read retry schema.

Add assertions for infinite timeouts, busy-file errors, CRLF diagnostics,
retry metadata fields, and timeout results after a config-read failure.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Reject a transient access warning when Git also reports a non-transient config failure.

Assisted-by: GPT-6.1 Sol

Signed-off-by: Tyrie Vella <[email protected]>
When the PrjFlt driver service cannot start, "gvfs service --mount-all"
exits with ReturnCode.FilterError (4) and prints the reason, including the
command that re-enables a disabled driver.

The installer captured that output but dropped it on the exit-4 path. It
raised only the fixed text "Could not configure and start Windows Projected
File System", so an install or upgrade on such a machine still ended in a
dead-end error.

Append the captured output to the error text that the installer raises, and
write it to the setup log so silent installs keep the reason.

Assisted-by: Claude Sonnet 5.5
Signed-off-by: Tyrie Vella <[email protected]>
A successful timed WaitForExit does not wait for redirected stdout and
stderr callbacks. Drain those callbacks after Git exits so credential
config-read failures and successful credential output reach their callers.
Leave the timeout-failure path unchanged.

Add a real-Git regression test that pauses an output callback. The timed
case fails without the drain, while the infinite-wait case remains valid.
Exercise locked-config credential fills with finite and infinite timeouts.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Keep exit code 12 for missing disk-layout metadata. Use exit code 13 for a completed clone whose synchronous prefetch fails.

Update the clone functional test and troubleshooting documentation to match the distinct result.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Restart a shared object download for an uncancelled waiter when the download owner's cancellation interrupts it. Preserve cancellation for the owner and for cancelled waiters.

Use an iterative retry to avoid recursive growth across cancelled owners. Keep value-aware inflight removal and record the recovery event.

Add unit tests with real loopback HTTP and object validation. The tests cancel after body data arrives, then assert hydration and read-object recovery, caller cancellation, inflight cleanup, and circuit-breaker state.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Report an actionable error when the PrjFlt driver service is disabled
Retry credential fill after transient Git config access failures
GVFS.Mount discarded System.CommandLine's result, so failed mounts could exit
with code 0. Callers then treated failed mounts as successful.

- Return the mount command's real exit code from GVFS.Mount.
- Preserve GenericError when the command aborts or a child exits with code 0.
- Log full details for unexpected mount exceptions.
- Report quiet retry diagnostics only when all hook retries fail.
- Add command-level and process-level exit-code tests.

Assisted-by: Claude Sonnet 5
Signed-off-by: Tyrie Vella <[email protected]>
Co-authored-by: Copilot <[email protected]>
Fix GVFS.Mount exiting 0 on failure, hiding mount errors
Bound HTTP body read waits and report transfer progress
Use one bounded retry policy for git.exe and libgit2 config reads. Retry only transient file access failures and preserve existing missing-key behavior.

Retry the libgit2 repository open, which parses .git\config. Retry the git config alias lookup in the hooks. Let latency-sensitive hook callers use a smaller attempt budget.

Match a transient failure only on the reason after the last "': " in an error line. A path or key that contains "Permission denied" no longer matches.

Trace when a transient failure persists after all attempts. Do not trace config names that contain URL credentials.

Add Enlistment.CreateGitProcess(ITracer). Use it for the mount cache server, retry, status cache, and required-config readers, so retries reach the mount trace.

Assisted-by: GPT-5.6 Sol
Assisted-by: Claude Sonnet 5.5
Signed-off-by: Tyrie Vella <[email protected]>
RetryConfig started git.exe once for each of gvfs.max-retries,
gvfs.timeout-seconds, and gvfs.read-timeout-seconds. Read the settings in
process with libgit2. Open a
transient repository without its object store when the working directory
exists. Otherwise, read the global, XDG, system, and ProgramData config,
as GitProcess.GetFromConfig does before clone creates the repository.
The reads use the GitConfigReadRetry policy.

libgit2 does not read GIT_CONFIG_PARAMETERS, GIT_CONFIG_COUNT,
GIT_CONFIG_GLOBAL, GIT_CONFIG_SYSTEM, GIT_CONFIG_NOSYSTEM, or GIT_CONFIG.
When the environment sets any of these variables, read the settings with
git.exe.

libgit2 also ignores GIT_DIR. Do not read with git.exe for it. Git exports
GIT_DIR to hooks in linked worktrees, and GVFS reads repositories through
an explicit path. Before clone creates the repository, an inherited
GIT_DIR names an unrelated repository, so read only the global and system
config.

libgit2 evaluates only the gitdir, gitdir/i, and onbranch includeIf
conditions. It skips other conditions, such as hasconfig:remote.*.url,
without an error. When the config has such a condition, the libgit2 read
fails, and git.exe reads the setting.

When libgit2 cannot read a setting for another reason, for example
because it rejects the repository's ownership, read the setting with
git.exe and trace RetryConfig_ReadWithGit. After a transient file access
failure, do not read again with git.exe, because libgit2 already used the
retry budget.

Move integer setting parsing to GitConfigHelper, so both readers report
the same default, minimum, and parse errors. As before, an invalid or
unreadable setting uses its default and RetryConfig traces a warning.

When the LibGit2Repo constructor fails, it releases its libgit2
reference. Suppress finalization in that case, so the finalizer does not
release the reference a second time.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
Credential fill had its own retry loop for a transient config read
failure. It now uses GitConfigReadRetry, so one policy sets the attempt
count, the delays, and the traces for every config read.

Credential fill keeps its stricter check: it retries only an empty-output
failure in which git reports a transient file access warning and its
config read failure, and no other error. Each attempt still gets only the
time that remains of the caller's timeout.

Add two optional parameters to GitConfigReadRetry.InvokeResult. canWait
stops the retries when the caller's time budget cannot cover the next
delay. beforeRetry receives each failed result that will be read again.
Credential fill uses beforeRetry to write git's error output to the local
log.

Credential fill now reports retries with the GitConfigReadRetry warnings
(ConfigName "credential fill"), not with the CredentialConfigReadFailure
event. The transient reasons come from the shared list.

Update the credential fill unit tests to assert the shared traces. Add a
unit test for canWait and beforeRetry.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
The RetryConfig reader trusted three include layouts that libgit2
evaluates differently from git.exe:

  - onbranch: on a detached HEAD. libgit2 can apply the include, because
    it does not set the match result in that case. git.exe does not.
  - A gitdir: or gitdir/i: pattern that starts with a slash. git.exe
    treats it as a path without a drive. libgit2 matches it anywhere, as
    if it started with "**".
  - An include.path or includeIf.*.path that uses %(prefix). git.exe
    expands it to its installation directory. libgit2 skips the include.

The libgit2 read now fails for these layouts, and git.exe reads the
setting. libgit2 is still used for gitdir: and gitdir/i: patterns that
do not start with a slash.

Add unit tests that compare the reader with the installed git.exe for
onbranch: on a branch and on a detached HEAD, and for drive-less gitdir:
patterns. Add unit tests that check that %(prefix) include paths are read
with git.exe.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
…test

AuthenticationInitializationLoadsAllRetrySettings counted the git config
commands that the mock git process ran. RetryConfig now reads the
settings with libgit2 unless the environment changes Git config, so the
test failed when no GIT_CONFIG_* variable was set.

The test now gives the same values to libgit2, through an isolated
global config, and to the mock git process. It checks the values in the
RetryConfig_LoadedRetryConfig event, so it passes on either read path.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
LibGit2Repo.Dispose freed the repository handle and called
git_libgit2_shutdown for every instance. The protected constructors that
test doubles use do not call git_libgit2_init, so disposing or finalizing
such an instance released a libgit2 reference that another owner held.
When the count reached zero, libgit2 released its global state, including
the config search paths that IsolatedLibGit2Config sets. Tests that ran
later read the machine's global config instead. Because a finalizer could
run at any time, the authentication retry-settings test failed only in
some CI runs.

Record whether the constructor initialized libgit2, and release the
repository handle and the libgit2 reference only in that case.

Add a unit test that disposes a MockLibGit2Repo while an isolated config
is active and checks that a later read still uses the isolated config.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
`result` ("Build, Unit and Functional Tests Successful") is the single required check, but without an `if:` GitHub applied `success()` implicitly: when a test job failed, timed out or was cancelled, `result` was skipped, and a skipped required check counts as passing.

Run it with `if: always()` and fail unless every need succeeded. Jobs in this workflow skip steps rather than themselves, so `skipped` is treated as a failure. Also list `validate` and `build` in `needs`. The job name and the `Success!` step are unchanged.

Fixes #2153.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vx41jkTKgrWAx3u5A78K5p
git for Windows reads the global config from one home directory: HOME,
else HOMEDRIVE and HOMEPATH, else USERPROFILE. libgit2 searches all of
these directories and uses the first one that contains .gitconfig. For
the XDG file, libgit2 also searches APPDATA and LOCALAPPDATA, which git
does not. So when HOME points to a directory without a .gitconfig,
libgit2 can read the profile .gitconfig while git reads no global file.
The retry settings then differ between the two readers.

Before the libgit2 reader returns a value, compare the global and XDG
files that libgit2 selects with the files that git for Windows reads.
If they differ, fail the libgit2 read, so that RetryConfig reads the
value with git.exe. Do not change the libgit2 search paths, because
that state is process-wide.

Make IsolatedLibGit2Config set HOME and XDG_CONFIG_HOME to match its
search paths. Add a unit test that sets HOME to an empty directory and
USERPROFILE to a directory with a .gitconfig. The test checks that the
libgit2 reader fails, that real git.exe reads no value, and that
RetryConfig uses the default value.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
build: make the required `result` check fail instead of skip when a job fails
BlobPrefetcher read gvfs.prefetch-use-idx with GitProcess.GetFromLocalConfig
and parsed the value with bool.TryParse. Two problems follow:

- A value in the global or system git config had no effect. Only the
  repository's local config enabled the pack-index object existence
  checker.
- Valid git boolean values such as "yes", "on", and "1" were rejected,
  and the setting silently fell back to the default.

Other gvfs.* feature settings (for example gvfs.prefetch-offload,
gvfs.trust-pack-indexes, and gvfs.show-hydration-status) read the merged
config chain through LibGit2Repo.GetConfigBoolOrDefault. Use the same
helper here. It applies git boolean parsing, and it returns the default
and logs a warning if the value is invalid or the read fails.

Add functional tests that set gvfs.prefetch-use-idx to "yes" only in a
temporary global config. One test confirms that prefetch uses the
pack-index object existence checker. The other test also sets the key to
"false" in the local config and confirms that the local value takes
precedence.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
Read gvfs.prefetch-use-idx from the merged git config
Tyrie Vella (tyrielv) and others added 20 commits November 4, 2026 15:09
Git runs the pre-command hook with the name of a built-in command, or
with git-<name> when it will run a program or expand an alias. The hook
used a static command inventory and an alias.<name> config query to
skip the lock for aliases. The inventory omitted built-ins such as
stash and did not know custom programs. So a same-name alias could skip
the lock for a command that Git ran as a built-in or a program. The
read-only exemption list also applied to git-<name>, so a program such
as git-LOG on PATH ran without a lock.

The config query also missed [alias "<name>"] command. Git
2.56.0.vfs.0.4 does not run post-command for git-<name> before it
expands an alias. So an outer lock on a genuine alias blocks the first
locking command of that alias until the user cancels.

Decide from the raw hook argument:

- Apply the read-only exemption list only to built-ins, and to Git's
  git-submodule and git-web--browse programs.
- For git-<name>, look for a program as Git for Windows does in
  path_lookup and lookup_prog. Use each raw PATH entry. Check
  "<entry>\git-<name>.exe" with and without ".exe" through
  GetFileAttributesW, which fails for the same files as _waccess.
- If Git will run a program, take the lock.
- Otherwise, read the alias config keys with the parent git.exe
  (git config --name-only --get-regexp ^alias\.). Suppress recursive
  command hooks, decode the output as UTF-8, and retry once on a
  transient config access error. Match the keys as Git does:
  alias.<name>, alias..<name>, and dotted names for any ASCII case, and
  alias.<name>.command only for the exact name. Skip the outer lock
  only when a key matches.
- Stop the command with an error when GVFS cannot tell: the alias keys
  or the path of the parent git.exe cannot be read, or a PATH candidate
  does not fit Git's MAX_PATH buffer.

In post-command for git-<name>, release the lock only when the parent
Git process owns it. Do not look up aliases or PATH again. If the mount
is not reachable, return without an error, because only the mount holds
locks.

Use availability-only locking only for the built-in status, not for a
git-status program.

Remove the static command inventory. Tell the user to run gvfs status
in the new lock-ownership errors. Document how aliases interact with
command locks.

Add unit tests for built-in and external names, programs found on PATH
with Git's path rules, PATH candidates that do not fit Git's buffer,
the case rules of each alias form, failed alias reads, the read-only
list for git-<name>, and lock-ownership responses.

Add functional tests that run real Git with a lock holder for built-in
and external collisions, both alias forms, an alias from a config file,
a subsection alias with capital letters, nested aliases, command
spellings, directories and invalid entries on PATH. The tests check
that a script runs when it collides with an alias. Two functional tests
call the hooks directly with a live Git PID. One deletes the external
program between pre-command and post-command. The other locks the
global config and checks that pre-command stops the command without a
lock.

Assisted-by: GPT-6.1 Sol
Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
A linked worktree mount wrote its ids and status.deserializePath with
git config --local. Git resolves --local config for a linked worktree to
the config that all worktrees share. So each worktree mount overwrote the
ids and the status cache path of the primary enlistment. The status cache
path then pointed every enlistment at the cache of the last mount. Git
rejects a cache that does not match its own index, so every other
enlistment lost the status cache.

Required config:

- One required-config helper is now used by mount, clone, and repair.
- For a linked worktree, the helper enables extensions.worktreeConfig in
  the shared config. It writes status.deserializePath to the
  config.worktree of the worktree with git config --file. An unattended
  worktree writes an empty value, which disables the status cache.
- The shared config keeps the status cache path of the primary. A
  worktree mount restores that value if an older version overwrote it.
- A config.worktree value overrides the shared value. So the helper
  removes every other required setting from the config.worktree of the
  enlistment, for the primary too.
- The primary also enables the extension when a linked worktree has a
  config.worktree, so repair keeps it.
- The helper reads every config entry with git config --list -z. A
  required setting is correct only when it has exactly one entry with the
  required value. Git uses the last entry of a key, so the helper
  rewrites a key with several entries, or with an entry that has no
  value, with git config --replace-all.
- The helper reads the local config and config.worktree with the shared
  config read retry. The mount passes its tracer, so retries are traced.
- A failed shared write is retried up to five times. It counts as done
  when a new read shows the value, because concurrent worktree mounts
  write the same values. This also applies to the primary.
- Setting names with a quoted subsection, such as
  credential."https://dev.azure.com".useHttpPath, now match the output
  of git config --list. Before, every mount rewrote that setting in the
  shared config.
- Optional settings use a smaller helper that sets only missing keys.
  Its behavior does not change.
- The repair job shows the error of a failed required-settings write.

Ids:

- The mount id is created before the mount tracer. Every event of a
  mount now carries the id of that mount, not of the previous mount.
- A worktree writes gvfs.mount-id to its config.worktree.
- The worktree enlistment id is derived from the primary enlistment id
  and the worktree name. It does not change when the worktree moves. A
  worktree that is removed and added again with the same name gets the
  same id. A worktree mount restores the primary enlistment id in the
  shared config if an older version overwrote it.
- The mount reads the primary enlistment id one time, before the tracer.
  The tracer and the worktree metadata use the same derived id.
- For the primary, GetEnlistmentId reads the repo metadata first, and
  then the shared config.
- EnlistmentInfo reports PrimaryEnlistmentId for a worktree.
- Warnings about a missing primary enlistment id, a failed mount id
  write, and a failed shared id restore go to telemetry.

Assisted-by: Claude Opus 4.8 and Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
Co-authored-by: Copilot <[email protected]>
Keep diagnostic samples and exact per-layer observation counts on the
telemetry pipe. Preserve direct local error logs and retry behavior.
Distinguish direct breaker rejections from companion errors.
Use AggregationResult without changes to legacy HRESULT fields.

Add regression tests for counter keys, disposal delivery, cache-lock
boundaries, breaker-state observations, and requestor annotations.

Co-authored-by: Copilot <[email protected]>
Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
The hook removed a leading dot from every alias key after "alias.".
Git removes the dot only when the subsection is empty. Thus Git runs
"alias..review.foo" as the alias ".review.foo", and it runs
[alias ".review"] command as ".review". The hook did not find these
aliases, so it took an outer lock, and the alias command deadlocked.

Split each key at its last dot, as parse_config_key does. An empty
subsection names a plain alias. A "command" variable names the exact
subsection. Any other key names all of the text after "alias.".

Add unit cases for both forms, and add functional tests that run both
forms with real Git while another process holds the lock.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
The unit tests do not compile Program.cs, so two decisions there had
no direct tests: which status commands only check the lock, and what
post-command does when the mount is not available.

Move the availability-only check into GitCommandLock, which the unit
tests compile. Add unit tests that check status with --no-lock-index,
status with GIT_OPTIONAL_LOCKS, git-status, STATUS, and other commands.

Add a functional test that runs GVFS.Hooks.exe in a folder that has a
.gvfs folder but no mount. The test checks that post-command for a
git-<name> program exits without output, and that post-command for
status reports that the repo is not mounted.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
Preserve the hydration-summary pipe tests and the telemetry aggregation
tests in the combined listener fixture.

Co-authored-by: Copilot <[email protected]>
Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Preserve GVFS locks when commands collide with aliases
… mount

A mount without a GitStatusCache (unattended, or a platform without the
status cache) does not update or delete GitStatusCache.dat. Git still
reads that file when status.deserializePath names it, so git status can
report a clean tree over real edits. This happens when an attended mount
of a linked worktree writes the path of the primary to the shared
config while the primary runs unattended. It also happens after an
upgrade, when the shared config still names the cache of an unattended
worktree.

The mount now deletes the status cache file of its enlistment when it
does not run a GitStatusCache. It retries the delete five times, and
then fails the mount. Git skips a path that does not exist.

An empty status.deserializePath in config.worktree does not disable a
readable shared path: microsoft/git keeps the last readable path. The
comment in RequiredGitConfig now says what the empty value does.

Add the functional test
WorktreeTests.UnattendedMountDeletesTheStatusCacheThatItDoesNotUpdate.
The test builds an attended cache, remounts the primary unattended,
checks that the cache file is gone, writes the shared path again, and
checks that git status shows a new file.

Assisted-by: Claude Opus 5.5
Signed-off-by: Tyrie Vella <[email protected]>
Co-authored-by: Copilot <[email protected]>
Omit command-session context from cross-command summaries.
Keep breaker samples separate by previous and destination state.
Record the latest observation timestamp in summary counters.

Add real-pipe tests for command changes, recovery samples, and
bounded repeated transitions.

Co-authored-by: Copilot <[email protected]>
Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Keep worktree ids and status cache path out of the shared git config
Bound repeated failure and eviction telemetry
Accept complete nonnegative observations across different count populations. Share estimated display and preserve raw diagnostics without changing database records or cache lookup budgets.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Read modified paths from the mount's existing collection during background hydration.
Avoid the mount's self-pipe before readiness.
Preserve empty-entry filtering, the external pipe and disk fallback, and cache lookup budgets.

Add provider and percentage-boundary tests.
Isolate branch-switch test paths.
Delete retained folders.
Require a stable cache identity before reuse assertions.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Tyrie Vella <[email protected]>
Tolerate hydration count drift in status estimates
Capture ordered helper configuration, URL scope, and allowlisted
authentication preferences after failed repository credential attempts.
Omit arbitrary helper commands, arguments, URLs, and secret values from
metadata. Serialize fixed helper descriptions and preserve reset order.
Keep the captured environment on its invocation result. Replace URL
userinfo with fixed identifiers for native matching. Disable diagnostic
traces and report unsupported URL forms explicitly.
Bound diagnostic queries and throttle repeated snapshots.

Add real-Git configuration tests, final-sink serialization tests, and
failure-path tests for the snapshot.

Assisted-by: GPT-6.1 Sol
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tyrie Vella <[email protected]>
Share the Git config reader and transient retry policy with authentication diagnostics. Keep raw output, privacy controls, and all attempts within the existing deadline.

Assisted-by: GPT-6.1 Sol
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tyrie Vella <[email protected]>
Add clangarm64/bin to the safe Git installation layouts. Add unit tests for Windows paths and quoted paths with spaces and mixed-case layout names.

Assisted-by: GPT-6.1 Sol
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tyrie Vella <[email protected]>
Rename GitConfigReader to GitProcessConfigReader to identify its GitProcess scope. Update production and test references without behavior changes.

Assisted-by: GPT-6.1 Sol
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tyrie Vella <[email protected]>
…lone

Use the credential-fill working directory for authentication diagnostics before clone creates src. Add a regression that checks serialized telemetry with an absent working directory.

Assisted-by: GPT-6.1 Sol
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Tyrie Vella <[email protected]>
Record safe authentication configuration after credential failures
@KeithIsSleeping

Copy link
Copy Markdown

[KeithBot]: ✅ No issues found · iteration 1 (f24560f)

Validation

  • ✅ 12 PR merges only; PR tree = master tip
  • ✅ GVFS.UnitTests at source + base
  • ✅ GVFS.CommandLine.Tests at source + base
  • ✅ E2E gvfs clone vs loopback server, 3/3
  • ✅ CI master run, same tree: 33/33 green

Approving.

🤖 KeithBot · claude-opus-5.5 · reply on a thread to dispute

@tyrielv
Tyrie Vella (tyrielv) merged commit d845fcc into releases/shipped Nov 9, 2026
48 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