mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-18 12:13:58 +00:00
chore(sync): merge main into dev after release [skip ci]
# Conflicts: # package.json
This commit is contained in:
commit
87c099b918
4 files changed
+22
-12
No files matched your search
@@ -8,14 +8,18 @@ function loadWorkflow() {
|
||||
}
|
||||
|
||||
describe('ai-review workflow', () => {
|
||||
test('uses the claude-code-action reviewer path with glm-5-turbo and PR-sha comment markers', () => {
|
||||
test('uses the claude-code-action reviewer path with glm-5.1 and PR-sha comment markers', () => {
|
||||
const workflow = loadWorkflow();
|
||||
|
||||
expect(workflow).toContain('REVIEW_MODEL: glm-5-turbo');
|
||||
expect(workflow).toContain('ANTHROPIC_MODEL: glm-5-turbo');
|
||||
expect(workflow).toContain('timeout-minutes: 20');
|
||||
expect(workflow).toContain('REVIEW_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_DEFAULT_OPUS_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_DEFAULT_SONNET_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_DEFAULT_HAIKU_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('uses: anthropics/claude-code-action@v1');
|
||||
expect(workflow).toContain('--model ${{ env.REVIEW_MODEL }}');
|
||||
expect(workflow).toContain('--max-turns 40');
|
||||
expect(workflow).toContain('--max-turns 45');
|
||||
expect(workflow).toContain('--json-schema');
|
||||
expect(workflow).toContain('normalize-ai-review-output.mjs');
|
||||
expect(workflow).not.toContain('build-ai-review-packet.mjs');
|
||||
|
||||
Reference in new issue
Block a user