Skip to content

refactor: unify HostData field names across reporters#468

Merged
gibiw merged 1 commit intomainfrom
refactor/unify-hostdata-format
Mar 18, 2026
Merged

refactor: unify HostData field names across reporters#468
gibiw merged 1 commit intomainfrom
refactor/unify-hostdata-format

Conversation

@gibiw
Copy link
Copy Markdown
Contributor

@gibiw gibiw commented Mar 18, 2026

Summary

  • Renamed python -> language and pip -> packageManager in get_host_info() host data dictionary to align with the unified HostData model used across all Qase reporter languages (JS implementation already done in qase-javascript-commons@2.5.10).
  • Removed legacy QaseUtils.get_host_data() from utils.pyreport.py now uses get_host_info() from host_data.py.
  • X-Platform headers retain language-specific keys (python=, pip=).
  • Bumped version to 5.0.7.

Test plan

  • All 218 existing tests pass (python -m pytest tests/ -v)
  • Verify X-Platform and X-Client headers are sent correctly in integration environment
  • Verify host data in local report mode contains new field names (language, packageManager)

Rename `python` -> `language` and `pip` -> `packageManager` in host data
dictionary to align with the unified HostData model used in JS reporters.
Remove legacy `QaseUtils.get_host_data()` in favor of `get_host_info()`.
X-Platform headers retain language-specific keys (`python=`, `pip=`).
Bump version to 5.0.7.
@gibiw gibiw merged commit 5d93a38 into main Mar 18, 2026
36 checks passed
@gibiw gibiw deleted the refactor/unify-hostdata-format branch March 18, 2026 12:06
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