Skip to content

fix: adapt Team Automations to owner-aware schedules#2982

Open
AbigailDeng wants to merge 1 commit into
devfrom
fix/2026-07-27_team-automations-owner-aware-schedules
Open

fix: adapt Team Automations to owner-aware schedules#2982
AbigailDeng wants to merge 1 commit into
devfrom
fix/2026-07-27_team-automations-owner-aware-schedules

Conversation

@AbigailDeng

Copy link
Copy Markdown
Contributor

Summary

  • Send the typed studio_member_automation owner through Team Automation schedule queries, writes, and lifecycle actions.
  • Aggregate team-level schedules per member while preserving the backend schedule-to-owner association; existing UI interactions remain unchanged.

Verification

  • pnpm --dir apps/aevatar-console-web test --runInBand src/shared/api/scheduledDispatchApi.test.ts src/pages/teams/detail.test.tsx: passed (99/99 tests)
  • pnpm --dir apps/aevatar-console-web tsc: passed
  • pnpm --dir apps/aevatar-console-web build: passed
  • bash tools/ci/test_stability_guards.sh: passed
  • git diff --check origin/dev...HEAD: passed

Risks

  • bash tools/ci/architecture_guards.sh passed the checks reached locally, then stopped because buf is not installed, so the complete architecture guard was not verified locally.
  • The full frontend test suite was not run under the repository incremental unit test policy; the two directly affected test files passed.

Closes #2977

@AbigailDeng
AbigailDeng requested a review from potter-sun as a code owner July 27, 2026 06:39
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.45%. Comparing base (5426eff) to head (5b65812).

@@            Coverage Diff             @@
##              dev    #2982      +/-   ##
==========================================
- Coverage   83.45%   83.45%   -0.01%     
==========================================
  Files        1376     1376              
  Lines      112732   112732              
  Branches    14366    14366              
==========================================
- Hits        94084    94075       -9     
- Misses      12096    12102       +6     
- Partials     6552     6555       +3     
Flag Coverage Δ
ci 83.45% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

Frontend: adapt Team Automations to owner-aware /api/schedules

1 participant