推进非Qt虚拟HAL诊断证据
This commit is contained in:
@@ -88,7 +88,7 @@ const BLOCKED_RUNTIME_FAMILIES = [
|
||||
const PROJECT_RELEASE_READINESS_ARTIFACT_API = "project-release-readiness-report";
|
||||
const PROJECT_RELEASE_READINESS_ARTIFACT_VERSION = 1;
|
||||
|
||||
const REQUIRED_QTDRAGON_PROMOTION_CANDIDATES = [
|
||||
const REQUIRED_PROMOTION_CANDIDATES = [
|
||||
{
|
||||
id: "qtdragon-multi-joint-on-abort",
|
||||
sourceFiles: [
|
||||
@@ -131,6 +131,21 @@ const REQUIRED_QTDRAGON_PROMOTION_CANDIDATES = [
|
||||
"linuxcnc/configs/sim/qtvcp_screens/qtdragon/on_abort.ngc",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "puma-seam-weld",
|
||||
sourceFiles: [
|
||||
"linuxcnc/configs/sim/axis/vismach/puma/puma.ini",
|
||||
"linuxcnc/configs/sim/axis/vismach/puma/puma_seam_weld.ngc",
|
||||
"linuxcnc/configs/sim/axis/vismach/puma/remap_subs/428remap.ngc",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "rose-engine-rcone-demo",
|
||||
sourceFiles: [
|
||||
"linuxcnc/configs/sim/axis/rose_engine/rose_engine.ini",
|
||||
"linuxcnc/configs/sim/axis/rose_engine/rcone_demo.ngc",
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
function isVirtualHalSimConfigSourceCoverageReady(report) {
|
||||
@@ -148,8 +163,8 @@ function isVirtualHalSimConfigSourceCoverageReady(report) {
|
||||
);
|
||||
}
|
||||
|
||||
function hasRequiredQtDragonPromotionCandidates(rows) {
|
||||
return REQUIRED_QTDRAGON_PROMOTION_CANDIDATES.every((candidate) =>
|
||||
function hasRequiredPromotionCandidates(rows) {
|
||||
return REQUIRED_PROMOTION_CANDIDATES.every((candidate) =>
|
||||
rows.some((row) =>
|
||||
row.id === candidate.id &&
|
||||
row.complete === true &&
|
||||
@@ -193,7 +208,7 @@ function isVirtualHalSimConfigPromotionCandidateReportReady(report) {
|
||||
arrayOrEmpty(candidateReport.blockedCandidateIds).length === 0 &&
|
||||
arrayOrEmpty(candidateReport.missingManifestFiles).length === 0 &&
|
||||
arrayOrEmpty(candidateReport.missingRequiredReports).length === 0 &&
|
||||
hasRequiredQtDragonPromotionCandidates(rows);
|
||||
hasRequiredPromotionCandidates(rows);
|
||||
}
|
||||
|
||||
export function createProjectReleaseBrowserDiagnosticsArtifactValidation(artifact = {}) {
|
||||
|
||||
Reference in New Issue
Block a user