Skip to content

feat(items): add SnowflakeDatabase item type - #85

Draft
ayeshurun with Copilot wants to merge 11 commits into
mainfrom
copilot/add-support-for-snowflake-database
Draft

feat(items): add SnowflakeDatabase item type#85
ayeshurun with Copilot wants to merge 11 commits into
mainfrom
copilot/add-support-for-snowflake-database

Conversation

Copilot AI commented Mar 23, 2026

Copy link
Copy Markdown

📥 Pull Request

✨ Description of new changes

Onboards SnowflakeDatabase as a basic item type (no definition support, no creation params, no OneLake folders, no jobs).

Source changes (src/fabric_cli/core/fab_types.py, fab_item.py):

  • SNOWFLAKE_DATABASE = "SnowflakeDatabase" enum member
  • format_mapping"snowflakeDatabases" (REST API URI segment)
  • uri_mapping"snowflakedatabases" (portal slug)
  • Added to standard multi-case match in get_payload()

Test changes (tests/test_commands/conftest.py):

  • Added to ALL_ITEM_TYPES, basic_item_parametrize, set_item_metadata_for_all_types_success_item_params
  • 14 VCR cassettes for cd, ls, exists, get, mkdir, rm, set test coverage

Docs & changelog:

  • .SnowflakeDatabase row in resource_types.md
  • Changelog entry in .changes/unreleased/

If definition/export/import/mv/cp or job support is needed, that can be layered on in a follow-up.

ayeshurun and others added 6 commits March 17, 2026 12:14
This script benchmarks the startup performance of the CLI by measuring module import times, CLI invocation times, and heavy dependency loading. It allows comparisons against a baseline branch or tag.
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ayeshurun/fabric-cli/sessions/290ca02a-d9de-41e4-b0fa-ee3f5a55d316
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