Skip to content

Improve loading of base (org.varlink.service.varlink) interface description.#68

Merged
behrmann merged 1 commit intovarlink:masterfrom
Mocramis:better_base_iface_load
Sep 16, 2025
Merged

Improve loading of base (org.varlink.service.varlink) interface description.#68
behrmann merged 1 commit intovarlink:masterfrom
Mocramis:better_base_iface_load

Conversation

@Mocramis
Copy link

I noticed that the varlink/org.varlink.service.varlink was loaded a lot when spawning temporary clients.

I also had an issue when updating the package while some program was still running on the old version (although this doesn't fully solve this non-issue (in-place package updating is bad practice) as we can still instantiate the fist client while the package is being replaced).

The first commit is just an improvement opportunity i saw.

@Mocramis Mocramis force-pushed the better_base_iface_load branch from 52323cb to 9043a51 Compare August 1, 2025 14:30
@Mocramis Mocramis force-pushed the better_base_iface_load branch from 9043a51 to bf25e70 Compare August 5, 2025 10:14
Copy link
Collaborator

@behrmann behrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the ruff complaint LGTM.

@behrmann behrmann requested a review from jelly August 5, 2025 10:54
@Mocramis Mocramis force-pushed the better_base_iface_load branch from bf25e70 to fc1fba0 Compare August 5, 2025 12:54
@Mocramis
Copy link
Author

Anything missing ?

This will prevent issues with packed packages.

Available since py39 and f080d4b dropped
support of older versions.
@Mocramis Mocramis force-pushed the better_base_iface_load branch from fc1fba0 to 791cda7 Compare September 15, 2025 13:13
@behrmann
Copy link
Collaborator

I'll have a look why the ruff lint is broken now.

@Mocramis
Copy link
Author

Mocramis commented Sep 16, 2025

I'll have a look why the ruff lint is broken now.

Thanks, it works locally though :/

@jelly
Copy link
Collaborator

jelly commented Sep 16, 2025

I'll have a look why the ruff lint is broken now.

Thanks, it works locally though :/

Was fixed in #70, so this needs a rebase now (retried running the failed check but it failed again)

@behrmann
Copy link
Collaborator

Merging, since I checked locally that ruff checks pass (with ruff 0.13).

@behrmann behrmann merged commit e7fe9d6 into varlink:master Sep 16, 2025
18 of 21 checks passed
@Mocramis
Copy link
Author

Do you think a release with this fix could be possible (the last one being 2021 ). I can reapply the patch locally, but would be simpler to track an official version.

@behrmann
Copy link
Collaborator

@Mocramis @jelly and I have been talking about a new release around ASG (next week).

@Mocramis
Copy link
Author

thank you for tatking the time to answer !

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.

3 participants