StackStorm / StackStorm/st2

BUG: Rules that are renamed/removed not removed on reload

Open
#924 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

I ended up changing the namespace for my CI/CD workflow... from a url of cicd/github/events to cicd/events. On a reload however, the old endpoint is still registered.

Should this be removed, as it is no longer a defined endpoint? It is what I would expect to happen.

10_20_30_2_3000___rules_548a2a07dc837b438b07d8dd_general

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Reproduce a reload after changing a rule namespace from cicd/github/events to cicd/events, then trace how rule endpoints are registered during reload. Done means the old endpoint is removed while the renamed endpoint remains registered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.