Repository navigation
feat(requests)!: suspend_ticket and restart_ticket; the guard names STATUS_ID_ON_CREATE (0.5.0) - #11
Merged
Merged
Conversation
…TATUS_ID_ON_CREATE (0.5.0)
Adds the vendor's suspend and restart requests (PUT requests/{rfc} with a
suspended / restarted object; optional comment and done_by_id; no status),
both behind allow_workflow_effect (UNKNOWN) and sent once.
BREAKING: the workflow guard now names STATUS_ID_ON_CREATE on an existing
action, so a write that passed before is refused without the opt-in.
Corrects the reassign_action documentation: the ticket's OWNING_GROUP_ID
follows the step's new group after a delay (measured on one instance).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…measured paragraphs carry tier and dates, the server-side job is marked inferred, the person note is reworded Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ented 400; reflow the 0.5.0 Fixed entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11 +/- ##
=======================================
Coverage 98.96% 98.96%
=======================================
Files 40 40
Lines 2694 2715 +21
=======================================
+ Hits 2666 2687 +21
Misses 28 28 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
suspend_ticketandrestart_ticket, the vendor's suspend and restart requests (PUT requests/{rfc_number}with asuspended/restartedobject; suspend, restart). They followclose_ticket:allow_workflow_effectis a required keyword (the guard already named both bodiesWorkflowEffect.UNKNOWN), the request is refused before sending unless allowed, and it is sent once, never retried.commentanddone_by_idare left out of the body whenNone. Neither takes a status; the package still has no status setter.STATUS_ID_ON_CREATEon an existing action, as it doesSTATUS_ID_ON_TERMINATE(measured on one instance: a write to it on an existing action changed where the ticket's status went). Creating an action or a task is unchanged.reassign_actiondocumentation: the ticket'sOWNING_GROUP_IDdoes follow a reassigned step, after a few seconds to about two minutes.Verification
Run locally on Python 3.13 with
.[dev]:pytest -m "not integration": 2337 passed;scripts/tests: 436 passedruff check .,unasync_build.py --check,mypy easyvista_python_client,sphinx -E -W: all cleangit archivecopy per mutant, exit 1 = kill): 11 of 11 killed (guard entry removed or added to the create sets, wrapper keys, path, method, comment anddone_by_idforwarding, opt-in defaulted or bypassed, response parsing).No integration test was run.
🤖 Generated with Claude Code