Merge pull request #350 from pikasTech/fix/348-artificer-timeout-2h
Pipelines as Code CI / agentrun-nc01-v02-ci-eafac6023ca5bd6afc8cf1f98788974524d219b2 Success
Pipelines as Code CI / agentrun-nc01-v02-ci-eafac6023ca5bd6afc8cf1f98788974524d219b2 Success
fix: 将 Artificer 单轮上限调整为两小时
This commit is contained in:
@@ -29,7 +29,7 @@ spec:
|
||||
executionPolicy:
|
||||
sandbox: workspace-write
|
||||
approval: never
|
||||
timeoutMs: 1800000
|
||||
timeoutMs: 7200000
|
||||
network: enabled
|
||||
gitIdentity:
|
||||
name: AgentRun Codex
|
||||
|
||||
@@ -104,6 +104,7 @@ const selfTest: SelfTestCase = async (context) => {
|
||||
assert.equal(modelResolution.backendProfileSource, "aipod-spec");
|
||||
assert.equal(modelResolution.valuesPrinted, false);
|
||||
const policy = task.executionPolicy as JsonRecord;
|
||||
assert.equal(policy.timeoutMs, 7_200_000, "Artificer timeout budget must come from the owning AipodSpec YAML");
|
||||
assert.deepEqual(policy.gitIdentity, { name: "AgentRun Codex", email: "agentrun-codex@users.noreply.github.com" });
|
||||
const secretScope = policy.secretScope as JsonRecord;
|
||||
const providerCredentials = secretScope.providerCredentials as JsonRecord[];
|
||||
|
||||
Reference in New Issue
Block a user