Repository navigation
fix(release): bound macOS Intel integration coverage - #2423
Merged
Daniel Meppiel (danielmeppiel) merged 2 commits intoAug 2, 2026
Merged
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 48905dc9-f752-45ed-a2fd-c22ed985a953
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 48905dc9-f752-45ed-a2fd-c22ed985a953
Daniel Meppiel (danielmeppiel)
marked this pull request as ready for review
August 1, 2026 19:20
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
August 1, 2026 19:20
Collaborator
Author
|
Sergio Sisternes (@sergio-sisternes-epam) All checks are green. This is the final v0.27.0 release unblock: Intel keeps focused lifecycle/binary validation while ARM and Linux retain the full integration corpus. CODEOWNERS approval is the only remaining merge prerequisite. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tightens release-time integration coverage on macOS Intel by switching that job to a marker-bounded lifecycle_smoke subset (while keeping ARM + Linux as full-corpus authorities), addressing GitHub Actions timeouts on Intel without weakening overall release validation.
Changes:
- Update
build-release.ymlso macOS Intel runs focused integration tests vialifecycle_smokewhile keeping ARM/Linux unfiltered. - Add/adjust unit workflow-contract tests to enforce the Intel-vs-full-corpus partition and guard against regressions.
- Update docs, CI instructions mirrors, lock hash, and changelog to reflect the new release-platform coverage split.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/build-release.yml |
Switches macOS Intel integration phase to marker-bounded focused coverage; keeps ARM full-corpus. |
tests/unit/test_platform_contract_workflow.py |
Updates workflow contract assertions and adds mutation tests for the Intel/full-corpus split. |
docs/src/content/docs/contributing/integration-testing.md |
Documents the release-platform integration coverage split (Intel focused subset; ARM/Linux full corpus). |
.github/instructions/cicd.instructions.md |
Updates CI/CD instructions mirror to reflect Intel focused subset vs ARM full-corpus authority. |
.apm/instructions/cicd.instructions.md |
Updates APM instruction mirror to match the CI/CD documentation changes. |
CHANGELOG.md |
Adds an Unreleased entry describing the release promotion coverage change. |
apm.lock.yaml |
Updates integrity hashes due to instruction mirror changes. |
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 3
- Review effort level: Lite
Comment on lines
+223
to
+226
| # Intel validates the promoted lifecycle subset against its native | ||
| # binary. ARM and Linux retain the unfiltered integration corpus. | ||
| # loadgroup preserves HOME-mutating test serialization. | ||
| PYTEST_EXTRA_ARGS: "-m=lifecycle_smoke -n 4 --dist loadgroup" |
|
|
||
| # ── PHASE 2: INTEGRATION TESTS (tag/schedule/dispatch only) ── | ||
| - name: Run integration tests | ||
| # ── PHASE 2: FOCUSED INTEGRATION TESTS (tag/schedule/dispatch only) ── |
Comment on lines
+51
to
+52
| INTEL_FOCUSED_INTEGRATION_STEP = "Run focused Intel integration tests" | ||
| INTEL_FOCUSED_PYTEST_ARGS = "-m=lifecycle_smoke -n 4 --dist loadgroup" |
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-fix-intel-release-gate
branch
August 2, 2026 07:39
Merged
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.
fix(release): bound macOS Intel integration coverage
TL;DR
The v0.27.0 promotion replayed all 8,558 integration nodes on macOS Intel and hit the 30-minute step limit while still making healthy progress. This change gives Intel a marker-bounded
lifecycle_smokeintegration pass while preserving native binary startup and isolated release validation. macOS ARM and Linux remain the full-corpus authorities.Note
The failed Intel job had 1,151 passing completions across all four xdist workers and reached 13% immediately before GitHub Actions enforced the timeout.
Problem (WHY)
The action 'Run integration tests' has timed out after 30 minutesat 13%, not with a stalled worker or a test failure.The fix follows the evidence rather than inferring a deadlock: "Grounding outputs in deterministic tool execution transforms probabilistic generation into verifiable action."
Approach (WHAT)
lifecycle_smokemarker on macOS Intel and retain four-workerloadgroupscheduling plus the existing 30-minute ceiling.Implementation (HOW)
.github/workflows/build-release.ymlPYTEST_EXTRA_ARGSto-m=lifecycle_smoke -n 4 --dist loadgroup; ARM remains unfiltered.tests/unit/test_platform_contract_workflow.py.apm/instructions/cicd.instructions.md.github/instructions/cicd.instructions.md,apm.lock.yamlapm install --target copilot.docs/src/content/docs/contributing/integration-testing.mdCHANGELOG.md[Unreleased].Diagrams
Legend: promotion validation now divides platform-specific Intel evidence from the full corpus retained on ARM and Linux.
sequenceDiagram participant W as Release workflow participant I as macOS Intel participant A as macOS ARM participant L as Linux participant R as Create release W->>I: build native x86_64 binary I->>I: run version and rich-table startup rect rgb(255, 247, 200) Note over I: NEW: bounded promoted lifecycle subset I->>I: run lifecycle_smoke with 4 loadgroup workers end I->>I: run isolated release validation W->>A: run full integration corpus W->>L: run full integration corpus I-->>R: Intel validation passed A-->>R: ARM validation passed L-->>R: Linux validation passedTrade-offs
lifecycle_smokecontract; rejected a hand-maintained node list because it would drift as tests move.Benefits
-n 4 --dist loadgroupintegration contract.Validation
tests/unit/test_platform_contract_workflow.py:Focused Intel selection:
Lint and integrity gates
uv run --frozen --extra dev ruff check src/ tests/:uv run --frozen --extra dev ruff format --check src/ tests/:uv run --frozen --extra dev python -m pylint --disable=all --enable=R0801 --min-similarity-lines=10 --fail-on=R0801 src/apm_cli/:bash scripts/lint-auth-signals.sh:bash scripts/lint-architecture-boundaries.sh:uv run --frozen apm audit --ci:Scenario Evidence
tests/unit/test_platform_contract_workflow.py::test_intel_integration_is_marker_scoped_and_boundedtests/unit/test_platform_contract_workflow.py::test_intel_full_corpus_mutation_is_rejected(regression-trap for run 30712176510)tests/unit/test_platform_contract_workflow.py::test_linux_and_arm_retain_full_corpus_grouped_parallelismtests/unit/test_platform_contract_workflow.py::test_arm_focused_subset_mutation_is_rejectedtests/integration/test_core_smoke.py::TestBinaryStartup::test_apm_version_runstests/integration/test_core_smoke.py::TestBinaryStartup::test_apm_rich_table_runstests/unit/test_platform_contract_workflow.py::test_macos_jobs_run_non_shell_binary_startup_after_buildHow to test
uv run --extra dev pytest -q tests/unit/test_platform_contract_workflow.pyand observe 29 passing contracts.uv run --extra dev pytest tests/integration --collect-only -q -m lifecycle_smokeand observe 76 selected nodes.build-and-validate-macos-inteland confirm startup, focused integration, and release validation remain ordered.build-and-validate-macos-armandintegration-testsand confirm neither has a marker filter.uv run --frozen apm audit --ciand observe all 10 checks pass.Co-authored-by: Copilot [email protected]