Repository navigation
The IDBridge Sync task imports IDBridge by name, so Update-Module is the whole update — release 26.9.25.0 - #14
Merged
Conversation
…the whole update Register-IDBridgeScheduledTask wrote the loaded module's manifest path into the task, and for a Gallery install that is the version folder: Update-Module put the new release beside it and the task kept running the old one (a district on 26.9.9.0 with 26.9.21.0 installed, 2026-09-25). The task now runs `Import-Module IDBridge`, so every run loads the newest version installed for all users and no read grant on the module folder is needed. A per-user install, which the gMSA cannot see, is refused with the install-for-all-users steps; -ModulePath still pins the task to one manifest. Two pure helpers carry the decision and the command string (Test-IDBridgeSharedModulePath, Get-IDBridgeTaskCommand), each with tests. The update-available log line names -Scope AllUsers and the one-time re-registration a task from before this release needs; README, getting-started, google-bootstrap and the AD bootstrap doc install for all users. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0144DV5TZ5tuFoUefCSp549T
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0144DV5TZ5tuFoUefCSp549T
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Register-IDBridgeScheduledTaskwrote the loaded module's manifest path into theIDBridge Synctask. For a Gallery install that path is the version folder, soUpdate-Moduleinstalled each new release beside the old one and the task kept running the old one. Seen at a district on 2026-09-25: 26.9.21.0 installed, the task still on 26.9.9.0, so the newData\LastRun.jsonnever appeared.Import-Module IDBridge; Invoke-IDBridge -RootPath '<root>', so every run loads the newest version installed for all users andUpdate-Module IDBridge -Scope AllUsersis the whole update. No read grant on the module folder is needed any more.-Scope CurrentUserinstall, so registration stops with the install-for-all-users steps instead of writing a task that would fail by name.-ModulePathstill pins the task to one manifest and grants read on its folder.Test-IDBridgeSharedModulePath(whole-segment, case-insensitive prefix match against the machinePSModulePathplus$env:ProgramFiles\PowerShell\Modules) andGet-IDBridgeTaskCommand(by-name and pinned forms), each with tests.-Scope AllUsersand the one-timeRegister-IDBridgeScheduledTask -Enableda task registered before this release needs. README, getting-started, google-bootstrap and the AD bootstrap doc install for all users, with an "Updating IDBridge" bullet.Verification
Test-ModuleManifestpasses at 26.9.25.0.Register-IDBridgeScheduledTaskitself, which needs AD and Task Scheduler. The by-name path and the refusal were verified by reading and by the pure helpers' tests.[Environment]::GetEnvironmentVariable('PSModulePath','Machine')already listsC:\Program Files\PowerShell\Modules. The helper adds it either way, so the answer changes nothing.After merge
Dispatch the Publish workflow; it mints
v26.9.25.0and publishes to the Gallery. Boxes registered before this release need oneRegister-IDBridgeScheduledTask -IntervalMinutes <n> -Enabledafter updating; from then on Update-Module alone is enough.🤖 Generated with Claude Code
https://claude.ai/code/session_0144DV5TZ5tuFoUefCSp549T
Generated by Claude Code