mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-11 01:36:35 +00:00
fix(ci): reconcile ECS runner updater on workflow changes (#8373)
This commit is contained in:
parent
4e7bab8450
commit
c0196b4226
2 changed files with 9 additions and 0 deletions
3
.github/workflows/update-ecs-runner-qwen.yml
vendored
3
.github/workflows/update-ecs-runner-qwen.yml
vendored
|
|
@ -1,6 +1,9 @@
|
|||
name: 'Update ECS Runner Qwen'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
paths: ['.github/workflows/update-ecs-runner-qwen.yml']
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
|
|
|
|||
|
|
@ -18,6 +18,12 @@ describe('ECS runner qwen update workflow', () => {
|
|||
expect(workflow).toContain('sudo env -u NPM_CONFIG_PREFIX npm install -g');
|
||||
});
|
||||
|
||||
it('runs only when this workflow changes on main', () => {
|
||||
expect(workflow).toContain(
|
||||
" push:\n branches: ['main']\n paths: ['.github/workflows/update-ecs-runner-qwen.yml']",
|
||||
);
|
||||
});
|
||||
|
||||
it('annotates a retry and a terminal failure distinctly', () => {
|
||||
// The final attempt must not log a "retrying" warning that never
|
||||
// retries; a sustained failure ends with an explicit exhausted error.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue