Skip to content

[scope] Add typed outcomes and make taskvisor's purpose clear - #141

Merged
mr-chelyshkin merged 7 commits into
mainfrom
clear-scope
Jul 17, 2026
Merged

[scope] Add typed outcomes and make taskvisor's purpose clear#141
mr-chelyshkin merged 7 commits into
mainfrom
clear-scope

Conversation

@mr-chelyshkin

@mr-chelyshkin mr-chelyshkin commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

📝 Description

  • Split attempt events from final task events.
  • Add TaskOutcomeKind for reliable handling.
  • Make reason strings diagnostic only.
  • Enable the controller feature by default.
  • Add ARCHITECTURE.md

✅ Checklist

  • Documentation updated (README, API docs, examples)
  • Tests added/updated (if relevant)
  • task ci passes locally

Breaking

  • Rename attempt events from Task* to Attempt*.
  • Replace ActorExhausted and ActorDead with typed TaskFinished.
  • Report force-abort through TaskFinished.outcome_kind.
  • Change lifecycle event labels used by logs, metrics, and traces.

@mr-chelyshkin mr-chelyshkin self-assigned this Jul 17, 2026
@mr-chelyshkin mr-chelyshkin added the other [PR] Fits no other category. Release notes: Other label Jul 17, 2026
@mr-chelyshkin
mr-chelyshkin merged commit 17a3ca2 into main Jul 17, 2026
32 checks passed
@mr-chelyshkin
mr-chelyshkin deleted the clear-scope branch July 17, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other [PR] Fits no other category. Release notes: Other

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant