Skip to content

fix: flapi_delete_endpoint removes the endpoint YAML; remove test files committed in #177 - #178

Merged
jrosskopf merged 1 commit into
mainfrom
fix/gh-155-delete-removes-yaml
Oct 2, 2026
Merged

jrosskopf merged 1 commit into
mainfrom
fix/gh-155-delete-removes-yaml

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fixes main: fix: flapi_create_endpoint persists the endpoint and accepts a template (#155) #177 accidentally committed test/integration/api_configuration/sqls/workflow_tmp-.{yaml,sql} (left by a local test run after create started persisting). The tracked YAML makes test_mcp_config_workflow fail with 'Endpoint already exists'. Removed and git-ignored.
  • flapi_delete_endpoint now removes the endpoint's YAML (inside the templates dir only; SQL kept), so a deleted endpoint does not return after a restart.

Test plan

  • test_mcp_create_endpoint.py 7/7 (new: delete + restart + recreate)
  • test_mcp_config_workflow.py run twice in a row on a reused config dir: 17/17 both times

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…tion committed in #177 (#155)

- Delete persists: removes the endpoint's YAML (inside the templates dir only), keeps the SQL
- Remove workflow_tmp-.{yaml,sql} that #177 committed by accident; ignore their regeneration
  (the tracked YAML made test_mcp_config_workflow fail with 'Endpoint already exists')
- Test: created-then-deleted endpoint is gone after a restart
@jrosskopf
jrosskopf merged commit b197720 into main Oct 2, 2026
23 checks passed
@jrosskopf
jrosskopf deleted the fix/gh-155-delete-removes-yaml branch October 2, 2026 12:15
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