Skip to content

feat: generate sandstone charm#769

Open
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-sandstone-charm
Open

feat: generate sandstone charm#769
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-sandstone-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 14, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new sandstone storage backend implementation to Sunbeam and integrates it into the unit test suite so it participates in the shared backend interface/uniqueness checks.

Changes:

  • Introduce SandstoneBackend + SandstoneConfig under sunbeam.storage.backends.sandstone.
  • Register the new backend in test fixtures and common backend uniqueness/expectation tests.
  • Add backend-specific unit tests for the sandstone backend and its config validation.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/sandstone/backend.py Adds the Sandstone backend class and its Pydantic config model.
sunbeam-python/sunbeam/storage/backends/sandstone/__init__.py Introduces the sandstone backend package.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds a sandstone_backend fixture and includes sandstone in the parametrized any_backend fixture.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Extends shared “unique types/charm names” and expected-values tests to include sandstone.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_sandstone.py Adds backend-specific tests for sandstone metadata and protocol validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/sunbeam/storage/backends/sandstone/backend.py
# Optional backend configuration
default_sandstone_target_ips: Annotated[
str | None,
Field(description="SandStone default target ip."),
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Assisted-by: Claude sonnet 4.6

Comment thread sunbeam-python/sunbeam/storage/backends/sandstone/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/sandstone/backend.py Outdated
Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_sandstone.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/sandstone/__init__.py Outdated
Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Outdated
@ahmad-can ahmad-can force-pushed the feature/generate-sandstone-charm branch from a0960a8 to a113a12 Compare April 21, 2026 11:12
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.

2 participants