Ma77Ball opened a new pull request, #5617:
URL: https://github.com/apache/texera/pull/5617

   ### What changes were proposed in this PR?
   
   Backport of #5444 ("fix(frontend): use default import for package.json 
version in dev build") to `release/v1.2`.
   
   Applies as a clean `git cherry-pick -x` of the merged squash commit 
`ce919243`, no conflicts and no prerequisite chain. Frontend-only: 2 files 
changed, 35 insertions, 2 deletions, identical to the original.
   
   For the full change description see #5444. In brief: the dev build read the 
package.json version via a named import, which breaks under the dev build's 
JSON module handling; this switches to a default import so the version resolves 
correctly.
   
   ### Any related issues, documentation, discussions?
   
   Backports #5444 (which closes #5443 on `main`). Requested by @xuang7 for the 
v1.2 release; the PR was merged before the `release/v1.2` label existed, so 
auto-backport did not trigger.
   
   ### How was this PR tested?
   
   This is a backport with no changes beyond the single cherry-picked commit, 
so it relies on the existing tests carried over from #5444 (added 
`version.spec.ts`). Run them with `yarn test --include='**/version.spec.ts'` 
from `frontend/`.
   
   Backport fidelity was verified locally: after the cherry-pick, every file 
touched by #5444 is byte-identical to its state on `main` at the merged commit 
(`ce919243`), and `release/v1.2` had no independent changes to any of those 
files.
   
   Full compile and unit-test runs are left to CI.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 4.8)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to