Skip to content

Accept bare labels as tags with an empty value#226

Merged
mtfishman merged 1 commit into
mainfrom
mf/bare-tag-labels
Jul 24, 2026
Merged

Accept bare labels as tags with an empty value#226
mtfishman merged 1 commit into
mainfrom
mf/bare-tag-labels

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Adds bare labels to the accepted tag inputs, so tags = "i" is shorthand for tags = "i" => "": a String or Symbol, a collection of them, or a collection mixing them with key => value pairs, each becomes a tag with an empty value. settags accepts the same forms, and an empty-value tag now prints as just its key (flux rather than flux=>).

Adds bare labels to the accepted tag inputs, so `tags = "i"` is shorthand for `tags = "i" => ""`: a `String` or `Symbol`, a collection of them, or a collection mixing them with `key => value` pairs, each becomes a tag with an empty value. `settags` accepts the same forms, and an empty-value tag now prints as just its key (`flux` rather than `flux=>`).
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.29%. Comparing base (f748ab0) to head (dc88040).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
+ Coverage   77.21%   77.29%   +0.07%     
==========================================
  Files          29       29              
  Lines        1712     1718       +6     
==========================================
+ Hits         1322     1328       +6     
  Misses        390      390              
Flag Coverage Δ
docs 27.11% <0.00%> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman
mtfishman enabled auto-merge (squash) July 24, 2026 00:16
@mtfishman
mtfishman merged commit 2565e4a into main Jul 24, 2026
18 checks passed
@mtfishman
mtfishman deleted the mf/bare-tag-labels branch July 24, 2026 00:25
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