Skip to content

Commit ad7beb0

Browse files
committed
chore: note known dead code in st2common/BUILD
This should probably be deleted. But for now, we just leave a note about why it is not included in the st2common python_distribution.
1 parent aee14db commit ad7beb0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

st2common/BUILD

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,22 @@ st2_component_python_distribution(
3838
},
3939
},
4040
dependencies=[
41+
# Added gunicorn bug workaround for SyncWorker users in #2571. No known active users. To use:
42+
# `gunicorn -k st2common.util.gunicorn_workers.EventletSyncWorker ...`
43+
# "./st2common/util/gunicorn_workers.py",
44+
#
45+
# Known dead code that should be deleted. Do not add these:
46+
# ./st2common/callback/* (was for the old mistral_v2 runner. see #4038)
47+
# ./st2common/constants/scheduler.py (unused since #4397)
48+
# ./st2common/content/validators.py (unused since #939)
49+
# ./st2common/exceptions/api.py (unused since #1840)
50+
# ./st2common/exceptions/connection.py (unused since #1794)
51+
# ./st2common/exceptions/resultstracker.py (unused since #5011)
52+
# ./st2common/models/api/actionrunner.py (unused since #442)
53+
# ./st2common/models/db/reactor.py (unused since #5922)
54+
# ./st2common/persistence/reactor.py (unused since #5922)
55+
# ./st2common/util/argument_parser.py (never used since added in e9ae7e31e1eb47e49f0fdc414ed6d2b8eccf4748)
56+
# ./st2common/validators/workflow (unused since #5011)
4157
],
4258
# commands helpful in inspecting the dependencies (the "=(...)" is zsh syntax)
4359
# python files under st2common that will not be included in the wheel

0 commit comments

Comments
 (0)