Skip to content

test(integration): add orchestration coverage and PR checks workflow#4

Merged
dubscode merged 3 commits intomainfrom
test/broader-integration-coverage-and-pr-checks
Mar 4, 2026
Merged

test(integration): add orchestration coverage and PR checks workflow#4
dubscode merged 3 commits intomainfrom
test/broader-integration-coverage-and-pr-checks

Conversation

@dubscode
Copy link
Contributor

@dubscode dubscode commented Mar 3, 2026

Summary

  • Add integration test coverage across command flows (chat, plan, index) for success/denied/recoverable-failure branches.
  • Add automation lifecycle coverage for scheduled handoff, runtime failure reporting, and event-hook success/failure outcomes.
  • Add policy/approval branch coverage and side-effect guards for approved vs denied flows.
  • Add daemon/watcher loop lifecycle coverage with deterministic bounds and timeout safeguards.
  • Add PR workflow to run pnpm checks on PR open/update, resolve pnpm from package.json packageManager, resolve Node from .nvmrc, and post a success summary comment.
  • Archive OpenSpec change broader-integration-tests and sync new main spec broader-integration-test-coverage.

Validation

  • pnpm checks

Notes

  • Integration coverage matrix added at tests/integration/README.md to document maintained branch expectations.

🥞 DubStack

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new integration-test suite intended to cover high-risk orchestration branches (CLI command flows, automation scheduling/hooks, policy/approval gating, and loop lifecycles) and introduces a GitHub Actions workflow to run pnpm checks on PRs, alongside OpenSpec documentation for the added coverage.

Changes:

  • Added multiple Vitest integration test files plus shared integration fixtures/helpers.
  • Added an integration coverage matrix README and OpenSpec spec/archive docs for the coverage initiative.
  • Added a PR Checks GitHub Actions workflow that runs pnpm checks and comments a success summary on the PR.

Reviewed changes

Copilot reviewed 9 out of 13 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
tests/integration/policy-approval.integration.test.ts Adds integration scenarios for policy/approval-gated command execution.
tests/integration/loops.integration.test.ts Adds bounded loop lifecycle tests with timeout safeguards.
tests/integration/helpers.ts Introduces reusable integration fixtures (workspace, policy, automation state, loop controller).
tests/integration/commands.integration.test.ts Adds orchestration coverage for chat, plan, and index command flows via mocks.
tests/integration/automation-hooks.integration.test.ts Adds automation scheduler/runner and event hook integration coverage via mocks.
tests/integration/README.md Documents an integration coverage matrix for maintained branch expectations.
openspec/specs/broader-integration-test-coverage/spec.md Adds a spec describing the required integration coverage scenarios.
openspec/changes/archive/2026-03-03-broader-integration-tests/tasks.md Archives tasks checklist as completed.
openspec/changes/archive/2026-03-03-broader-integration-tests/specs/broader-integration-test-coverage/spec.md Archives the “added requirements” spec content.
openspec/changes/archive/2026-03-03-broader-integration-tests/proposal.md Archives proposal context for the integration coverage expansion.
openspec/changes/archive/2026-03-03-broader-integration-tests/design.md Archives design/decisions/risks for the integration coverage approach.
openspec/changes/archive/2026-03-03-broader-integration-tests/.openspec.yaml Adds OpenSpec metadata for the archived change.
.github/workflows/pr-checks.yml Adds a PR workflow running pnpm checks and posting a success comment summary.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dubscode dubscode force-pushed the test/broader-integration-coverage-and-pr-checks branch from f1df9bc to 68a9dad Compare March 3, 2026 14:22
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

PR Checks Summary

@dubscode dubscode changed the base branch from feat/agents-runtime-actions to main March 4, 2026 00:17
dubscode added 3 commits March 3, 2026 16:55
Add deterministic integration suites for command, automation/hook, policy, and loop lifecycle branches.
Add PR GitHub Action that runs pnpm checks using versions from package metadata and .nvmrc, and posts a success summary comment.
Archive broader-integration-tests change and sync broader-integration-test-coverage spec.
- exercise true approval-granted branch and remove tautological denial assertion

- guarantee temp workspace cleanup and restore console spies

- clear Promise.race timeout handles and complete spec purpose text
@dubscode dubscode force-pushed the test/broader-integration-coverage-and-pr-checks branch from aba2ee2 to c5eef4d Compare March 4, 2026 00:56
@dubscode dubscode merged commit e028d84 into main Mar 4, 2026
1 check passed
@dubscode dubscode deleted the test/broader-integration-coverage-and-pr-checks branch March 4, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants