aws-samples / aws-samples/sample-autonomous-cloud-coding-agents

perf(ci): path-filtered builds — skip //cdk:test on non-CDK PRs — follow-up to #363

Open
#678 0 comments 0 reactions 0 assignees View on GitHub
ci-cd enhancement
Dominant language
TypeScript
Stars
143
Forks
46
Avg merge
3d 9h
Merged PRs (30d)
20

Description

Parent: #363. Spun from #363's DoD by the orchestrator; **needs maintainer `approved` (ADR-003)**.

## Goal
Make the expensive `//cdk:test` step conditional (e.g. `dorny/paths-filter`) so docs/CLI/agent-only PRs skip it while the required `build` check still reports success.

## Scope
- Path filter drives whether cdk test runs.
- **Annotate what was skipped** so a skipped suite is never mistaken for a covered one (silent-truncation guard).
- Biggest win for the non-CDK long tail.

Refs #363

Contributor guide

Open the contributing guide

Research direction

Read ADR-003 and the CI configuration that defines the required build check and //cdk:test; use #363 for the existing definition of done. Verify that non-CDK docs/CLI/agent-only PRs skip the suite, skipped work is annotated, and the required build check still succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.