Repository navigation
docs: an Update section, and small fixes in the pivot module - #172
Merged
Merged
Conversation
…vot module - docs/getting-started.md: how to update a module (new version folder, restart the apps, reload, remove the old folder) and what carries over (shared code per module release, stored views, view file formats, the published schema folder). The module READMEs link to it. - Pivot: Remove-UDPivotErrorRecord is the one place that removes a handled error's record from $Error (three copies before); a test checks two failed calls in a row. - Pivot: the settings files load in the order of their names on every file system. - New-UDPivotReport: a comment names its steps. - AGENTS.md: the -Bound pattern and its test, and the $Error rule. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… Update section with verified steps only - The five catches that parse a server's answer call Remove-UDPivotErrorRecord as well, so the AGENTS.md rule holds for every catch around a request or its answer. - A direct test of the helper: the newest record is removed only when it is the error caught; the two-call test also checks that no token is left in $Error. - Update section: only what is verified (Install-PSResource side by side, PowerShell imports the newest version, restart PSU); the view file formats and the schema folder link to the templates page instead of repeating it. - Pivot CHANGELOG: the settings load order. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…es in its test Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 23, 2026
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.
A review of
mainat 0f29450 found that the docs say nothing about updating a module, and four small points in the pivot module. This pull request fixes them.What changed
docs/getting-started.mdhas an Update section: install the new version next to the old one, restart PSU, readers reload, remove the old folder. It also says what to check: each module carries its own copy of the shared code, where readers' views live, view file formats when going back, and the published schema folder. The last two link to the templates page, which owns them.Remove-UDPivotErrorRecordis the one place that removes the record of a handled error from$Error. It replaces three copies of the same guardedRemoveAt(0). The five catches that parse a server's answer use it too, so the rule in AGENTS.md holds for every catch around an HTTP request or its answer.Private/Settings/load in name order on every file system (Get-ChildItemreturns the order the file system keeps).New-UDPivotReporthas a comment that names its steps.-Boundpattern and the test that checks it, and the$Errorrule.How the Update facts were checked
Install-PSResourceandUpdate-PSResourceinstall a newer version side by side and keep the old folder (Microsoft's PSResourceGet docs).pwsh, not on PSU.[contenthash]inbuild/webpack.base.cjs).ConvertFrom-UDPivotViewFilereads formats 1 and 2 and refuses newer ones.Not changed
Invoke-UDPivotClithat parses the command line's output is no HTTP answer. It stays as it is.Checks
$Error; the helper removes the newest record only when it is the error caught. A mutation of the helper (no removal, or an unconditionalRemoveAt(0)) fails them. The timing test ofConvertTo-PSUComponentDatafailed once under load in a full run and passed alone.npm test: all pass.npm run growth: all four guards ok.Build-Module.ps1for all five modules.docs/index.md(no install text to change),docs/pivot/templates.md, AGENTS.md, the Pivot CHANGELOG.🤖 Generated with Claude Code