Skip to content

Conversation

richard-leon-130524
Copy link
Contributor

Summary of PR changes

  • Since the GitHub GraphQL API restricts queries to a maximum of 100 node IDs, and reviewing only the latest 100 deployments is sufficient in most cases, I’ve added logic to slice the array and keep only the first 100 items sorted by created_at.
  • Add unit test :
    • given 120 deployments, should return only the latest 100
  • Build

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