Skip to content

Cobalt: Update lifecycle terminology to Activating/Deactivating#5

Closed
jellefoks wants to merge 1 commit into26.eapfrom
lifecycle_terminology_cleanup_v2
Closed

Cobalt: Update lifecycle terminology to Activating/Deactivating#5
jellefoks wants to merge 1 commit into26.eapfrom
lifecycle_terminology_cleanup_v2

Conversation

@jellefoks
Copy link
Copy Markdown
Owner

@jellefoks jellefoks commented Mar 30, 2026

This renames the 'downward' transitions to 'deactivating' transitions to clarify the application lifecycle state machine.

Bug: 492166511
Bug: 491841704
Bug: 475990372
Bug: 477170017
Bug: 474496110
Bug: 492693465
Bug: 494002968

@github-actions

This comment was marked as off-topic.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request renames 'downward' transitions to 'deactivating' transitions to clarify the application lifecycle state machine. The review identified a logic error in the transition check where the initial startup (kInitial to kStarted) is incorrectly classified as deactivating due to the underlying enum values. This could cause the OS thread to block unnecessarily during startup. A code suggestion was provided to exclude the initial state from this check and update the documentation to resolve the semantic inconsistency.

@jellefoks jellefoks force-pushed the lifecycle_terminology_cleanup_v2 branch from e6c89f9 to efcfa20 Compare March 30, 2026 19:43
@jellefoks jellefoks closed this Mar 30, 2026
@jellefoks
Copy link
Copy Markdown
Owner Author

youtube#9821

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