From 398a0b7222e33acc046fb5801f01f7da8253152f Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 09:56:28 +0800 Subject: [PATCH] ci(agent): introduce focused plugin-only native workflow gate separate from long EK suite --- .github/workflows/native-ai-flow.yml | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/native-ai-flow.yml diff --git a/.github/workflows/native-ai-flow.yml b/.github/workflows/native-ai-flow.yml new file mode 100644 index 0000000..2a63f3d --- /dev/null +++ b/.github/workflows/native-ai-flow.yml @@ -0,0 +1,34 @@ +name: native-ai-flow + +on: + push: + branches: + - feat/native-ai-flow-recovery-20261118 + pull_request: + paths: + - 'plugins/agent/**' + - 'ext/ai/flow.mq.md' + - 'ext/ai/context.mq.md' + - 'ext/ai/recovery.mq.md' + - 'ext/ai/workflow.mq.md' + - 'tests/ext/ai-native-*.mq.md' + - '.github/workflows/native-ai-flow.yml' + +jobs: + agent: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: Build plugin and run native tests + run: cargo test -p marqdo_plugin_agent --locked + - name: Check the public Marqdo ABI libraries + run: | + cargo run --locked -- check ext/ai/flow.mq.md + cargo run --locked -- check ext/ai/context.mq.md + cargo run --locked -- check ext/ai/recovery.mq.md + cargo run --locked -- check ext/ai/workflow.mq.md + - name: Exercise offline integration through Marqdo + run: | + cargo run --locked -- run tests/ext/ai-native-flow.mq.md + cargo run --locked -- run tests/ext/ai-native-workflow.mq.md