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

Add API for runs v2 list #1345

Merged
merged 16 commits into from
May 15, 2024
Merged

Add API for runs v2 list #1345

merged 16 commits into from
May 15, 2024

Conversation

darwin67
Copy link
Collaborator

@darwin67 darwin67 commented May 10, 2024

Description

Add API for new runs feature in Dev Server.

This change implements the following:

  • retrieve function runs via time range
  • filter function runs with status, functionID, appID
  • paginate the data retrieval via a cursor

Type of change (choose one)

  • Chore (refactors, upgrades, etc.)
  • Bug fix (non-breaking change that fixes an issue)
  • Security fix (non-breaking change that fixes a potential vulnerability)
  • Docs
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality not to work as expected)

Checklist

  • I've linked any associated issues to this PR.
  • I've tested my own changes.

Check our Pull Request Guidelines

Copy link

linear bot commented May 10, 2024

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ui ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 0:07am

@darwin67 darwin67 changed the title Add interface for runs v2 list gql schema Add API for runs v2 list May 14, 2024
})

// TODO: Fix this
// t.Run("retrieve only failed runs sorted by ended_at", func(t *testing.T) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this test passes when ran within this file, but fails when running the full test suite somehow, so something seems to be interfering with the data when the whole test suite runs.

comment it out for now and address it later.

@tonyhb tonyhb merged commit af9c9fb into main May 15, 2024
12 checks passed
@tonyhb tonyhb deleted the darwin/INN-3039 branch May 15, 2024 15:16
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.

None yet

2 participants