Skip to content

test(ci): 2만 요소 DOM 시나리오에 5초 단계 제한 적용 (1.8.76 릴리스 막힘 해소) - #120

Merged
1bobby-git merged 1 commit into
mainfrom
claude/project-thread-o2qjfr
Nov 19, 2026
Merged

1bobby-git merged 1 commit into
mainfrom
claude/project-thread-o2qjfr

Conversation

@1bobby-git

Copy link
Copy Markdown
Owner

Requested by 바비 · project thread

문제

#119 머지 뒤 main의 Validate가 ci-native-login-dom-regression.mjs의 "large dashboard OFF -> ON" 시나리오에서 두 번 연속 실패했습니다(ui_timeout). 그래서 Release가 건너뛰어져 v1.8.76 릴리스와 tgz가 만들어지지 않았습니다. 애드온 빌드는 이 tgz를 내려받기 때문에 HA에서 1.8.76 업데이트가 "image build" 오류로 실패합니다.

원인

2만 개 요소 화면에서 기본 단계 제한(3초)을 쓰는 시나리오가 느린 러너에서 시간을 넘깁니다. 로컬에서는 기본값으로 8/8 실패했습니다. 제품 코드와는 관계없는 테스트 타이밍 문제입니다.

변경

이 시나리오에만 timeoutMs: 5_000을 줍니다. 정책에서 허용하는 최대값입니다. 검증 내용(실제 스위치 1회 클릭, enabled_and_verified)은 그대로입니다. 로컬에서 8/8 통과했습니다.

머지하면 Release가 v1.8.76을 게시합니다(manifest 버전 그대로, 태그 미존재).


Generated by Claude Code

… step budget

The large-dashboard OFF -> ON scenario used the default 3 s per-step
budget, so on slower runners it returned ui_timeout instead of
enabled_and_verified. It failed Validate on main twice for 1.8.76, which
skipped the release and left the add-on build without its v1.8.76 tarball.
Locally the scenario failed 8/8 with the default and passed 8/8 with
timeoutMs 5000 (the policy's own maximum). Behaviour under test is
unchanged: one real switch click, verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017YMfNUhiWuLfvJL8w9QQfu
@1bobby-git 1bobby-git self-assigned this Nov 19, 2026
@1bobby-git
1bobby-git merged commit b4b9b87 into main Nov 19, 2026
7 checks passed
1bobby-git added a commit that referenced this pull request Nov 19, 2026
The read-only guard that scans the whole document before any change had a fixed 1.5 s
bound while every later probe already used the per-step budget (3 s default, 5 s max).
A scan of a 20,000-element page takes about 1.3 s at normal speed and about 3 s with
2x CPU throttling, so on slow hosts or runners the guard alone could end a run with
ui_timeout (main's Validate failed three times this way on 2026-11-19 before #120 gave
the scenario the 5 s budget, which the guard did not use). The guard now uses the same
budget. Ships with the next version (no version change here).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants