Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: Add @spec annotations to Dotcom.SystemStatus.Subway #2360

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

joshlarson
Copy link
Contributor

@joshlarson joshlarson force-pushed the jdl/system-status/flowchart-typespecs branch from bb8dec0 to c00f06a Compare February 5, 2025 01:21
Base automatically changed from jdl/system-status-flowchart to main February 5, 2025 14:24
@joshlarson joshlarson force-pushed the jdl/system-status/flowchart-typespecs branch from d5960a6 to 2abf5d9 Compare February 5, 2025 14:36
@joshlarson joshlarson marked this pull request as ready for review February 5, 2025 19:39
@joshlarson joshlarson requested a review from a team as a code owner February 5, 2025 19:39
Copy link
Collaborator

@thecristen thecristen left a comment

Choose a reason for hiding this comment

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

Just one thing, this is great 🎉

@type status_time() :: :current | {:future, DateTime.t()}

@type status_entry() :: %{
status: atom(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

This atom's:normal or Alerts.Alert.effect() right? I'd rather that be described explicitly... even better if we could have a type that's limited to the effects we care about.

@joshlarson joshlarson force-pushed the jdl/system-status/flowchart-typespecs branch from 2abf5d9 to e703c2e Compare February 10, 2025 14:27
@joshlarson
Copy link
Contributor Author

@thecristen PTALA e703c2e 🙏

@joshlarson joshlarson merged commit 715fa2a into main Feb 10, 2025
23 checks passed
@joshlarson joshlarson deleted the jdl/system-status/flowchart-typespecs branch February 10, 2025 16:09
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.

2 participants