Skip to content

feat(sunbeam-python): add FeatureGroup capability - #915

Merged
hemanthnakkina merged 1 commit into
canonical:mainfrom
mv-2112:lp2167079
Sep 18, 2026
Merged

hemanthnakkina merged 1 commit into
canonical:mainfrom
mv-2112:lp2167079

Conversation

@mv-2112

@mv-2112 mv-2112 commented Sep 11, 2026

Copy link
Copy Markdown

This is required for Cloudkitty to correctly register its need for observability to be enabled. Unlike telemetry for example, observability has two subfeatures, embedded and external that are both equally valid, but one MUST be provided hence optional is not a valid way to handle in the current setup.

Original Author/Inspiration: Hemanth Nakkina

QA steps

We need to ensure this extends the FeatureRequirement without breaking existing.

Since on #581 it passes for telemetry it can serve as a test case for this feature. Telemetry should pass as normal, and additionally observability should now pass.

Links

lp2167079

@mv-2112

mv-2112 commented Sep 14, 2026

Copy link
Copy Markdown
Author

To be clear, code is by @hemanthnakkina, PR is by me - might not be best practice to add as a reviewer of own code.

It is not changed from the initial suggestion at this point.

@hemanthnakkina

Copy link
Copy Markdown
Collaborator

@mv-2112 Can you add unit tests if you have time otherwise i will look into this

@mv-2112
mv-2112 force-pushed the lp2167079 branch 3 times, most recently from ccda57a to 33e40b1 Compare September 17, 2026 07:47
@mv-2112

mv-2112 commented Sep 17, 2026

Copy link
Copy Markdown
Author

Apologies, messed a rebase up. Fixed and squashed.

@gboutry gboutry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please rebase on main

The attached comment is rather a nit, but if you can just add a comment in the code so it's not lost, it would be appreciated.

Comment thread sunbeam-python/sunbeam/features/interface/v1/base.py
@gboutry

gboutry commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Looks like this is still conflicting with the base, please rebase. (btw, there's 2 commits in the branch history, not sure that's your goal)

And to mention Hemanth, I think we're in a case where he can be mentioned as Co-Authored-By: Hemanth Nakkina <hemanth.nakkina@canonical.com>, rather than Original Author/Inspiration

And please, add Signed-off-by: <your info> :)

@mv-2112

mv-2112 commented Sep 17, 2026

Copy link
Copy Markdown
Author

Will revisit whats going on here... local branch is up to date with #919 but throwing this conflict. Whatever has changed means i'm finding it difficult to find where the work Hemanth has done fits.

I think Co-Author undersells it - it think its a full blown Authored by.

@mv-2112
mv-2112 force-pushed the lp2167079 branch 3 times, most recently from 7139d80 to f0503cb Compare September 17, 2026 16:52
This is required for Cloudkitty to correctly register its need
for observability to be enabled. Unlike telemetry for example,
observability has two subfeatures, embedded and external that
are both equally valid, but one MUST be provided hence optional
is not a valid way to handle in the current setup.

Authored-By: Hemanth Nakkina <hemanth.nakkina@canonical.com>
Signed-off-by: Matt Verran <verranm76@gmail.com>

@gboutry gboutry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the contribution!

@hemanthnakkina
hemanthnakkina merged commit c1aaf48 into canonical:main Sep 18, 2026
6 checks passed
@mv-2112
mv-2112 deleted the lp2167079 branch September 18, 2026 15:51
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