Skip to content

fix(#684): @Async에 실행기 이름 명시 — applicationTaskExecutor 대신 무제한 폴백을 조용히 쓰던 문제 수정 - #685

Merged
Khyojae merged 1 commit into
mainfrom
fix/684-async-executor-name
Sep 7, 2026
Merged

Khyojae merged 1 commit into
mainfrom
fix/684-async-executor-name

Conversation

@Khyojae

@Khyojae Khyojae commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Executor 타입 빈이 둘(applicationTaskExecutor · Boot 자동구성 taskScheduler)이라 이름 없는 @Async가 어느 쪽도 못 고르고 SimpleAsyncTaskExecutor(호출마다 새 스레드, 무제한)로 조용히 폴백하고 있었다 — @Async 풀 백프레셔 H1 재측정 중 발견.
  • sendAnalysisRequestToFastApi(ExerciseAnalysisService)·PoseDataCleanupService의 @Async에 @Async("applicationTaskExecutor")로 이름을 명시해 애매성을 없앤다.

Test plan

  • 재빌드 후 실제 호출로 즉시 검증 (executor_completed_tasks_total 0.0 → 1.0)
  • ExerciseAnalysisServiceTest·PoseDataCleanupServiceTest·ApplicationTaskExecutorMetricsTest 통과

Closes #684

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01RTbqudA4PvdfQAic48NNPo

🤖 Generated with Claude Code

https://claude.ai/code/session_01RTbqudA4PvdfQAic48NNPo

… 쓰던 문제 수정

Executor 타입 빈이 둘(applicationTaskExecutor · Boot 자동구성 taskScheduler)이라
이름 없는 @async가 어느 쪽도 못 고르고 SimpleAsyncTaskExecutor(호출마다 새 스레드,
무제한)로 조용히 폴백하고 있었다 — H1 재측정 중 발견(executor_completed_tasks_total이
0에서 안 움직이는데 스레드 이름은 호출마다 계속 올라감). @async("applicationTaskExecutor")
로 명시해 애매성을 없앴다. 재빌드 후 실제 호출로 즉시 검증(0.0 → 1.0), 기존 테스트
14건(ExerciseAnalysisServiceTest·PoseDataCleanupServiceTest·ApplicationTaskExecutorMetricsTest)
전부 통과.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016jrgkFgxLjQtjJbDHX7Ue9
@Khyojae

Khyojae commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 42f6f1f9-274e-405a-82df-3672ac227ab1


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Khyojae
Khyojae merged commit f560dd4 into main Sep 7, 2026
1 of 3 checks passed
@Khyojae
Khyojae deleted the fix/684-async-executor-name branch September 7, 2026 04:16
@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Pull request is closed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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.

@Async가 applicationTaskExecutor를 안 쓰고 무제한 스레드 생성 폴백으로 조용히 떨어진다

1 participant