Skip to content

Invalid Timestamp returned for check in some cases #29

@comp615

Description

@comp615

Describe the bug
Using this action, sometimes the checks are not correctly run
image

To Reproduce
Steps to reproduce the behavior:

  1. Make a change using the job below
  2. Check results in Apollo. Sometimes nothing is returned and the date range is shown as invalid

Environment

jobs:
  check_schema:
    name: check schema
    runs-on: ubuntu-latest
    timeout-minutes: 5
    steps:
      - uses: actions/checkout@v2
      - name: Apollo Schema check
        uses: iansu/apollo-schema-check-action@v2
        with:
          graph: [[REDACTED]]
          localSchemaFile: 'server/graphql/schema.graphql'
          serviceName: [[REDACTED]]
          validationPeriod: P1W
          key: ${{ secrets.APOLLO_KEY }}
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Additional context
Continuing to look at this and see if there's any commonalities. Seems likely it might be an issue on the Apollo side of things since I don't know what would have changed here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions