Skip to content

Look for the resource keys link the cloud engine now gives in the cloud tests - #38

Merged
jwrosewell merged 1 commit into
rcfrom
fix/cloud-test-resource-keys-link
Nov 4, 2026
Merged

jwrosewell merged 1 commit into
rcfrom
fix/cloud-test-resource-keys-link

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Problem

The publish of release #37 (run 41918913736) failed in all 15 Test jobs, on Ubuntu, Windows and macOS, so nothing was pushed to PyPI. In every one of them the only failures were two device detection cloud integration tests:

  • test_missing_property_service_element_not_found
  • test_missing_property_service_not_found_anywhere

Both check that the error raised for a missing property links to the resource keys explainer, and both looked for https://51degrees.com/documentation/_info__resource_keys.html. #35 moved that link in the cloud request engine's messages (cloudengine.py and clouddata.py) to https://51degrees.com/documentation/_services__cloud__resource_keys.html, followed by the campaign tags. Both addresses answer 200.

Change

The two assertions in device-detection/fiftyone_devicedetection_cloud/tests/test_cloud.py (lines 124 and 175) now look for the new link. A code search of the repository finds the old link nowhere else.

How it is checked

The pull request builds passed these two tests after #35 merged. For example, the integration tests in the full build of #36 (run 41881062372) ran test_cloud.py and passed all 14 tests. The publish, which installs the packages it has just built, failed them. Why the pull request builds did not see the new link is not yet established, so a pull request build cannot prove this change.

The publish's Test stage does prove it, and its Package job runs only when every Test job passes, so nothing reaches PyPI unless these two tests pass.

What remains

…ud tests

#35 moved the resource keys explainer link in the cloud request engine's
messages from _info__resource_keys.html to _services__cloud__resource_keys.html.
test_missing_property_service_element_not_found and
test_missing_property_service_not_found_anywhere still looked for the old
link, so they failed in every Test job of the publish.
@jwrosewell
jwrosewell marked this pull request as ready for review November 4, 2026 23:04
@jwrosewell
jwrosewell merged commit dfa6757 into rc Nov 4, 2026
2 checks passed
@jwrosewell
jwrosewell deleted the fix/cloud-test-resource-keys-link branch November 4, 2026 23:04
@jwrosewell jwrosewell mentioned this pull request Nov 4, 2026
jwrosewell added a commit that referenced this pull request Nov 4, 2026
Releases what has collected on `rc` since #37:

- [#38](#38) Look for the resource keys link the cloud engine now gives in the cloud tests

The publish of #37 ([run 41918913736](https://github.com/51Degrees/51degrees-python/actions/runs/41918913736)) failed in every Test job on the two cloud tests #38 fixes, so it pushed nothing to PyPI and made no tags. This release changes only those tests, and its publish builds and releases the packages #37 changed, at the versions #37 would have given them.

No commit asks for a major or minor version change, so the publish moves only patch numbers.

The last release into `main` was #37, merged at 21:40 UTC on 4 November 2026.
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.

1 participant