Skip to content

Conversation

@Whoops
Copy link
Contributor

@Whoops Whoops commented Jun 6, 2025

Summary of changes

Asana Ticket: TICKET_NAME

[Please include a brief description of what was changed]

Reviewer Checklist

  • Meets ticket's acceptance criteria
  • Any new or changed functions have typespecs
  • Tests were added for any new functionality (don't just rely on Codecov)
  • This branch was deployed to the staging environment and is currently running with no unexpected increase in warnings, and no errors or crashes.

@Whoops Whoops changed the title Wh styler test: adopt styler Jun 9, 2025
@Whoops Whoops changed the title test: adopt styler feat: adopt styler Jun 11, 2025
@Whoops Whoops marked this pull request as ready for review June 11, 2025 20:58
@Whoops Whoops requested a review from a team as a code owner June 11, 2025 20:58
@Whoops Whoops requested review from cmaddox5 and removed request for a team June 11, 2025 20:58
gtfs_archive_storage_request_fn: {Arrow.Mock.ExAws.Request, :request},
hastus_export_storage_enabled?: false,
hastus_export_storage_request_fn: {Arrow.Mock.ExAws.Request, :request}
alias Arrow.Mock.ExAws.Request
Copy link
Contributor

Choose a reason for hiding this comment

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

My biggest complaint with this is how it chooses to pull things into an alias. It seems annoyingly inconsistent. Looking at line 56 below, why wasn't that also made one?

group_by: r.disruption_id
)
|> Repo.one!()
Repo.one!(from(r in DisruptionRevision, where: r.disruption_id == ^id, select: max(r.id), group_by: r.disruption_id))
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a tricky refactor too. I get why it made the change, but I feel like it's a little less readable now.

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.

3 participants