Skip to content

fix(battery): den._.hostname strictness#244

Merged
vic merged 1 commit intomainfrom
hostname
Mar 9, 2026
Merged

fix(battery): den._.hostname strictness#244
vic merged 1 commit intomainfrom
hostname

Conversation

@vic
Copy link
Copy Markdown
Owner

@vic vic commented Mar 9, 2026

This changes den._.hostname from take.exactly {host} to take.atLeast {host,...}, to make it also work on user aspects because they have no {host} context, only a {host, user} one.

Also added tests that including den._.hostname in a second order include works. NOTE: the aspect using includes = [ den._.hostname ] needs to be parametric {} to be able to forward context.

Might be of interest @drupol

@vic vic added the approved allow all CI integration tests label Mar 9, 2026
@vic vic merged commit d60a473 into main Mar 9, 2026
12 of 19 checks passed
@vic vic deleted the hostname branch March 9, 2026 16:15
@drupol
Copy link
Copy Markdown
Contributor

drupol commented Mar 9, 2026

Testing now.

@drupol
Copy link
Copy Markdown
Contributor

drupol commented Mar 9, 2026

Replied on Zulip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved allow all CI integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants