Skip to content

fix(cli): review --issues가 항상 Filed 0 수정 (INT-1969)#149

Merged
unohee merged 1 commit into
mainfrom
fix/int-1969-review-filing
Jun 26, 2026
Merged

fix(cli): review --issues가 항상 Filed 0 수정 (INT-1969)#149
unohee merged 1 commit into
mainfrom
fix/int-1969-review-filing

Conversation

@unohee

@unohee unohee commented Jun 26, 2026

Copy link
Copy Markdown
Owner

문제

openswarm review --issues가 항상 Filed 0로 끝나 실제 이슈가 안 생김(사용자 보고).

원인 2가지

  1. CLI 단독 실행은 Linear init/setTaskSource를 안 함(데몬 service.ts에서만) → getTaskSource()=null → 즉시 0.
  2. fileReviewerFollowupsdecision==='approve'일 때만 파일링 → 수동 review가 revise/reject면 0.

수정

  • fileReviewerFollowups: requireApprove(기본 true) 옵션 — 수동 review는 false.
  • reviewCommand.ensureTaskSource(): getTaskSource null이면 config로 Linear init(OAuth/apiKey) 후 LinearTaskSource 생성.
  • 0건이면 'Is Linear connected? openswarm auth login --provider linear' 안내.

검증

requireApprove=false(revise도 파일링) + ensureTaskSource 경유 + 0건 안내. tsc/build clean, 전체 1160 green.

…우회 (INT-1969)

원인 2가지:
1. CLI 단독 실행은 Linear init/setTaskSource를 안 해(데몬 service.ts만) getTaskSource()=null
   → 즉시 0.
2. fileReviewerFollowups가 approve일 때만 파일링 → 수동 review가 revise/reject면 0.

수정:
- runnerExecution.fileReviewerFollowups: requireApprove(기본 true) 옵션. 수동 review는 false.
- reviewCommand.ensureTaskSource(): getTaskSource null이면 config로 Linear init
  (OAuth profile/apiKey) 후 LinearTaskSource 생성. 미설정이면 null.
- 파일링 결과 0이면 'Is Linear connected? openswarm auth login --provider linear' 안내.

테스트: requireApprove=false(revise도 파일링) + ensureTaskSource 경유 + 0건 안내.
전체 1160 green. INT-1968 후속(사용자 보고).
@unohee unohee merged commit 8086ecd into main Jun 26, 2026
9 checks passed
@unohee unohee deleted the fix/int-1969-review-filing branch June 26, 2026 23:34
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.

1 participant