feat(runner): unify plugin execution across agents and event processors

This commit is contained in:
RockChinQ
2026-09-10 18:04:38 +08:00
parent 8903a40c41
commit f24a7c9bb2
223 changed files with 4091 additions and 3068 deletions
+10 -10
View File
@@ -842,7 +842,7 @@ test.describe('pipeline advanced flows', () => {
});
test.describe('agent runner resource selectors', () => {
test('installs an AgentRunner from the grouped empty selector and refreshes it', async ({
test('installs an Runner from the grouped empty selector and refreshes it', async ({
page,
}) => {
await installLangBotApiMocks(page, { authenticated: true });
@@ -1011,7 +1011,7 @@ test.describe('agent runner resource selectors', () => {
tags: [],
install_count: 12,
latest_version: '1.0.0',
components: { AgentRunner: 1 },
components: { Runner: 1 },
status: 'live',
type: 'plugin',
created_at: '2026-01-01T00:00:00Z',
@@ -1030,11 +1030,11 @@ test.describe('agent runner resource selectors', () => {
const runnerSelect = page.getByRole('combobox', { name: 'Runner' });
const triggerBox = await runnerSelect.boundingBox();
await runnerSelect.click();
await expect(page.getByText('Installed AgentRunners')).toBeVisible();
await expect(page.getByText('Installed Runners')).toBeVisible();
await expect(
page.getByText('No AgentRunner extension is installed yet.'),
page.getByText('No Runner extension is installed yet.'),
).toBeVisible();
await expect(page.getByText('AgentRunner Marketplace')).toBeVisible();
await expect(page.getByText('Runner Marketplace')).toBeVisible();
const selectorPopup = page.locator('[data-slot="select-content"]');
await expect(
selectorPopup.getByText('Runner used by the grouped selector test.', {
@@ -1050,7 +1050,7 @@ test.describe('agent runner resource selectors', () => {
await expect
.poll(() => marketplaceSearchBody)
.toMatchObject({
component_filter: 'AgentRunner',
component_filter: 'Runner',
type_filter: 'plugin',
});
@@ -1074,7 +1074,7 @@ test.describe('agent runner resource selectors', () => {
).toHaveCount(0);
});
test('uses the compact AgentRunner marketplace selector in pipeline AI settings', async ({
test('uses the compact Runner marketplace selector in pipeline AI settings', async ({
page,
}) => {
await installLangBotApiMocks(page, { authenticated: true });
@@ -1112,7 +1112,7 @@ test.describe('agent runner resource selectors', () => {
tags: [],
install_count: 9,
latest_version: '1.0.0',
components: { AgentRunner: 1 },
components: { Runner: 1 },
status: 'live',
type: 'plugin',
created_at: '2026-01-01T00:00:00Z',
@@ -1129,8 +1129,8 @@ test.describe('agent runner resource selectors', () => {
const runnerSelect = page.getByRole('combobox', { name: 'Runner' });
await runnerSelect.click();
await expect(page.getByText('Installed AgentRunners')).toBeVisible();
await expect(page.getByText('AgentRunner Marketplace')).toBeVisible();
await expect(page.getByText('Installed Runners')).toBeVisible();
await expect(page.getByText('Runner Marketplace')).toBeVisible();
await expect(
page
.locator('[data-slot="select-content"]')
+1 -1
View File
@@ -5,7 +5,7 @@ test('create first, select a plugin in the header, debug beside scrollable logs'
page,
}) => {
await installLangBotApiMocks(page, { authenticated: true });
const ref = 'event_processor:qa/welcome/default';
const ref = 'plugin:qa/welcome/default';
const processor = {
uuid: 'processor-qa',
kind: 'event_processor',
@@ -344,7 +344,7 @@ test.describe('wizard and QR platform regressions', () => {
await expect.poll(() => inboundTestCount).toBe(1);
});
test('blocks deployment until required AgentRunner configuration is real', async ({
test('blocks deployment until required Runner configuration is real', async ({
page,
}) => {
await installLangBotApiMocks(page, {