You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Ma77Ball (via GitHub)" <gi...@apache.org> on 2026/06/11 03:44:20 UTC
[PR] fix(frontend): use default import for package.json version in dev build (#5444) [release/v1.2 backport] [texera]
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(frontend): use default import for package.json version in dev build (#5444) [release/v1.2 backport] [texera]
Posted by "xuang7 (via GitHub)" <gi...@apache.org>.
xuang7 merged PR #5617:
URL: https://github.com/apache/texera/pull/5617
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(frontend): use default import for package.json version in dev build (#5444) [release/v1.2 backport] [texera]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #5617:
URL: https://github.com/apache/texera/pull/5617#issuecomment-4677010462
## [Codecov](https://app.codecov.io/gh/apache/texera/pull/5617?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 51.55%. Comparing base ([`9c19f3f`](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`5cdf251`](https://app.codecov.io/gh/apache/texera/commit/5cdf251ede4e24a409a4473f1112a9bf0dfe12d8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## release/v1.2 #5617 +/- ##
===============================================
Coverage 51.55% 51.55%
Complexity 2445 2445
===============================================
Files 1065 1065
Lines 41227 41227
Branches 4415 4415
===============================================
Hits 21253 21253
Misses 18728 18728
Partials 1246 1246
```
| [Flag](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | *Carryforward flag |
|---|---|---|---|
| [access-control-service](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `64.61% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [agent-service](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `33.76% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [amber](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `51.97% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [computing-unit-managing-service](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `1.65% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [config-service](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `56.06% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [file-service](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `38.21% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [frontend](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `46.13% <100.00%> (ø)` | | |
| [pyamber](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.72% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [python](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.75% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [workflow-compiling-service](https://app.codecov.io/gh/apache/texera/pull/5617/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `58.69% <ø> (ø)` | | Carriedforward from [9c19f3f](https://app.codecov.io/gh/apache/texera/commit/9c19f3fca162bf02ef39e57fb1bb168aa5a8b051?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
*This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/texera/pull/5617?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org