-
Notifications
You must be signed in to change notification settings - Fork 1.3k
block internal system workflows and activities from getting triggered by users #9103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b9622e1 to
58f461a
Compare
feiyang3cat
commented
Jan 21, 2026
c1c6b51 to
059ef1b
Compare
059ef1b to
baf873d
Compare
007b616 to
6757de7
Compare
17ee66a to
2ce1e74
Compare
feiyang3cat
commented
Jan 23, 2026
| } else if !pm.defaultQueueFuture.Ready() { | ||
| } | ||
| if !pm.defaultQueueFuture.Ready() { | ||
| return // not initialized yet |
Contributor
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line is refined without semantic changing for linter issues
1ebda01 to
96e0b4f
Compare
96e0b4f to
a34851c
Compare
Contributor
Author
|
this pr is closed and split into two prs for one workflow and one for activity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changed?
block end users using internal per-ns workers (workflows/activities) , pls note internal sys-ns related are not impacted
strategies:
(1) block by queue names in general-purpose APIs to create workflows, and let the usage of legal dedicated APIs pass
(2) activities and child workflows can be scheduled on internal per-ns queues only if the wrapping workflow runs on this queue
details for workflows:
details for activities:
Why?
enhanced resilience
How did you test it?
Potential risks
side-effects on legal system workflows/activities -> covered by regression testing (either unit or functional)