You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "anthonychengit (via GitHub)" <gi...@apache.org> on 2026/07/19 06:46:32 UTC

[PR] test(frontend): cover workflow compilation helpers [texera]

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

   ### What changes were proposed in this PR?
   
   This PR adds unit-test coverage for the pure helpers in `workflow-compilation-utils`.
   
   Covered behavior:
   - empty and single-element schema arrays compare equal;
   - deeply equal schemas and all-undefined schemas compare equal;
   - mismatched and mixed defined/undefined schemas compare unequal;
   - compilation errors produce a failed state keyed by operator ID;
   - existing errors are preserved only from an already-failed state;
   - output-port schema maps are initialized or carried over based on the input state.
   
   ### Any related issues, documentation, discussions?
   
   Closes #6259
   
   ### How was this PR tested?
   
   Tested with:
   - `node .yarn/releases/yarn-4.14.1.cjs prettier --check src/app/common/util/workflow-compilation-utils.spec.ts`
   - `node .yarn/releases/yarn-4.14.1.cjs eslint src/app/common/util/workflow-compilation-utils.spec.ts`
   - `node .yarn/releases/yarn-4.14.1.cjs test --include=src/app/common/util/workflow-compilation-utils.spec.ts`
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex was used for implementation and verification assistance. I reviewed the final code and test output before submission.
   


-- 
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] test(frontend): cover workflow compilation helpers [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6548:
URL: https://github.com/apache/texera/pull/6548#issuecomment-5014750011

   <!-- texera-reviewer-suggestion -->
   ### Automated Reviewer Suggestions
   
   Based on the `git blame` history of the changed files, we recommend the following reviewers:
   
   - No candidates found from `git blame` history.
   


-- 
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] test(frontend): cover workflow compilation helpers [texera]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #6548:
URL: https://github.com/apache/texera/pull/6548#issuecomment-5014770506

   ## [Codecov](https://app.codecov.io/gh/apache/texera/pull/6548?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 72.54%. Comparing base ([`80c45be`](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`71293ac`](https://app.codecov.io/gh/apache/texera/commit/71293acf07057be3a713cbcb7c7a3a4579fb6062?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            @@
   ##               main    #6548   +/-   ##
   =========================================
     Coverage     72.54%   72.54%           
     Complexity     3436     3436           
   =========================================
     Files          1145     1145           
     Lines         45129    45129           
     Branches       4975     4975           
   =========================================
   + Hits          32738    32740    +2     
   + Misses        10709    10703    -6     
   - Partials       1682     1686    +4     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/texera/pull/6548/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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `70.00% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `76.76% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `66.81% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `17.72% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `66.66% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `66.80% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `73.82% <ø> (+0.02%)` | :arrow_up: | |
   | [notebook-migration-service](https://app.codecov.io/gh/apache/texera/pull/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `78.94% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [pyamber](https://app.codecov.io/gh/apache/texera/pull/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `91.79% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `55.14% <ø> (ø)` | | Carriedforward from [80c45be](https://app.codecov.io/gh/apache/texera/commit/80c45be89dbbc64abafe0f70a1c05ef7117fbaa8?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/6548?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


Re: [PR] test(frontend): cover workflow compilation helpers [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan merged PR #6548:
URL: https://github.com/apache/texera/pull/6548


-- 
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