mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
fix(release): scope MiniMax live model gate
This commit is contained in:
parent
09a159c913
commit
c33007ef58
3 changed files with 26 additions and 1 deletions
|
|
@ -1686,7 +1686,8 @@ jobs:
|
|||
FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
|
||||
OPENCLAW_LIVE_PROVIDERS: ${{ matrix.providers }}
|
||||
OPENCLAW_LIVE_IMAGE: ${{ needs.prepare_live_test_image.outputs.live_image }}
|
||||
OPENCLAW_LIVE_MAX_MODELS: "6"
|
||||
OPENCLAW_LIVE_MODELS: ${{ matrix.models || 'modern' }}
|
||||
OPENCLAW_LIVE_MAX_MODELS: ${{ matrix.max_models || '6' }}
|
||||
OPENCLAW_LIVE_MODEL_TIMEOUT_MS: "45000"
|
||||
OPENCLAW_SKIP_DOCKER_BUILD: "1"
|
||||
OPENCLAW_VITEST_MAX_WORKERS: "2"
|
||||
|
|
|
|||
|
|
@ -100,6 +100,8 @@ const LIVE_MODEL_PROVIDERS = [
|
|||
{
|
||||
provider_label: "MiniMax",
|
||||
providers: "minimax",
|
||||
models: "minimax/MiniMax-M2.7,minimax-portal/MiniMax-M2.7",
|
||||
max_models: "2",
|
||||
profiles: "stable full",
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -140,6 +140,22 @@ describe("scripts/plan-release-workflow-matrix.mjs", () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it("limits MiniMax Docker live-model coverage to the stable M2.7 pair", () => {
|
||||
const plan = createReleaseWorkflowMatrixPlan({
|
||||
includeLiveSuites: true,
|
||||
includeReleasePathSuites: true,
|
||||
releaseProfile: "stable",
|
||||
});
|
||||
|
||||
expect(plan.liveModels.matrix.include).toContainEqual({
|
||||
provider_label: "MiniMax",
|
||||
providers: "minimax",
|
||||
models: "minimax/MiniMax-M2.7,minimax-portal/MiniMax-M2.7",
|
||||
max_models: "2",
|
||||
profiles: "stable full",
|
||||
});
|
||||
});
|
||||
|
||||
it("disables live model planning when focused recovery targets another live suite", () => {
|
||||
const plan = createReleaseWorkflowMatrixPlan({
|
||||
includeLiveSuites: true,
|
||||
|
|
@ -169,6 +185,12 @@ describe("scripts/plan-release-workflow-matrix.mjs", () => {
|
|||
expect(jobs.validate_live_models_docker.strategy.matrix).toBe(
|
||||
"${{ fromJson(needs.plan_release_workflow_matrices.outputs.live_models_matrix) }}",
|
||||
);
|
||||
expect(jobs.validate_live_models_docker.env.OPENCLAW_LIVE_MODELS).toBe(
|
||||
"${{ matrix.models || 'modern' }}",
|
||||
);
|
||||
expect(jobs.validate_live_models_docker.env.OPENCLAW_LIVE_MAX_MODELS).toBe(
|
||||
"${{ matrix.max_models || '6' }}",
|
||||
);
|
||||
});
|
||||
|
||||
it("requires new release-profile matrices to use a planner or an explicit allowlist", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue