Skip to content

test(deployments): port deployment lifecycle tests to integration:ng - #2075

Open
p-targowicz wants to merge 1 commit into
ng-rewrite-03-devauthfrom
ng-rewrite-04-deployments
Open

test(deployments): port deployment lifecycle tests to integration:ng#2075
p-targowicz wants to merge 1 commit into
ng-rewrite-03-devauthfrom
ng-rewrite-04-deployments

Conversation

@p-targowicz

@p-targowicz p-targowicz commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Part of the suite-by-suite python-to-Go port (see #2079). Ports the
deployment lifecycle half of test_deployments.py: creation, device and
group status progression including pause substates, listing with time
windows and statistics. The python tests keep running in parallel.
Builds on #2079.

@p-targowicz
p-targowicz changed the base branch from rewrite-backend-integration-tests-ng to ng-rewrite-01-foundation July 17, 2026 10:20
@p-targowicz
p-targowicz force-pushed the ng-rewrite-01-foundation branch from d19a365 to 0754f85 Compare July 17, 2026 10:34
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 1811db7 to 74c391a Compare July 17, 2026 10:34
@p-targowicz
p-targowicz changed the base branch from ng-rewrite-01-foundation to ng-rewrite-03-devauth July 17, 2026 10:35
@p-targowicz
p-targowicz marked this pull request as ready for review July 17, 2026 11:09
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from c6c45f3 to dd74371 Compare July 20, 2026 09:23
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 74c391a to 37c3e3c Compare July 20, 2026 09:23
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from dd74371 to f3755c7 Compare July 20, 2026 10:09
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 37c3e3c to 4206d08 Compare July 20, 2026 10:10
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from f3755c7 to c62261f Compare July 28, 2026 07:13
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 4206d08 to cc7adad Compare July 28, 2026 07:13
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from c62261f to c91d15d Compare July 28, 2026 09:19
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from cc7adad to 8203b2d Compare July 28, 2026 09:19
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from c91d15d to 53af74b Compare July 28, 2026 09:26
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 8203b2d to 87a5842 Compare July 28, 2026 09:26
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from 53af74b to 781170a Compare July 29, 2026 00:01
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 87a5842 to ad40bbe Compare July 29, 2026 00:03
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from 781170a to 90db24e Compare July 29, 2026 07:48
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from ad40bbe to 236a458 Compare July 29, 2026 07:48
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from 90db24e to 35b08e7 Compare July 29, 2026 13:03
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 236a458 to 3451887 Compare July 29, 2026 13:03

@bahaa-ghazal bahaa-ghazal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The tests looks good!
Just the same comments regarding the TearDownSuite

Comment thread backend/tests/runner/tests/opensource/deployments_management_v1_test.go Outdated
Comment thread backend/tests/runner/tests/opensource/deployments_management_v1_test.go Outdated
Comment thread backend/tests/runner/tests/opensource/deployments_management_v1_test.go Outdated
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from 3451887 to fc68877 Compare July 30, 2026 12:36

@bahaa-ghazal bahaa-ghazal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Deployment creation, device and group status progression including
pause substates, listing with time windows and statistics, ported from
test_deployments.py, which keeps running in parallel.

Signed-off-by: Patryk Targowicz <patryk.targowicz@northern.tech>
@p-targowicz
p-targowicz force-pushed the ng-rewrite-03-devauth branch from 35b08e7 to d1c4932 Compare August 3, 2026 10:14
@p-targowicz
p-targowicz force-pushed the ng-rewrite-04-deployments branch from fc68877 to 527c6ec Compare August 3, 2026 10:14
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.

2 participants