feat(e2e): smoke scenario + label-triggered CI (Plugin Batch 1)#16
Merged
saurabhjain1592 merged 3 commits intomainfrom Apr 19, 2026
Merged
feat(e2e): smoke scenario + label-triggered CI (Plugin Batch 1)#16saurabhjain1592 merged 3 commits intomainfrom
saurabhjain1592 merged 3 commits intomainfrom
Conversation
Adds tests/e2e/smoke-block-context.sh exercising pre-tool-check.sh against a reachable AxonFlow stack. Scope is intentionally narrow: install wiring + one local deny UX. Full install-and-use matrix (explain, override lifecycle, audit filter parity, cache invalidation) is owned by axonflow-enterprise/tests/e2e/plugin-batch-1/codex-install/. New workflow .github/workflows/smoke-e2e.yml is off by default. Runs on workflow_dispatch or when a PR is labeled run-e2e — so normal PRs don't need a live stack to merge, but the scenario is one click away for reviewers who want to verify a real end-to-end flow before tagging.
Combines the smoke scenario with a 2026-04-19 patch bump rather than waiting for a separate release. Version bumped in plugin.json / marketplace.json manifests; CHANGELOG [Unreleased] → [0.4.1].
- Remove forward reference to axonflow-enterprise/docs/test-visibility-policy.md (doc doesn't exist yet) — replace with self-contained scope comment. - Remove runtime 'chmod +x' on hook script — git mode is 100755, files are already executable on fresh checkout. - Remove misleading PR-label trigger (`run-e2e`) from smoke workflow. GitHub-hosted runners cannot reach localhost:8080, so the label path silently exited 0 with SKIP — a false-green signal. Keep workflow_dispatch only; operator supplies reachable endpoint as input. - Update CHANGELOG/README to reflect workflow_dispatch-only trigger and explain why PR gating needs a self-hosted runner.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a narrow smoke E2E to the plugin repo so local deny UX regressions surface without the full enterprise matrix.
tests/e2e/smoke-block-context.shrunspre-tool-check.shagainst a reachable AxonFlow stack, feeds a SQLi-bearing Bash tool invocation, and asserts exit 2 + stderr withAxonFlow policy violationprefix + Plugin Batch 1 richer-context markers (decision:,risk:)..github/workflows/smoke-e2e.ymltriggers onworkflow_dispatchor PR labelrun-e2e. Off by default so normal PRs don't need a live stack.SKIP:when the stack isn't reachable, so the script is safe to run anywhere.Scope is intentionally narrow — install wiring + one deny UX. Full install-and-use matrix (explain, override lifecycle, audit filter parity, cache invalidation) is owned by
axonflow-enterprise/tests/e2e/plugin-batch-1/codex-install/.Test plan
bash -n tests/e2e/smoke-block-context.sh(passes locally)./tests/test-hooks.shstill green (existing hook regression tests unchanged)axonflow-enterprise/scripts/setup-e2e-testing.sh) and runbash tests/e2e/smoke-block-context.sh→ expectPASS:outputrun-e2elabel on this PR to exercise the CI workflow against a reachable stack