CI: stand up Gitea Actions (TST-03) + fix the defects it caught (#123)
Make the authored CI pipeline execute and go green on the co-located runner (portable + java), fix the five real latent defects the first real run surfaced (codegen-check null, stale rust proto, orphan-terminator Linux path, stale java worker codegen, py3.12 event loop), provision pwsh + Gradle for the self-hosted act image, and disable the Windows jobs (act host-mode broken). TST-03 -> Done. https://claude.ai/code/session_01DMXXvNuPekkkrTEyPNxEkW
This commit was merged in pull request #123.
This commit is contained in:
@@ -52,7 +52,9 @@ try {
|
||||
$failures.Add('Contracts project failed to build during codegen check.')
|
||||
}
|
||||
|
||||
$diff = (& git -C $repoRoot status --porcelain -- 'src/ZB.MOM.WW.MxGateway.Contracts/Generated').Trim()
|
||||
# Pipe through Out-String so a clean tree (git emits nothing -> $null) does not throw
|
||||
# "cannot call a method on a null-valued expression"; Out-String yields '' for no output.
|
||||
$diff = (& git -C $repoRoot status --porcelain -- 'src/ZB.MOM.WW.MxGateway.Contracts/Generated' | Out-String).Trim()
|
||||
if (-not [string]::IsNullOrEmpty($diff)) {
|
||||
Write-Host $diff
|
||||
$failures.Add('Contracts/Generated differs from a fresh regeneration. Run `dotnet build` on the contracts project and commit Generated/ (required for the net48 worker build).')
|
||||
|
||||
Reference in New Issue
Block a user