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

St with timezone #3950

Closed
wants to merge 63 commits into from
Closed

Conversation

codingkarthik
Copy link
Contributor

Description

Affected components

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System
  • Tests
  • Other (list it)

Related Issues

Solution and Design

Steps to test and verify

Limitations, known bugs & workarounds

Server checklist

Catalog upgrade

Does this PR change Hasura Catalog version?

  • No
  • Yes
    • Updated docs with SQL for downgrading the catalog

Metadata

Does this PR add a new Metadata feature?

  • No
  • Yes
    • Does run_sql auto manages the new metadata through schema diffing?
      • Yes
      • Not required
    • Does run_sql auto manages the definitions of metadata on renaming?
      • Yes
      • Not required
    • Does export_metadata/replace_metadata supports the new metadata added?
      • Yes
      • Not required

GraphQL

  • No new GraphQL schema is generated
  • New GraphQL schema is being generated:
    • New types and typenames are correlated

Breaking changes

  • No Breaking changes

  • There are breaking changes:

    1. Metadata API

      Existing query types:

      • Modify args payload which is not backward compatible
      • Behavioural change of the API
      • Change in response JSON schema
      • Change in error code
    2. GraphQL API

      Schema Generation:

      • Change in any NamedType
      • Change in table field names

      Schema Resolve:-

      • Change in treatment of null value for any input fields
    3. Logging

      • Log JSON schema has changed
      • Log type names have changed

tirumaraiselvan and others added 30 commits December 12, 2019 16:33
…led-triggers

# Conflicts:
#	server/graphql-engine.cabal
#	server/src-lib/Hasura/App.hs
#	server/stack.yaml
#	server/stack.yaml.lock
# Conflicts:
#	server/graphql-engine.cabal
#	server/src-lib/Hasura/Eventing/EventTrigger.hs
#	server/src-lib/Hasura/RQL/Types.hs
#	server/src-lib/Hasura/RQL/Types/SchemaCache.hs
# Conflicts:
#	server/src-lib/Hasura/SQL/Types.hs
#	server/src-rsr/initialise.sql
#	server/stack.yaml
#	server/stack.yaml.lock
# Conflicts:
#	server/src-lib/Hasura/RQL/DDL/Schema/Cache.hs
tirumaraiselvan and others added 22 commits February 11, 2020 16:00
)

While an event of the ST is fired, the headers will also be sent
  - Make a new scheduled events webhook server on port 5594
  - Setting the session timezone of the db to UTC so that
    "SELECT NOW()" returns UTC time.
  - Cron's schedule is set from 30 mins from the time the tests run, so it
    will not be run(to avoid race condition between the cron ST and the adhoc
    ST)
  - The tests will run for a maximum of a minute(until the event is fired)
@hasura-bot
Copy link
Contributor

Beep boop! 🤖

Hey @codingkarthik, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible.

Stay awesome! 😎

@netlify
Copy link

netlify bot commented Feb 25, 2020

Deploy preview for hasura-docs ready!

Built with commit 55c6847

https://deploy-preview-3950--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-3950.herokuapp.com is deleted

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.

4 participants