The GitHub Actions job "Required Checks" on texera.git/main has failed. Run started by GitHub user github-merge-queue[bot] (triggered by github-merge-queue[bot]).
Head commit for run: ce919243517c2e0654979ac5b4cdcc8e7f89afe4 / Matthew B. <[email protected]> fix(frontend): use default import for package.json version in dev build (#5444) ### What changes were proposed in this PR? - Change `frontend/src/environments/version.ts` to import `package.json` with a default import (`packageJson.version`) instead of a named import (`import { version }`). - Why it is a bug: Angular 21's webpack rejects named imports from JSON modules, so `ng serve` (dev) fails to compile and the dev server serves "Cannot GET /" (HTTP 404). Production builds are unaffected because `angular.json` fileReplacements swaps in `version.prod.ts`. ### Any related issues, documentation, discussions? Closes #5443 (regression introduced by #5153). ### How was this PR tested? - From `frontend/` on Node >=24, run `yarn start` and confirm the dev server compiles with no errors (previously failed on `version.ts` with `Failed to compile.`). - Open http://localhost:4200/ and confirm the app loads (HTTP 200, page title "Texera") instead of "Cannot GET /". - Confirm the UI footer still shows the version string from `package.json`. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.8) Report URL: https://github.com/apache/texera/actions/runs/27084314287 With regards, GitHub Actions via GitBox
