Skip to content

fix(v1.2): Clean up annotations and remove redundant request IDs - #9317

Merged
xuang7 merged 3 commits into
release/v1.2from
backport/9275-clean-up-annotations-and-remove-redundan-v1.2
Nov 10, 2026
Merged

xuang7 merged 3 commits into
release/v1.2from
backport/9275-clean-up-annotations-and-remove-redundan-v1.2

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Automated backport of #9275 to release/v1.2.

Source: 19699e3 · automation run

Any related issues, documentation, discussions?

Backport of #9275.

How was this PR tested?

Release-branch CI runs on this branch once the conflicts are resolved and this PR is marked ready for review.

Was this PR authored or co-authored using generative AI tooling?

No.

### What changes were proposed in this PR?
These are some changes Meng gave me that clean up a few things regarding
the IDs requests give and some missing annotations

### Any related issues, documentation, discussions?
No, it is a small change, so that would be overkill.

### How was this PR tested?
It contains its own tests, it's a small change so nothing else should be
necessary.

### Was this PR authored or co-authored using generative AI tooling?
I believe so, but I edited the patches a little for clarity and to
remove excessive comment narration.

---------

(backported from commit 19699e3)

Co-authored-by: Meng Wang <[email protected]>
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

The cherry-pick conflicted and was committed with conflict markers. Resolve the conflicts on this branch, then mark this PR ready for review.

Conflicting files:

  • amber/src/test/scala/org/apache/texera/web/resource/dashboard/user/quota/UserQuotaResourceSpec.scala
  • amber/src/test/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResourceSpec.scala

Keep only the tests #9275 added to WorkflowExecutionsResourceSpec; the rest of the conflict block was main-only test code. UserQuotaResourceSpec does not exist on release/v1.2, so the whole file comes along: its users now set a password to satisfy the ck_nulltest constraint that release/v1.2 still has, and the test for #9190 (owner treated as WRITE) is dropped because that fix is not on this branch.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@xuang7
xuang7 marked this pull request as ready for review November 10, 2026 00:34
@github-actions

Copy link
Copy Markdown
Contributor Author

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.

@codecov-commenter

codecov-commenter commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.65%. Comparing base (6442ffd) to head (a4c491e).
⚠️ Report is 3 commits behind head on release/v1.2.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ard/user/workflow/WorkflowExecutionsResource.scala 41.66% 13 Missing and 1 partial ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##             release/v1.2    #9317      +/-   ##
==================================================
+ Coverage           53.49%   53.65%   +0.15%     
- Complexity           2568     2573       +5     
==================================================
  Files                1078     1078              
  Lines               42359    42383      +24     
  Branches             4563     4566       +3     
==================================================
+ Hits                22661    22741      +80     
+ Misses              18383    18323      -60     
- Partials             1315     1319       +4     
Flag Coverage Δ *Carryforward flag
access-control-service 64.35% <ø> (ø) Carriedforward from 6442ffd
agent-service 38.97% <ø> (ø) Carriedforward from 6442ffd
amber 53.90% <50.00%> (+0.42%) ⬆️
computing-unit-managing-service 1.65% <ø> (ø) Carriedforward from 6442ffd
config-service 56.06% <ø> (ø) Carriedforward from 6442ffd
file-service 61.72% <ø> (ø) Carriedforward from 6442ffd
frontend 47.36% <ø> (ø) Carriedforward from 6442ffd
pyamber 93.37% <ø> (ø) Carriedforward from 6442ffd
python 90.93% <ø> (ø) Carriedforward from 6442ffd
workflow-compiling-service 58.69% <ø> (ø) Carriedforward from 6442ffd

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xuang7

xuang7 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Resolved the backport conflict. Two adaptations for release/v1.2 beyond the conflict itself: UserQuotaResourceSpec does not exist on this branch, so the whole file comes along with #9275's changes; its test users now set a password because release/v1.2 still has the ck_nulltest constraint on the user table (main dropped it in #7055). The test "include a workflow the user owns without an access row" is left out, since it covers #9190, which is not on this branch. Both specs pass locally against the release/v1.2 schema (47 tests).

@xuang7 xuang7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The main code matches #9275 on main; the test adaptations for release/v1.2 are described in the comment above and both specs pass locally against this branch's schema.

@xuang7
xuang7 enabled auto-merge November 10, 2026 01:23
@xuang7
xuang7 added this pull request to the merge queue Nov 10, 2026
Merged via the queue into release/v1.2 with commit df7fd1e Nov 10, 2026
15 checks passed
@xuang7
xuang7 deleted the backport/9275-clean-up-annotations-and-remove-redundan-v1.2 branch November 10, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants