사내/사외 모드 회귀 보강: 전환 즉시반영 및 URL 경계 테스트 추가
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- OperationModePolicyTests에 IsExternalUrl 경계 케이스(http/https vs file/mailto) 추가 - OperationModeReadinessTests 정비 및 internal→external 전환 즉시반영 테스트 추가 - README/DEVELOPMENT 이력(2026-04-04 16:24 KST) 동기화
This commit is contained in:
@@ -3671,3 +3671,23 @@ else:
|
||||
### 4) 품질 게이트
|
||||
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Debug -p:UseSharedCompilation=false -nodeReuse:false` 통과 (경고 0, 오류 0).
|
||||
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -p:UseSharedCompilation=false -nodeReuse:false --filter "FullyQualifiedName~ChatWindowSlashPolicyTests|FullyQualifiedName~PermissionModeCatalogTests|FullyQualifiedName~ChatSessionStateServiceTests"` 통과 (109 passed, 0 failed).
|
||||
|
||||
## 2026-04-04 추가 진행 기록 (연속 실행 43차: 사내/사외 모드 회귀 보강)
|
||||
|
||||
업데이트: 2026-04-04 16:24 (KST)
|
||||
|
||||
### 1) 정책 경계 테스트 보강
|
||||
- `OperationModePolicyTests`에 `IsExternalUrl_DetectsOnlyHttpSchemes` 추가.
|
||||
- 검증 범위:
|
||||
- `http/https`는 외부 URL로 판정
|
||||
- 로컬 파일 경로, `mailto`, 일반 문자열은 외부 URL이 아님
|
||||
|
||||
### 2) 모드 전환 즉시 반영 테스트 추가
|
||||
- `OperationModeReadinessTests`를 정리/보강:
|
||||
- `WebSearch_ModeSwitch_InternalToExternal_ShouldReflectImmediately` 추가
|
||||
- 같은 핸들러 인스턴스에서 설정값 전환 후 결과가 즉시 `차단`→`검색`으로 반영되는지 검증
|
||||
- 기존 readiness 테스트의 문자열 비교도 정상 한글 기준으로 정비.
|
||||
|
||||
### 3) 품질 게이트
|
||||
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Debug -p:UseSharedCompilation=false -nodeReuse:false` 통과 (경고 0, 오류 0).
|
||||
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -p:UseSharedCompilation=false -nodeReuse:false --filter "FullyQualifiedName~OperationModePolicyTests|FullyQualifiedName~OperationModeReadinessTests"` 통과 (20 passed, 0 failed).
|
||||
|
||||
Reference in New Issue
Block a user