-
Notifications
You must be signed in to change notification settings - Fork 36
feat(workflow-triggers): add pause and resume functionality #2413
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
Merged
JustAnotherNormalDev
merged 74 commits into
master
from
feature/workflow-pause-resume-api
Jan 5, 2026
Merged
Changes from 8 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
ca58b39
Fix docstring return type documentation for pause/resume methods
JustAnotherNormalDev 5f32ac6
Update CHANGELOG.md for workflow trigger pause/resume feature
JustAnotherNormalDev 82b513a
Add documentation for workflow trigger pause/resume methods
JustAnotherNormalDev a648a7f
fix: remove trailing whitespace in workflow trigger docstring
JustAnotherNormalDev 1a161ef
fix: update error message pattern in workflow trigger tests
JustAnotherNormalDev a0a8ac7
fix: resolve linting issues from pre-commit hooks
JustAnotherNormalDev 015884e
style: apply pre-commit formatting fixes
JustAnotherNormalDev 0765a49
fix: remove trailing empty line from integration test file
JustAnotherNormalDev 56e5609
revert: remove is_paused field and changelog entry as it's optional i…
JustAnotherNormalDev 532de86
Merge branch 'master' into feature/workflow-pause-resume-api
JustAnotherNormalDev 2d91c20
fix: add missing import for WorkflowExecutionDetailed in integration …
JustAnotherNormalDev e6c8500
fix: add missing imports for WorkflowExecutionDetailed
JustAnotherNormalDev 90e5511
fix: simplify pause/resume test to create new trigger instead of usin…
JustAnotherNormalDev e62e24f
test: add unit tests for WorkflowTaskExecution parent_task_external_i…
JustAnotherNormalDev cad825f
revert: remove unnecessary WorkflowTaskExecution unit tests
JustAnotherNormalDev 4975d14
feat: add pause and resume methods for workflow triggers
JustAnotherNormalDev 1cc8756
test: create and cleanup trigger in pause/resume test
JustAnotherNormalDev 4eb6480
test: add status verification after idempotent pause/resume operations
JustAnotherNormalDev 0d74797
clean: remove unused imports and whitespace from unit tests
JustAnotherNormalDev b9b3129
fix: remove unnecessary json={} parameters from pause/resume methods
JustAnotherNormalDev 1d10ff9
fix: restore missing finally block content in integration test
JustAnotherNormalDev 59ea8fd
fix: remove duplicate finally statement
JustAnotherNormalDev 83178ad
fix: update error message pattern to match actual API response
JustAnotherNormalDev f7fc38c
style: remove trailing empty line from integration test file
JustAnotherNormalDev 92b9798
fix: restore original test file structure
JustAnotherNormalDev 505e4a3
style: remove trailing empty line only
JustAnotherNormalDev 88dd7a0
fix: use correct fixture name for workflow trigger tests
JustAnotherNormalDev 1de632a
fix: correct fixture type and attribute access in pause/resume test
JustAnotherNormalDev 402c744
refactor: make pause/resume test self-contained
JustAnotherNormalDev 42698d0
style: fix trailing whitespace on blank line
JustAnotherNormalDev 89a7d72
fix: use default version string instead of workflow.version
JustAnotherNormalDev 6baba70
fix: create workflow version before creating trigger
JustAnotherNormalDev d952756
fix: use list() method instead of non-existent retrieve() for triggers
JustAnotherNormalDev b7efbc9
debug: add debugging for is_paused attribute and simplify test
JustAnotherNormalDev e499f68
fix: make scheduled trigger test self-contained
JustAnotherNormalDev 49dddc2
style: remove debug print statements and fix formatting
JustAnotherNormalDev 7f29868
style: fix trailing whitespace on blank lines
JustAnotherNormalDev 8151065
clean: remove self-explanatory comments
JustAnotherNormalDev 1b6e083
clean: remove remaining self-explanatory test comments
JustAnotherNormalDev 9eab2fe
clean: remove all remaining useless comments from pause/resume test
JustAnotherNormalDev a9d866b
style: remove extra blank line before finally block
JustAnotherNormalDev 78724b0
revert: restore original test_create_update_scheduled_trigger test
JustAnotherNormalDev 29342c9
fix: add missing is_paused assignment and restore assertions
JustAnotherNormalDev acc740d
Update cognite/client/_api/workflows/triggers.py
JustAnotherNormalDev 9c158ee
Update cognite/client/_api/workflows/triggers.py
JustAnotherNormalDev 5f84733
Merge branch 'master' into feature/workflow-pause-resume-api
JustAnotherNormalDev d9ada62
Merge branch 'master' into feature/workflow-pause-resume-api
JustAnotherNormalDev 55fbc8c
Improve WorkflowTrigger dump tests with better variable naming
JustAnotherNormalDev 2e9b1a0
Merge branch 'feature/workflow-pause-resume-api' of https://github.co…
JustAnotherNormalDev b474ebc
Rename dumped_snake_case to snake_dumped for better clarity
JustAnotherNormalDev d9682cf
Remove snake from variable name - use underscore_dumped instead
JustAnotherNormalDev 6d17b59
Use literal variable name: not_camel_case instead of underscore_dumped
JustAnotherNormalDev 0d3a4c2
Use literal variable name: dumped_false for camel_case=False
JustAnotherNormalDev 8ea9c1b
Name variable after method parameter: camel_case_false for camel_case…
JustAnotherNormalDev 7697dc6
Use full descriptive name: dumped_camel_case_false
JustAnotherNormalDev edca738
Rename all dumped variables consistently: dumped_camel_case_true and …
JustAnotherNormalDev 8ce06a8
Add camel_case=False test case to test_dump_without_is_paused
JustAnotherNormalDev e569189
Make WorkflowTrigger dump tests parameterized
JustAnotherNormalDev 98acd4d
Improve WorkflowTrigger dump tests with better parameterization and c…
JustAnotherNormalDev 7bf1872
Merge branch 'master' into feature/workflow-pause-resume-api
JustAnotherNormalDev 101cece
Fix trailing whitespace in test methods
JustAnotherNormalDev e27a620
Merge branch 'feature/workflow-pause-resume-api' of https://github.co…
JustAnotherNormalDev 83a8c06
Merge branch 'master' into feature/workflow-pause-resume-api
JustAnotherNormalDev ee86d9f
Remove redundant test_dump_without_is_paused_param test method
JustAnotherNormalDev 4f94394
Remove trailing empty line to fix ruff format
JustAnotherNormalDev f538bd6
Make is_paused mandatory in WorkflowTrigger class
JustAnotherNormalDev 17b9254
Remove redundant test_dump_always_includes_is_paused_mandatory test
JustAnotherNormalDev 013cfcc
Remove empty line in test method
JustAnotherNormalDev 0a596cb
Add missing newline at end of test file
JustAnotherNormalDev 88b5496
removed the tests
JustAnotherNormalDev d6b108e
removed the tests
JustAnotherNormalDev 1be69eb
Fix linting: add missing newline at end of test_workflows.py
JustAnotherNormalDev 40c65ba
Remove unused imports from test_workflows.py
JustAnotherNormalDev 9d4da32
Add missing newline at end of test_workflows.py
JustAnotherNormalDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.