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

host -> platform #4164

Merged
merged 2 commits into from
Apr 14, 2021
Merged

host -> platform #4164

merged 2 commits into from
Apr 14, 2021

Conversation

oliver-sanders
Copy link
Member

@oliver-sanders oliver-sanders commented Apr 8, 2021

The Protobuf and GraphQL APIs both provide host and not platform for jobs.

Requirements check-list

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Appropriate tests are included (unit and/or functional).
  • Appropriate change log entry included.
  • No documentation update required.
  • No dependency changes.

@oliver-sanders oliver-sanders mentioned this pull request Apr 8, 2021
6 tasks
@oliver-sanders oliver-sanders added this to the cylc-8.0b1 milestone Apr 8, 2021
Comment on lines 772 to 774
host = String(
deprecation_reason='Use the platform field'
)
Copy link
Member Author

@oliver-sanders oliver-sanders Apr 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out we can deprecate GraphQL fields, I think I'll just remove this one (since it will always return None and we are the only users ATM), however, worth knowing.

The field gets highlighted in GraphiQL along with the deprecation reason.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed (not needed).

@oliver-sanders oliver-sanders self-assigned this Apr 13, 2021
@oliver-sanders oliver-sanders force-pushed the host-platform branch 2 times, most recently from 1476d9d to a533018 Compare April 13, 2021 11:56
@oliver-sanders oliver-sanders marked this pull request as ready for review April 13, 2021 11:57
@oliver-sanders
Copy link
Member Author

(incase this gets tangled up with DNS issues I ran all tests locally)

Copy link
Member

@kinow kinow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflict in CHANGES.md @oliver-sanders . Rest looks good!

@hjoliver
Copy link
Member

(Tests fails look like the DNS issue)

@hjoliver hjoliver merged commit fd54779 into cylc:master Apr 14, 2021
@oliver-sanders oliver-sanders deleted the host-platform branch April 14, 2021 08:37
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.

3 participants