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

feat: Stacks improvements #311

Merged
merged 1 commit into from
Nov 6, 2024
Merged

feat: Stacks improvements #311

merged 1 commit into from
Nov 6, 2024

Conversation

zreigz
Copy link
Member

@zreigz zreigz commented Nov 5, 2024

No description provided.

@michaeljguarino
Copy link
Member

What's the difference between the minimal fragment and the prior one?

@zreigz
Copy link
Member Author

zreigz commented Nov 5, 2024

What's the difference between the minimal fragment and the prior one?

contains much less information, only what is necessary like job spec, configuration, type, status. Comparing with this one:

fragment StackRunBaseFragment on StackRun {
    id
    type
    status
    approval
    approvedAt
    tarball
    workdir
    manageState
    stateUrls {
        terraform {
            address
            lock
            unlock
        }
    }
    pluralCreds {
        url
        token
    }
    actor { ...UserFragment }
    stack { ...InfrastructureStackFragment }
    state { ...StackStateFragment}
    steps { ...RunStepFragment}
    files { ...StackFileFragment}
    git { ...GitRefFragment }
    repository { ...GitRepositoryFragment}
    jobSpec { ...JobSpecFragment}
    configuration { ...StackConfigurationFragment}
    environment { ...StackEnvironmentFragment}
    output { ...StackOutputFragment}
    errors { ...ServiceErrorFragment}
    variables
}

@zreigz
Copy link
Member Author

zreigz commented Nov 5, 2024

The new go client version doesn't return the entire Stack object after some updates and deletion

@zreigz zreigz merged commit ffd5ede into main Nov 6, 2024
31 checks passed
@zreigz zreigz deleted the stacks-improvements branch November 6, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants