CI: build-server/build-webapp do not run on pull requests, so compile errors only surface after merge #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
build-serverandbuild-webappare triggered on pushes toslash/main, not on pull requests. Onlybranding-auditruns against a PR. This means a PR can be green and still not compile — the authoritative build happens after merge, when the bad commit is already on the main branch.Evidence
Workflow runs from the 2026-08-04 upstream merge:
Same pattern on PR #21 (run 411,
build-webapp/#21/skipped).Why it matters now
The upstream merge in #22 changed 92 product files (+3,244/-310) across Go and TypeScript. That merged with no compile check in front of it. It happened to be fine, but the safety net was behind the merge rather than in front of it, and upstream merges are exactly the change class most likely to break a build.
This also interacts with a known gap: CI builds the webapp with webpack (
transpileOnly), so type errors do not fail the build at all. There is already at least one latenttscerror onslash/main(theme_provider.tsx, TS2339 on theslashtheme key).Suggested fix
Add
pull_requesttriggers forbuild-serverandbuild-webappin.forgejo/workflows/, targetingslash/main. Consider gating on paths so doc-only PRs stay cheap.Optional follow-on: a non-blocking
tsc --noEmitjob, so type regressions are at least visible.