Skip to content

fix(commons): sync tags to fields in add_tags() for report mode#478

Merged
gibiw merged 1 commit intomainfrom
fix/commons-tags-sync
Apr 8, 2026
Merged

fix(commons): sync tags to fields in add_tags() for report mode#478
gibiw merged 1 commit intomainfrom
fix/commons-tags-sync

Conversation

@gibiw
Copy link
Copy Markdown
Contributor

@gibiw gibiw commented Apr 8, 2026

Summary

  • Move tags-to-fields merge from _prepare_result() (API-only) into Result.add_tags() via _sync_tags_to_fields()
  • Tags now appear in fields["tags"] for all modes including local report generation
  • Bump version to 5.1.1

Problem

In 5.1.0, tags were only merged into fields["tags"] inside _prepare_result() which only runs in testops mode. In report mode, result.fields is serialized directly — tags were missing.

Test plan

  • TestResultTagsFieldsMerge tests verify automatic sync
  • Integration tests pass (tags appear in report mode output)

Move tags-to-fields merge from _prepare_result() (API-only) into
Result.add_tags() via _sync_tags_to_fields() so tags appear in
fields["tags"] for all modes including local report generation.

Bump version to 5.1.1.
@gibiw gibiw merged commit df9038f into main Apr 8, 2026
37 checks passed
@gibiw gibiw deleted the fix/commons-tags-sync branch April 8, 2026 13:28
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