Fix SapMachine early-access filtering (#1217)

* Fix SapMachine early-access filtering

Ensure SapMachine EA requests exclude stable releases and cover string and boolean release metadata with competing fixture candidates.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Update distribution bundle

Regenerate the setup bundle for SapMachine release-class filtering.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Format SapMachine regression tests

Apply the repository Prettier format to the focused test additions.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Bruno Borges <brborges@microsoft.com>
This commit is contained in:
Julien Dubois
2026-08-05 12:59:08 -04:00
committed by GitHub
co-authored by Bruno Borges
parent 4fbd0bd19d
commit 5580b78434
5 changed files with 142 additions and 7 deletions
+3 -2
View File
@@ -175,8 +175,9 @@ export class SapMachineDistribution extends JavaBase {
continue;
}
// skip earlyAccessVersions if stable version requested
if (this.stable && buildVersionMap.ea === 'true') {
const isEarlyAccess =
buildVersionMap.ea === true || buildVersionMap.ea === 'true';
if (this.stable === isEarlyAccess) {
continue;
}
+1 -1
View File
@@ -5,7 +5,7 @@ export interface ISapMachineAllVersions {
[full_version: string]: {
[sapmachineBuild: string]: {
release_url: string;
ea: string;
ea: boolean | string;
assets: {
[packageType: string]: {
[arch: string]: {