Skip to content

chore: add Cloud Agent development environment config - #35

Draft
Abhishek Patil (abhishek-pattern) wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-4f6c
Draft

chore: add Cloud Agent development environment config#35
Abhishek Patil (abhishek-pattern) wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-4f6c

Conversation

@abhishek-pattern

Copy link
Copy Markdown
Contributor

Summary

Adds a .cursor/environment.json so Cloud Agents get a working development environment for ds-platform-utils out of the box.

The project is a Python library managed with uv (Python 3.10, pinned via .python-version). The environment config installs uv and runs uv sync to create the virtualenv from uv.lock, matching the CI workflow (astral-sh/setup-uv + uv).

{
  "name": "ds-platform-utils",
  "install": "curl -LsSf https://astral.sh/uv/install.sh | sh && \"$HOME/.local/bin/uv\" sync"
}

No start/terminals are needed — this is a library, not a long-running service.

Validation (on this VM)

Check Result
uv sync (Python 3.10.21) Passed
Install idempotence Passed (re-ran with no changes)
uv run poe test 91 passed; 6 failed + 7 errored — all require live Snowflake/Outerbounds credentials (external service), which CI supplies via OIDC
SKIP=no-commit-to-branch uv run poe lint All ruff/pre-commit hooks passed
uv build --wheel Built ds_platform_utils-0.6.1-py2.py3-none-any.whl
import ds_platform_utils + submodules Passed

The remaining test failures are not environment issues: they call get_snowflake_connection(...) which needs OBP_INTEGRATIONS_URL / Outerbounds service-principal auth. CI provides these via outerbounds service-principal-configure --github-actions.

Open in Web Open in Cursor 

Co-authored-by: Abhishek Patil <abhishek-pattern@users.noreply.github.com>
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