Skip to content

[uss_qualifier] uss availability status: version conflict#1137

Merged
mickmis merged 7 commits intointeruss:mainfrom
Orbitalize:uss-qualifier-availability
Mar 5, 2026
Merged

[uss_qualifier] uss availability status: version conflict#1137
mickmis merged 7 commits intointeruss:mainfrom
Orbitalize:uss-qualifier-availability

Conversation

@RustedBones
Copy link
Contributor

Add scenario for testing USS availability status update conflict.

The 409 conflict code is not part of the official ASTM-UTM spec. This might need to be moved to interuss package.

@RustedBones RustedBones force-pushed the uss-qualifier-availability branch from b85bedd to 5f300f8 Compare August 28, 2025 15:13
@RustedBones
Copy link
Contributor Author

Run passed with a local image built with interuss/dss#1245

2025-08-28 15:17:57.927 | INFO     | monitoring.uss_qualifier.suites.suite:_run_test_scenario:155 - Running "ASTM Availability DSS: USS Availability Simple" scenario...
2025-08-28 15:17:57.940 | INFO     | monitoring.uss_qualifier.suites.suite:_run_test_scenario:173 - SUCCESS for "ASTM Availability DSS: USS Availability Simple" scenario

Copy link
Contributor

@Shastick Shastick left a comment

Choose a reason for hiding this comment

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

Somehow ended on this PR and did not realize it's still a draft: consider my comments as FYIs if you're still working on these things :)

@RustedBones RustedBones force-pushed the uss-qualifier-availability branch 2 times, most recently from 93bc25d to 43376c2 Compare September 9, 2025 12:56
@RustedBones RustedBones force-pushed the uss-qualifier-availability branch from 43376c2 to d9641fc Compare September 9, 2025 13:26
@RustedBones RustedBones force-pushed the uss-qualifier-availability branch 2 times, most recently from debc331 to 552dc32 Compare October 1, 2025 13:40
get old version before updating availability

fix test check mismatch

fix doc OVN/version naming

record all queries

factorize fragments
@RustedBones RustedBones force-pushed the uss-qualifier-availability branch from 552dc32 to 2c5257d Compare February 26, 2026 17:21
@RustedBones RustedBones marked this pull request as ready for review February 26, 2026 17:35
Copy link
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

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

LGTM modulo comments

else:
check.record_failed(
summary="Set USS availability with missing version failed for unexpected reason",
details=f"Was expecting an HTTP 409 response because of an missing version, but got {qe.cause_status_code} instead",
Copy link
Contributor

Choose a reason for hiding this comment

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

Include the message from the error response (above as well).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is consistent with other conflicts handling. Will do that in another PR

else:
check.record_failed(
summary="Set USS availability with incorrect version failed for unexpected reason",
details=f"Was expecting an HTTP 409 response because of an incorrect version, but got {qe.cause_status_code} instead",
Copy link
Contributor

Choose a reason for hiding this comment

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

Include the message from the error response (above as well).

@mickmis mickmis merged commit 902b1d8 into interuss:main Mar 5, 2026
22 checks passed
@mickmis mickmis deleted the uss-qualifier-availability branch March 5, 2026 16:12
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