Some checks failed
Main Confidence / confidence (push) Failing after 46s
## Summary - implement Spec 211 runtime trend reporting with bounded lane history, drift classification, hotspot trend output, and recalibration evidence handling - extend the repo-truth governance seams and workflow wrappers for comparable-bundle hydration, trend artifact publication, and contract-backed reporting - add the Spec 211 planning artifacts, data model, quickstart, tasks, and repository contract documents ## Validation - parsed `specs/211-runtime-trend-recalibration/contracts/test-runtime-trend-history.schema.json` - parsed `specs/211-runtime-trend-recalibration/contracts/test-runtime-trend.logical.openapi.yaml` - re-ran cross-artifact consistency analysis for the Spec 211 artifact set until no material findings remained - no application test suite was re-run as part of this final commit/push/PR step Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #244
26 lines
1.7 KiB
PHP
26 lines
1.7 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Tests\Support\TestLaneManifest;
|
|
|
|
it('wires the pull-request workflow only to the fast-feedback lane with the checked-in wrappers and artifact staging helper', function (): void {
|
|
$workflowProfile = TestLaneManifest::workflowProfile('pr-fast-feedback');
|
|
$workflowContents = (string) file_get_contents(repo_path($workflowProfile['filePath']));
|
|
|
|
expect(file_exists(repo_path($workflowProfile['filePath'])))->toBeTrue()
|
|
->and($workflowProfile['triggerClass'])->toBe('pull-request')
|
|
->and($workflowProfile['laneBindings'])->toBe(['fast-feedback'])
|
|
->and($workflowContents)->toContain('pull_request:')
|
|
->and($workflowContents)->toContain('permissions:')
|
|
->and($workflowContents)->toContain('actions: read')
|
|
->and($workflowContents)->toContain('contents: read')
|
|
->and($workflowContents)->toContain('opened', 'reopened', 'synchronize')
|
|
->and($workflowContents)->toContain('./scripts/platform-test-lane fast-feedback --workflow-id=pr-fast-feedback --trigger-class=pull-request')
|
|
->and($workflowContents)->toContain('TENANTATLAS_GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}')
|
|
->and($workflowContents)->toContain('./scripts/platform-test-report fast-feedback --workflow-id=pr-fast-feedback --trigger-class=pull-request --fetch-latest-history')
|
|
->and($workflowContents)->toContain('./scripts/platform-test-artifacts fast-feedback .gitea-artifacts/pr-fast-feedback --workflow-id=pr-fast-feedback --trigger-class=pull-request')
|
|
->and($workflowContents)->toContain('name: fast-feedback-artifacts')
|
|
->and($workflowContents)->not->toContain('confidence --workflow-id=pr-fast-feedback', 'heavy-governance', 'browser --workflow-id=pr-fast-feedback');
|
|
});
|