Add isolated quick A/A and A/B performance workflow - #357
Open
DanRod1999 wants to merge 6 commits into
Open
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…99-quick-ab-performance-workflow
DanRod1999
added a commit
that referenced
this pull request
Jul 29, 2026
## Summary - migrate the weekly performance regression suite from Mocha to serialized Vitest execution - remove performance-tests ownership of Mocha, `@types/mocha`, Chai 4, and `ts-node` - preserve the weekly report and authentication contracts ### New test helpers These helpers are not required by Vitest. They make behavior that was embedded in the previous Mocha suite explicit and independently testable: - `Cleanup.ts` guarantees that every registered teardown task is attempted, including database closure, report export, `IModelHost` shutdown, and authorization sign-out. If the operation and cleanup both fail, it preserves both errors instead of allowing teardown to hide the primary failure. - `RegressionTestRegistration.ts` constructs the supported test-case/transformer-module combinations synchronously before Vitest registers tests. It skips modules that do not implement the operation required by a test case, preserving the old conditional Mocha registration behavior without asynchronous collection callbacks. - `Cleanup.test.ts` and `RegressionTestRegistration.test.ts` provide focused, non-credentialed coverage for those behaviors. This PR targets `main` and is intended as the new bottom layer beneath the existing quick-performance PRs #353, #354, #356, and #357. It does not modify those branches or their stack metadata. ## Validation - `pnpm --dir packages/transformer build` - `pnpm --dir packages/performance-tests build` - `pnpm --dir packages/performance-tests lint` - `CI=true pnpm --dir packages/performance-tests exec vitest run test/unit/Cleanup.test.ts test/unit/RegressionTestRegistration.test.ts` (4 tests passed) - verified the performance-tests manifest and lockfile importer no longer declare Mocha, `@types/mocha`, Chai 4, or `ts-node` The credentialed Hub-backed weekly runtime suite was intentionally not run locally. Hosted weekly Azure validation remains deferred, consistent with the source migration handoff. *generated with GPT-5.6 Sol* --------- Co-authored-by: Nam Le <50554904+hl662@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Daniel Rodriguez <DanRod1999@users.noreply.github.com>
…99-quick-ab-performance-workflow
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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
Stack
This is stack layer 4 targeting
danrod1999-performance-comparison-statistics, above #356, #354, and #353. It does not modify native stack metadata.Validation
pnpm --dir packages/transformer build:cjspnpm --dir packages/performance-tests buildpnpm --dir packages/performance-tests test:comparison(37 passing, including all layer-3 comparison tests)Limitations
The workflow is informational-only and cannot be dispatched until its file reaches the default branch. Calibration intentionally rejects mismatched fixture, workload, execution, package, environment, or hosted-runner image identities; heterogeneous hosted runners may therefore require another calibration dispatch. Only
changeset-scanningis supported in this layer, and the explicitly labeled reduced fixture is smoke-only rather than calibration evidence.generated with GPT-5.6 Sol