Repository navigation
KubeCoder environment, YouTrack plugin design, and PR build fixes - #213
Merged
Merged
Conversation
The environment carries the .NET toolchain and a YouTrack token for checking the planned YouTrack plugin's REST calls. EnableWindowsTargeting lets the net8.0-windows projects compile on Linux; it has no effect on Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
…cks. `kc project build` compiles Tql.sln and publishes Tql.DebugApp self-contained for win-x64 into build/DebugApp, which the Windows desktop reaches over the Samba share. `kc project lint` runs CSharpier and the PR build's prettier check. No test verb: no test project can run on Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
The design covers self-hosted installations first (service URL with or without a path prefix, a URL copied from the address bar, host-relative URLs, certificates, Hub), the version 1 scope at JIRA parity, the project structure, and a test strategy that runs the REST client's tests on Linux. Its facts were measured against https://issues.webathome.org (2026.2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
A debug build loads the quick start playbook from the source tree so edits show up live, and failed to start when it couldn't find one: "Cannot find playbook path". A published debug build, such as the one a KubeCoder environment copies to Windows, has no source tree. It now falls back to the embedded playbook a release build uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
Windows won't run the build from the environment's Samba share. scripts/Sync-KubeCoder-Build.bat, run from the share, mirrors build\DebugApp into %TEMP%\TQL-DebugApp. The environment's instructions, the build verb's comment and the YouTrack design now point at it. /tmp is ignored for local scratch files such as copied logs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
docfx builds every Markdown file under docs/, so docs/Designs would have been published to GitHub Pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
The environment's Samba share refuses to execute a file without the Unix execute bit, so Windows couldn't run the script from the share. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
The script now kills a running Tql.DebugApp before copying, so its files can be replaced, and starts the copy in the Debug environment afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
It copies the build and starts it now, so the name says run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
runprettier.bat ran `npm install --save-dev prettier @prettier/plugin-xml`, which upgrades prettier past the version package-lock.json pins and rewrites scripts/package.json, so the uncommitted-changes check after it always failed. It now runs `npm ci`. `dotnet restore -warnaserror` failed on the NuGet audit: NU1902 on Azure.Identity 1.10.4 (fixed in 1.11.4) and NU1903 on System.Text.Json 8.0.0 (fixed in 8.0.5). Both are bumped and the lock files regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
…fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX
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.
Lets TQL be developed in a KubeCoder environment. It adds a design for a YouTrack plugin and fixes the two failures that kept every PR build red.
PR build fixes
Prettier.
runprettier.batrannpm install --save-dev prettier @prettier/plugin-xml. That upgrades prettier past the versionscripts/package-lock.jsonpins and rewritesscripts/package.json, so the uncommitted-changes check after it always failed. It now runsnpm ci.NuGet audit.
dotnet restore -warnaserrorfailed on two advisories:The lock files are regenerated.
KubeCoder environment
.kubecoder/sets up the dotnet toolchain.Directory.Build.propssetsEnableWindowsTargetingwhen not on Windows, which lets the net8.0-windows projects compile on Linux.kc project buildpublishes a self-contained win-x64Tql.DebugAppintobuild/DebugApp. Windows refuses to run it from the Samba share, soscripts/Run-KubeCoder-Build.bat, run from the share, mirrors it into%TEMP%\TQL-DebugAppand starts it.docs/Designsis excluded from the docfx site.YouTrack plugin design
docs/Designs/YouTrack-plugin.mddesigns the plugin, including self-hosted installations. No plugin code yet.Verified
Checked in the KubeCoder environment (Linux):
dotnet restore -warnaserrorpasses.dotnet build -c Release -warnaserrorgives 0 warnings.--warningsAsErrorsgives 0 warnings after the Markdown preprocessing step. On Linux this neededdocs/Template/Pluginslowercased in a scratch copy, because of case sensitivity; Windows is unaffected.Two steps are only checked by this PR's Windows build:
runprettier.batunder PowerShellThe Azure plugin should get a manual check on Windows after the Azure.Identity bump.
🤖 Generated with Claude Code
https://claude.ai/code/session_01RGjkV3AFfnNjd6n2D9pwGX