Skip to content

Conversation

@Rylan12
Copy link
Member

@Rylan12 Rylan12 commented Oct 28, 2025

This fixes a bug where a core formula might not exist in the minimal JSON API.
One example of when this might occur would be if a formula was recently migrated to a different tap.

In Formula#outdated?, if we aren't able to get a formula stub, just fall back to the non-internal-api solution.

CC: @MikeMcQuaid

Copilot AI review requested due to automatic review settings October 28, 2025 03:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug where checking if a core formula is outdated could fail if the formula doesn't exist in the minimal JSON API, which can happen when a formula is recently migrated to a different tap.

Key changes:

  • Added a safety check to verify the formula exists in the API before attempting to fetch its stub

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Thanks!

@MikeMcQuaid MikeMcQuaid enabled auto-merge October 28, 2025 08:36
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Oct 28, 2025
Merged via the queue into main with commit fba80fe Oct 28, 2025
72 of 77 checks passed
@MikeMcQuaid MikeMcQuaid deleted the fix-outdated-check-on-missing-core-formula branch October 28, 2025 14:32
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