Skip to content

feat: introduce the LLM-based workflow copilot - #4020

Merged
bobbai00 merged 160 commits into
apache:mainfrom
bobbai00:feat/agent
Nov 26, 2025
Merged

bobbai00 merged 160 commits into
apache:mainfrom
bobbai00:feat/agent

Conversation

@bobbai00

@bobbai00 bobbai00 commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor

Please see this wiki page to learn how to enable this feature

What changes were proposed in this PR?

This PR introduces the LLM agent management & chat panel on the workflow workspace to help users with their workflows.

Demo

  1. Manage agent using the panel
    2025-11-08 14 59 31

  2. Ask agent questions regarding available Texera operators
    2025-11-08 15 00 38

  3. Ask agent about users' current workflow

2025-11-08 15 02 05

Architecture Diagram

Image

Major Changes

  1. Frontend: introduce the agent management & chat panel

  2. Backend:

  • New micro service litellm is introduced: which is a open source service that manages the communication between app and LLM APIs
  • AccessControlService is modified: adding the logic for routing litellm related requests

Any related issues, documentation, discussions?

Related to #4034

Current PR limitation and future PR plans

In current PR, the agent is only able to act in a "read-only" way, meaning it can only answer questions regarding operators, but couldn't change user's workflow.

In future PRs,

  • Agent will be able to edit user's workflow
  • Agent feature will be added to k8s deployment architecture.

How was this PR tested?

Frontend unit test cases are added.

To test the PR e2e:

  1. Launch litellm by following the instruction in bin/litellm-config.yaml
  2. Launch AccessControlService
  3. All set! You can now test the agent in workflow workspace.

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

The code content is co-authored with Claude code. This PR is not generated by generative AI.

@github-actions github-actions Bot added feature dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI infra common and removed common labels Nov 4, 2025
@bobbai00 bobbai00 self-assigned this Nov 4, 2025
@bobbai00
bobbai00 requested a review from aglinxinyuan November 4, 2025 17:15

@Xiao-zhen-Liu Xiao-zhen-Liu 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.

Left a few comments. Before I continue reviewing all the changes, I wonder if it is possible to make this into smaller PRs, e.g., you could introduce action plan in a separate PR.

Comment thread bin/litellm-config.yaml Resolved
Comment thread bin/mcp-service.sh Resolved
Comment thread bin/build-services.sh Resolved
Comment thread build.sbt Resolved
Comment thread frontend/custom-webpack.config.js Resolved
@chenlica

chenlica commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

This PR is too big! Let's discuss whether we can decompose it and how.

@chenlica

chenlica commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

@bobbai00 Please summarize the plan per our discussion. In the new PRs, include a architecture diagram and related screenshots.

@bobbai00

bobbai00 commented Nov 8, 2025 •

Copy link
Copy Markdown
Contributor Author

@bobbai00 Please summarize the plan per our discussion. In the new PRs, include a architecture diagram and related screenshots.

Done. They are all reflected in PR description and Issue #4034

@Xiao-zhen-Liu Xiao-zhen-Liu 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.

Tested and works well. Left some comments mainly for improving clarity.

I also think we should have a configuration flag for this feature. It would be even better if admins can turn it on / off dynamically.

@bobbai00 bobbai00 changed the title feat: LLM agents as the workflow copilot feat: LLM agents as the Texera workflow copilot Nov 26, 2025
@bobbai00 bobbai00 changed the title feat: LLM agents as the Texera workflow copilot feat: introduce LLM-based workflow copilot Nov 26, 2025
@bobbai00 bobbai00 changed the title feat: introduce LLM-based workflow copilot feat: introduce the LLM-based workflow copilot Nov 26, 2025
@bobbai00
bobbai00 merged commit 748b997 into apache:main Nov 26, 2025
bobbai00 added a commit that referenced this pull request Apr 28, 2026
### What changes were proposed in this PR?

This PR removes the frontend LLM copilot introduced in #4020 and adds a
**standalone service `agent-service`** that hosts LLM agents. It
connects with frontend through the per-agent WebSocket, and the Angular
panel/services that drive it.It also talks to the Texera's micro service
APIs like for things like retrieving the operator metadata and compiling
a workflow. The agent has no editing or execution tools yet, so it can
converse about the workflow without changing it.

#### System Architecture
<img width="750" height="600" alt="image"
src="https://github.com/user-attachments/assets/153bb757-fa10-4c5e-bf3e-4310cde6f8d8"
/>

#### Demo

1. Read user's workflow:
<img width="3054" height="1350" alt="2026-04-24 22 58 45"
src="https://github.com/user-attachments/assets/07c83da6-b3c3-4458-8188-f95683bd08d3"
/>


2. Explain certain operators:
<img width="3054" height="1350" alt="2026-04-24 22 59 17"
src="https://github.com/user-attachments/assets/a94b3701-5d96-4ae4-9d93-bf3a0262d7b7"
/>



### Any related issues, documentation, discussions?

Closes #4492 

### How was this PR tested?
- Added several unit tests in `agent-service`
- Manual tests the frontend-backend end2end.

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

Generated-by: Claude Code (Claude Opus 4.7)

---------

Co-authored-by: Chen Li <[email protected]>
Co-authored-by: Xinyuan Lin <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
Please see this [wiki
page](https://github.com/apache/texera/wiki/Guide-to-enable-the-LLM%E2%80%90based-Texera-copilot)
to learn how to enable this feature

<!--
Thanks for sending a pull request (PR)! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines:
[Contributing to
Texera](https://github.com/apache/texera/blob/main/CONTRIBUTING.md)
  2. Ensure you have added or run the appropriate tests for your PR
  3. If the PR is work in progress, mark it a draft on GitHub.
  4. Please write your PR title to summarize what this PR proposes, we 
    are following Conventional Commits style for PR titles as well.
  5. Be sure to keep the PR description updated to reflect all changes.
-->

### What changes were proposed in this PR?

This PR introduces the LLM agent management & chat panel on the workflow
workspace to help users with their workflows.

#### Demo
1. Manage agent using the panel
![2025-11-08 14 59
31](https://github.com/user-attachments/assets/75baf11d-e351-47b8-b676-b59e0e3b0db0)

2. Ask agent questions regarding available Texera operators
![2025-11-08 15 00
38](https://github.com/user-attachments/assets/4875efd2-4c87-42c8-91e0-5bb3a23c190a)

3. Ask agent about users' current workflow

![2025-11-08 15 02
05](https://github.com/user-attachments/assets/c8e57bbb-e93f-445e-951b-266e8ff7f3b0)


#### Architecture Diagram
See apache#4034 

#### Major Changes
1. Frontend: introduce the agent management & chat panel

5. Backend:
- New micro service `litellm` is introduced: which is a open source
service that manages the communication between app and LLM APIs
- `AccessControlService` is modified: adding the logic for routing
`litellm` related requests

### Any related issues, documentation, discussions?
<!--
Please use this section to link other resources if not mentioned
already.
1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves
apache#1234`
or `Closes apache#1234`. If it is only related, simply mention the issue
number.
  6. If there is design documentation, please add the link.
  7. If there is a discussion in the mailing list, please add the link.
-->
Related to apache#4034 

#### Current PR limitation and future PR plans
In current PR, the agent is only able to act in a "read-only" way,
meaning it can only answer questions regarding operators, but couldn't
change user's workflow.

In future PRs, 
- Agent will be able to edit user's workflow
- Agent feature will be added to k8s deployment architecture. 

### How was this PR tested?
<!--
If tests were added, say they were added here. Or simply mention that if
the PR
is tested with existing test cases. Make sure to include/update test
cases that
check the changes thoroughly including negative and positive cases if
possible.
If it was tested in a way different from regular unit tests, please
clarify how
you tested step by step, ideally copy and paste-able, so that other
reviewers can
test and check, and descendants can verify in the future. If tests were
not added,
please describe why they were not added and/or why it was difficult to
add.
-->
Frontend unit test cases are added.

To test the PR e2e:
1. Launch litellm by following the instruction in
`bin/litellm-config.yaml`
2. Launch `AccessControlService`
5. All set! You can now test the agent in workflow workspace.

### Was this PR authored or co-authored using generative AI tooling?
<!--
If generative AI tooling has been used in the process of authoring this
PR,
please include the phrase: 'Generated-by: ' followed by the name of the
tool
and its version. If no, write 'No'. 
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for
details.
-->

The code content is co-authored with Claude code. This PR is not
generated by generative AI.

---------

Co-authored-by: Xinyuan Lin <[email protected]>
Co-authored-by: Claude <[email protected]>
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
Please see this [wiki
page](https://github.com/apache/texera/wiki/Guide-to-enable-the-LLM%E2%80%90based-Texera-copilot)
to learn how to enable this feature

<!--
Thanks for sending a pull request (PR)! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines:
[Contributing to
Texera](https://github.com/apache/texera/blob/main/CONTRIBUTING.md)
  2. Ensure you have added or run the appropriate tests for your PR
  3. If the PR is work in progress, mark it a draft on GitHub.
  4. Please write your PR title to summarize what this PR proposes, we 
    are following Conventional Commits style for PR titles as well.
  5. Be sure to keep the PR description updated to reflect all changes.
-->

### What changes were proposed in this PR?

This PR introduces the LLM agent management & chat panel on the workflow
workspace to help users with their workflows.

#### Demo
1. Manage agent using the panel
![2025-11-08 14 59
31](https://github.com/user-attachments/assets/75baf11d-e351-47b8-b676-b59e0e3b0db0)

2. Ask agent questions regarding available Texera operators
![2025-11-08 15 00
38](https://github.com/user-attachments/assets/4875efd2-4c87-42c8-91e0-5bb3a23c190a)

3. Ask agent about users' current workflow

![2025-11-08 15 02
05](https://github.com/user-attachments/assets/c8e57bbb-e93f-445e-951b-266e8ff7f3b0)


#### Architecture Diagram
See apache#4034 

#### Major Changes
1. Frontend: introduce the agent management & chat panel

5. Backend:
- New micro service `litellm` is introduced: which is a open source
service that manages the communication between app and LLM APIs
- `AccessControlService` is modified: adding the logic for routing
`litellm` related requests

### Any related issues, documentation, discussions?
<!--
Please use this section to link other resources if not mentioned
already.
1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves
apache#1234`
or `Closes apache#1234`. If it is only related, simply mention the issue
number.
  6. If there is design documentation, please add the link.
  7. If there is a discussion in the mailing list, please add the link.
-->
Related to apache#4034 

#### Current PR limitation and future PR plans
In current PR, the agent is only able to act in a "read-only" way,
meaning it can only answer questions regarding operators, but couldn't
change user's workflow.

In future PRs, 
- Agent will be able to edit user's workflow
- Agent feature will be added to k8s deployment architecture. 

### How was this PR tested?
<!--
If tests were added, say they were added here. Or simply mention that if
the PR
is tested with existing test cases. Make sure to include/update test
cases that
check the changes thoroughly including negative and positive cases if
possible.
If it was tested in a way different from regular unit tests, please
clarify how
you tested step by step, ideally copy and paste-able, so that other
reviewers can
test and check, and descendants can verify in the future. If tests were
not added,
please describe why they were not added and/or why it was difficult to
add.
-->
Frontend unit test cases are added.

To test the PR e2e:
1. Launch litellm by following the instruction in
`bin/litellm-config.yaml`
2. Launch `AccessControlService`
5. All set! You can now test the agent in workflow workspace.

### Was this PR authored or co-authored using generative AI tooling?
<!--
If generative AI tooling has been used in the process of authoring this
PR,
please include the phrase: 'Generated-by: ' followed by the name of the
tool
and its version. If no, write 'No'. 
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for
details.
-->

The code content is co-authored with Claude code. This PR is not
generated by generative AI.

---------

Co-authored-by: Xinyuan Lin <[email protected]>
Co-authored-by: Claude <[email protected]>
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
…che#4495)

### What changes were proposed in this PR?

This PR removes the frontend LLM copilot introduced in apache#4020 and adds a
**standalone service `agent-service`** that hosts LLM agents. It
connects with frontend through the per-agent WebSocket, and the Angular
panel/services that drive it.It also talks to the Texera's micro service
APIs like for things like retrieving the operator metadata and compiling
a workflow. The agent has no editing or execution tools yet, so it can
converse about the workflow without changing it.

#### System Architecture
<img width="750" height="600" alt="image"
src="https://github.com/user-attachments/assets/153bb757-fa10-4c5e-bf3e-4310cde6f8d8"
/>

#### Demo

1. Read user's workflow:
<img width="3054" height="1350" alt="2026-04-24 22 58 45"
src="https://github.com/user-attachments/assets/07c83da6-b3c3-4458-8188-f95683bd08d3"
/>


2. Explain certain operators:
<img width="3054" height="1350" alt="2026-04-24 22 59 17"
src="https://github.com/user-attachments/assets/a94b3701-5d96-4ae4-9d93-bf3a0262d7b7"
/>



### Any related issues, documentation, discussions?

Closes apache#4492 

### How was this PR tested?
- Added several unit tests in `agent-service`
- Manual tests the frontend-backend end2end.

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

Generated-by: Claude Code (Claude Opus 4.7)

---------

Co-authored-by: Chen Li <[email protected]>
Co-authored-by: Xinyuan Lin <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Sep 27, 2026
### What changes were proposed in this PR?

Deletes six dead members of `AgentChatComponent`. **+3/−91 lines.**
There is no behaviour change.

- `getToolResult`, `getToolOperatorAccess` and `hasOperatorAccess`. The
step-detail modal's template calls `ReActStepDetailModalComponent`'s own
copies of these, not the chat component's.
- `closeDetailsModal`, which is no longer bound anywhere. The modal
closes through the `[(visible)]` binding.
- The private `scrollToMessage`, which lost its only caller in apache#8613.
- The `messageInput` `@ViewChild`, which was never read, and its
`#messageInput` template ref.

The spec loses the four cases that only exercised these members, plus
the `scrollIntoView` stub that existed for `scrollToMessage`.

### History

| | |
| --- | --- |
| **Introduced by** | apache#4020 (2025-11-25), "feat: introduce the LLM-based
workflow copilot": `getToolResult`, `closeDetailsModal`, `messageInput`.
apache#4495 (2026-04-27) added `getToolOperatorAccess`, `hasOperatorAccess`
and `scrollToMessage` |
| **Usage removed by** | apache#4495 (2026-04-27), "feat(agent-service): add
agent-service that manages LLM agents". It moved step details into
`ReActStepDetailModalComponent` (with its own copies) and deleted the
chat template's calls. The three members it added, and `messageInput`,
were **never used**. `scrollToMessage` was never reachable, and apache#8613
removed its only static caller |

It has been dead for five months.

> Reviewer note: open draft apache#5928 (bobbai00) also drops the
operator-access members as part of a larger refactor. If it lands
second, the conflict is a trivial delete/delete. apache#8613 should have taken
`scrollToMessage` with its caller; this PR finishes that.

### Any related issues, documentation, discussions?

Closes apache#8696

### How was this PR tested?

No new tests. The kept cases, including the `[(visible)]`
two-way-binding case, cover what remains.

From `frontend/`:

- `npx ng test --watch=false --include='**/agent-chat.component.spec.ts'
--include='**/agent-panel.component.spec.ts'`: 2 files, 103 tests, all
pass.
- `yarn format:ci`: clean.
- `npx ng build`: success.

To re-check:

```
git grep -n "closeDetailsModal\|scrollToMessage\|messageInput" -- frontend   # no hits
```

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Sep 28, 2026
)

### What changes were proposed in this PR?

Deletes four unused members of `WorkflowUtilService`, plus the rxjs
import and the three spec cases that existed only for them. **+1/−85
lines.** There is no behaviour change. The constructor still fills
`operatorSchemaList` from the metadata subscription; only the
`.next(true)` to a Subject with no subscriber goes.

### History

| | |
| --- | --- |
| **Introduced by** | apache#712 (2019-06-06):
`operatorSchemaListCreatedSubject` + getter. apache#754 (2020-12-11), "Added
operator grouping feature": `getGroupRandomUUID`. apache#1309 (2021-08-28),
"Re-enabling breakpoints": `getBreakpointRandomUUID`. apache#4020
(2025-11-25), "feat: introduce the LLM-based workflow copilot":
`getOperatorTypeList` |
| **Usage removed by** | apache#1674 (2022-10-05), the Yjs shared-editing
frontend, removed the last live path to `getGroupRandomUUID` (apache#3033
later deleted its last textual call, inside a dead `getNewGroup`). apache#4495
(2026-04-27) removed the copilot tool that called `getOperatorTypeList`.
The stream and `getBreakpointRandomUUID` were **never used** |

The oldest of these has been dead for seven years, and the newest for
five months.

### Any related issues, documentation, discussions?

Closes apache#8716

### How was this PR tested?

No new tests. The 15 remaining service cases cover what is left.

From `frontend/`:

- `npx ng test --watch=false`, with one `--include` per spec that
imports `workflow-util.service` (20 files): 724 tests, all pass.
- `yarn format:ci`: clean.
- `npx ng build`: success.

To re-check:

```
git grep -n -E "getOperatorTypeList|getGroupRandomUUID|getBreakpointRandomUUID|OperatorSchemaListCreated" -- frontend   # no hits
```

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Oct 4, 2026
…#8829)

### What changes were proposed in this PR?

Removes a class binding in `AgentPanelComponent` that can never apply.
**+1/−11 lines.** There is no behaviour change.

`<ul id="return-button">` has `[ngClass]="{'shadow': !width}"` and
`*ngIf="width"` on the **same element**. `*ngIf` creates the element
only while `width` is truthy, and `!width` is then always `false`. So
`shadow` is never set on a rendered element. `width` is a `number` that
is only ever 0, the 400px minimum, a resize width, or a range-checked
stored width, so there is no value that is both truthy and falsy.

The PR removes:

- the binding;
- the `.shadow` rule, which nothing else in this component's template
uses (the styles are encapsulated);
- `NgClass` from the imports, because this was the template's only
`ngClass`.

The `*ngIf` and every live style on the element stay.

### History

| | |
| --- | --- |
| **Introduced by** | apache#4020 (2025-11-25), "feat: introduce the LLM-based
workflow copilot": the binding, the `*ngIf` and the `.shadow` rule
together. apache#4873 (2026-05-03) later added the `NgClass` import when the
component became standalone |
| **Usage removed by** | **never used**. The binding has been
unreachable since the line was written. apache#4495 only moved the files |

It has never applied, in the ten months since it was added.

### Any related issues, documentation, discussions?

Closes apache#8828

### How was this PR tested?

No new tests; no spec referenced the class.

From `frontend/`:

- `npx ng test --watch=false
--include='**/agent-panel.component.spec.ts'
--include='**/workspace.component.spec.ts'`: 2 files, 86 tests, all
pass. These are the only specs that render the panel.
- `yarn format:ci`: clean.
- `npx ng build`: success.

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Nov 25, 2026
…9686)

### What changes were proposed in this PR?

Remove code that nothing uses, and constructs that repeat a default or
an alias, from the Python tests, the agent service, three frontend
specs, the AsterixDB source and the RustFS test container, and make an
unreachable error check in the single-node example loader reachable
(**+84/−137 lines**). Only the loader's behavior changes: a workflow
file that `jq` cannot parse is now reported and skipped instead of
aborting the loader.

- **Python tests (14 files):** `test_console_message.py` drops the
unused `internal_queue` and `timed_buffer` fixtures and their imports.
Two tests drop fixture parameters they never read (`executor`,
`a_timestamp`), and `test_proxy_client.py` names an unused loop value
`_`. The others write `dict(...)` calls as literals, return from
fixtures that yield without teardown, drop empty `@pytest.fixture()`
parentheses, merge nested `with` blocks, return a value directly instead
of through a local, take the first element with `next(iter(...))`, and
spell `datetime.timezone.utc`, `socket.timeout` and `bytes()` as
`datetime.UTC`, `TimeoutError` and `b""` (Ruff targets Python 3.11).
- **Agent service:** `src/agent/index.ts` and `src/api/index.ts` only
re-export modules that callers import directly. No file imports either
barrel, and the package entry is `src/index.ts`.
`workflow-system-metadata.ts` drops the unused `OperatorSchema` and
`ValidationError` type imports.
- **Frontend specs:** the dataset and model creator specs drop
`FormsModule` and `HttpClientTestingModule`, which
`createFormlyModalFixture` already provides, and the admin Gmail spec
drops three modules that the standalone component and its stubbed
service do not need.
- **`load-examples.sh`:** tests the `content=$(jq -c .
"$workflow_file")` assignment in the `if` instead of checking `$?` after
it. The script runs under `set -euo pipefail` and `main` calls
`load_workflows` directly, so the old check could never fire: a workflow
file that `jq` could not parse aborted the loader and skipped the files
after it, although the comment above `FAILURES` calls each failure
deliberately non-fatal. Now `print_error` counts the file, the loop
moves on, and `main` still exits non-zero at the end.
`test_load_examples_sh.sh` adds a case with an unparseable workflow
sorted ahead of a good one.
- **AsterixDB source:** `AsterixDBConnUtil` and `AsterixDBSourceOpExec`
assign the version response and the parsed row once as `val`s instead of
overwriting `null` and `None` placeholders.
- **`RustFSContainer`:** drops the Scaladoc lines saying the console is
left disabled. RustFS 1.0.0 enables the console by default, and the
fixture does not override it.

| Event | PR / Commit |
| --- | --- |
| Introduced by | Python tests: apache#1259 (2021-07-23), apache#1498 (2022-04-15),
apache#1452 (2022-05-13), apache#2067 (2023-07-27), apache#1748 (2023-11-09), apache#2815
(2024-09-05), apache#4520 (2026-04-27), apache#4704, apache#4719 and apache#4795 (2026-05-03),
apache#4893 (2026-05-04), apache#6643 (2026-07-20), apache#6988 (2026-07-29), apache#7374
(2026-08-07), apache#7579 (2026-08-13), apache#8067 (2026-08-29), apache#8542
(2026-09-15), apache#9279 (2026-11-04), apache#8704 (2026-11-05), apache#9623
(2026-11-23); agent service: apache#4020 (2025-11-25), apache#4495 and apache#4540
(2026-04-28); frontend specs: apache#6513 (2026-07-18), apache#6576 (2026-07-20),
apache#8068 (2026-08-28); `load-examples.sh`: apache#4247 (2026-03-02); AsterixDB
source: apache#1044 (2021-02-25); `RustFSContainer`: apache#8542 (2026-09-15) |
| Usage removed by | Creator spec modules: apache#9522 (2026-11-22,
`refactor(frontend): share dataset and model resource UI`) moved both
specs to `createFormlyModalFixture`. Everything else: unused,
unreachable or redundant since introduction. |

As of 2026-11-24:
- The AsterixDB placeholders have been overwritten before any read for
over 5 years.
- The console-message fixtures have been unused for over 2 years.
- The `load-examples.sh` check has been unreachable for almost 9 months.
- The agent-service barrels have had no importer for the 7 months the
service has existed.
- The creator spec modules have been redundant for 2 days.

### Any related issues, documentation, discussions?

Closes apache#9685.

### How was this PR tested?

Ran on this branch and on `main` at `424b2a757a` (Windows 11; Python
3.12 with CI's pinned `ruff` 0.14.7; Node 24 with Yarn 4.14.1; Bun
1.3.13; JDK 17; the loader test in an Alpine container with Bash 5.2.21
and jq 1.7.1):

```bash
cd amber
ruff check src/main/python src/test/python
ruff format --check src/main/python src/test/python
pytest $(git diff --name-only --relative origin/main -- src/test/python)
cd ../agent-service
bun test
bun run typecheck
cd ../frontend
npx ng test --watch=false --include='**/user-dataset-creator.component.spec.ts' --include='**/user-model-creator.component.spec.ts' --include='**/admin-gmail.component.spec.ts'
npx tsc --noEmit -p src/tsconfig.spec.json
yarn prettier-eslint --list-different $(git diff --name-only --relative origin/main -- src)
yarn eslint $(git diff --name-only --relative origin/main -- src)
cd ..
sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.source.sql.*" WorkflowCore/Test/compile WorkflowOperator/scalafmtCheckAll WorkflowCore/scalafmtCheckAll "WorkflowOperator/scalafixAll --check" "WorkflowCore/scalafixAll --check"
bash bin/single-node/tests/test_load_examples_sh.sh
```

- **Python:**
  - Ruff passes on all 218 files.
- The 14 changed test files run 288 tests with the same outcome per test
on both sides: 218 pass, 67 are skipped and 3 fail.
- The three failures are timestamp cases in
`test_ui_parameter_contract.py` that expect UTC and come out 8 hours off
in this machine's time zone. They fail the same way on `main`.
- **Agent service:** all 361 tests in 20 files and the typecheck pass on
both sides.
- **Frontend:** the three specs run 37 tests, all passing on both sides.
The spec typecheck, prettier-eslint and ESLint pass.
- **Scala:** the 11 `source.sql` suites, including the three AsterixDB
specs, run 204 tests that all pass on both sides. WorkflowCore's tests
compile, and scalafmt and scalafix pass on both modules.
- **`load-examples.sh`:** `test_load_examples_sh.sh` passes all 11
checks. Against `main`'s loader, the 9 existing checks pass and the 2
new ones fail: `jq` exits 5 at the malformed file, and the loader stops
there without creating the other workflow.

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

Generated-by: Claude Code (Claude Opus 5.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common dependencies Pull requests that update a dependency file feature frontend Changes related to the frontend GUI infra service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants