Skip to content

Commit

Permalink
fix(instigator-tick-logs): allow tickId to be BigInt
Browse files Browse the repository at this point in the history
  • Loading branch information
rexledesma committed May 28, 2024
1 parent 0d8e972 commit 6e0d2f7
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function PartitionsTable({partitions}: {partitions: DynamicPartitionsRequestResu
}

const JOB_SELECTED_TICK_QUERY = gql`
query SelectedTickQuery($instigationSelector: InstigationSelector!, $tickId: Int!) {
query SelectedTickQuery($instigationSelector: InstigationSelector!, $tickId: BigInt!) {
instigationStateOrError(instigationSelector: $instigationSelector) {
... on InstigationState {
id
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const TickLogRow = ({event}: {event: TickLogEventFragment}) => {
};

const TICK_LOG_EVENTS_QUERY = gql`
query TickLogEventsQuery($instigationSelector: InstigationSelector!, $tickId: Int!) {
query TickLogEventsQuery($instigationSelector: InstigationSelector!, $tickId: BigInt!) {
instigationStateOrError(instigationSelector: $instigationSelector) {
... on InstigationState {
id
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ class GrapheneInstigationState(graphene.ObjectType):
runsCount = graphene.NonNull(graphene.Int)
tick = graphene.Field(
graphene.NonNull(GrapheneInstigationTick),
tickId=graphene.NonNull(graphene.Int),
tickId=graphene.NonNull(graphene.BigInt),
)
ticks = graphene.Field(
non_null_list(GrapheneInstigationTick),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@


GET_TICKS_QUERY = """
query TicksQuery($sensorSelector: SensorSelector!, $statuses: [InstigationTickStatus!], $tickId: Int!) {
query TicksQuery($sensorSelector: SensorSelector!, $statuses: [InstigationTickStatus!], $tickId: BigInt!) {
sensorOrError(sensorSelector: $sensorSelector) {
__typename
... on PythonError {
Expand Down

0 comments on commit 6e0d2f7

Please sign in to comment.