Skip to content

fix: restore Starlark API routes - #463

Draft
kmce2019 wants to merge 7 commits into
ChuckBuilds:mainfrom
kmce2019:fix/starlark-api-routes
Draft

fix: restore Starlark API routes#463
kmce2019 wants to merge 7 commits into
ChuckBuilds:mainfrom
kmce2019:fix/starlark-api-routes

Conversation

@kmce2019

Copy link
Copy Markdown

Summary

  • restore all 13 documented Starlark API routes used by the v3 plugin UI
  • restore standalone web-service helpers for status, app management, repository browsing, uploads, and Pixlet installation
  • add regression tests for route registration, standalone status/list behavior, and path-traversal rejection

Root cause

Commit 1c4d5c52 replaced a large section of web_interface/blueprints/api_v3.py while adding display synchronization. That unintentionally removed the Starlark route handlers even though the UI and REST API documentation continued to reference them.

Impact

The Starlark section can once again call its documented /api/v3/starlark/* endpoints instead of receiving generic 404 responses.

Validation

  • pytest -q test/web_interface/test_starlark_api_routes.py — 4 passed
  • python3 -m py_compile web_interface/blueprints/api_v3.py test/web_interface/test_starlark_api_routes.py
  • git diff --check

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: adbc6c74-295b-4a42-9ce9-b31647edba7b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

1 participant