cut down appveyor's env matrix since we're now running serially#9896
cut down appveyor's env matrix since we're now running serially#9896potatoqualitee merged 3 commits intodevelopmentfrom
Conversation
Consolidated the AppVeyor build matrix by removing redundant 'part' entries for each scenario. This simplifies the configuration and avoids running duplicate test scenarios.
Should test on GH
PR Review: AppVeyor Matrix ConsolidationSummaryThis PR consolidates the AppVeyor test matrix from split 1/2 and 2/2 parts down to single entries per scenario, reducing from 12 matrix configurations to 6. It also disables the Code Quality Assessment✅ Changes Look Goodappveyor.yml:
pester.groups.ps1:
Test Failure Analysis❌ Issue: Get-DbaBuild Test FailuresThe test failures mentioned in the PR description appear to be unrelated to this PR's changes. The failures are in
Root Cause: The build reference index file has a future date issue:
Location: Why This Happens:
Recommended Fix:
AssessmentMatrix Consolidation ✅
Invoke-DbaDbMirroring Exclusion ✅
Recommendations
Style Compliance ✅Checked against CLAUDE.md guidelines:
Verdict: LGTM with the caveat that test failures are pre-existing and unrelated to this PR's changes. |
Code ReviewSummaryThis PR consolidates the AppVeyor build matrix by removing the parallelized test splits (1/2 and 2/2 parts). Since AppVeyor now runs serially (one concurrent job), the split execution no longer provides performance benefits and adds unnecessary complexity. Changes Analysis✅ appveyor.yml - Build Matrix ConsolidationThe removal of duplicate matrix entries is correct and beneficial:
Impact: This will cut CI runtime in half by eliminating redundant test runs that weren't actually running in parallel. ✅ tests/pester.groups.ps1 - Disabling Flaky TestAdding
Regarding the Test FailuresThe Root Cause Analysis: It "LastUpdated is updated regularly (keeps everybody on their toes)" {
$lastupdate = Get-Date -Date $IdxRef.LastUpdated
$lastupdate | Should -BeGreaterThan (Get-Date).AddDays(-45)
}Why it's failing:
This failure would occur regardless of the PR changes - it's due to the build reference index not being updated recently enough. Recommendations
Code Quality Assessment
VerdictAPPROVE with the understanding that the The test failure is not caused by this PR - it's a pre-existing issue with stale build reference data that needs attention but shouldn't block this optimization. |
|
ahem, are you trying to ask claude a difficult question ? SQL isn't releasing patches in a while so we need to bump the date at the head just to confirm we're keeping it up to date |
|
ha. that part it got right. other things .... not really but anyway... why dbmirroring was running fine before and now it doesn't ? we shouldn't lightheartedly disable tests that were working before |
|
@niphlod i agree but it’s torturous waiting 4 hours per PR. So I’d like to get your PR in then fix it. The command didn’t break. We can hold off on edits to that until it’s fixed and/or move it to github actions. |
|
regarding the test, i didnt wanna figure out why it failed. usually when a test is out of date, we have like 87 failures and not just one 😁 |
Original PR #9895 by @niphlod. He said:
@claude previously this failed
Any idea? We just consolidated the tests down to fewer runners.