RhodeCode Admin
f051e2a56e
statsd: better task execution reporting on celery
2023-02-08 21:39:12 +01:00
RhodeCode Admin
f8543e9441
celery: always count tasks even if they fail
2023-02-08 14:01:03 +01:00
RhodeCode Admin
bc9d34cbec
config: reduce max-task-per-child to 20
2023-02-08 12:20:01 +01:00
RhodeCode Admin
a831986529
celery: fixed bootstrap of beat workers
2023-02-07 11:13:08 +01:00
RhodeCode Admin
84412730da
vcs: added headers into stream call too
2023-02-03 10:35:08 +01:00
RhodeCode Admin
455020bf4a
vcs-client: report more data about the call for better request tracking
2023-02-02 23:47:08 +01:00
RhodeCode Admin
7a2bd60f22
statsd: use safe mode and disable statsd if we can't connect
2023-02-02 10:01:32 +01:00
RhodeCode Admin
159c758565
auth-plugins: remove the in-object cache that cauused invalidation failures.
...
We use now proper dogepile cache which gets purged on settings change.
2023-02-02 09:42:19 +01:00
RhodeCode Admin
83e86c7943
small naming fixes
2023-02-02 09:41:40 +01:00
RhodeCode Admin
753c195eaf
utils: by default use OS implemented pick port which is WAAAY faster, leave fallback if we need specific range.
2023-02-01 21:49:53 +01:00
RhodeCode Admin
13a872fd35
utils: catch error: [Errno 98] Address already in use errors
2023-02-01 21:35:47 +01:00
RhodeCode Admin
8be47ab771
celery: allow JSON task data to be sent
2023-02-01 13:58:28 +01:00
RhodeCode Admin
f881540968
celery: bumped to 4.4.7 and fixed loader logic/logging
2023-02-01 13:33:15 +01:00
RhodeCode Admin
2d75c988c1
testing: added webhook tests and fixed tags adding
2023-02-01 12:06:16 +01:00
RhodeCode Admin
137f5001fb
celery: update how reqquest object is passed arround.
...
- fixed hooks callback to actually use web based request passed to thread
- rely on celery conf mechanism to pass in the request always in the same manner
2023-01-31 23:33:33 +01:00
RhodeCode Admin
49ad8de0a4
bootstrap-request: inject fake user so ishell and other can actually execute tasks or some other web-related calls
2023-01-31 22:04:26 +01:00
RhodeCode Admin
5c25db9c0c
celery: fail with exception if bootstrap is failed
2023-01-31 21:57:02 +01:00
RhodeCode Admin
61a728836a
celery: don't allow subtasks within tasks
2023-01-31 21:46:38 +01:00
RhodeCode Admin
8c54271b59
hooks: fixed tests
2023-02-01 13:29:39 +01:00
RhodeCode Admin
f4336fe56e
requests: cleaned / unified way of handling requests generation from non-web scope.
...
- cli
- celery workers
2023-01-31 20:31:36 +01:00
RhodeCode Admin
5b6732fae5
code: small fixes/whitespace/logging
2023-01-31 15:00:19 +01:00
RhodeCode Admin
82c7d91c36
debug: logging fix with reduced redundant info
2023-01-31 11:32:19 +01:00
RhodeCode Admin
4301d10342
debug: add example of calling context
2023-01-31 11:22:30 +01:00
RhodeCode Admin
67b6d065b8
repos: only flush permissions for owner on creation. The repo creation task flushes ALL and can be done async
2023-01-31 11:22:10 +01:00
RhodeCode Admin
a672643796
celery: improve errors handling and logging
2023-01-31 10:07:10 +01:00
RhodeCode Admin
07bf79ea48
tasks: improve logging on failed tasks
2023-01-31 09:26:54 +01:00
RhodeCode Admin
01c3bcde81
pick_port: unified code for testing/hooks
2023-01-31 08:55:12 +01:00
RhodeCode Admin
9665def3bd
error-reporting: fix setting call_context on dummy-request available in sentry
2023-01-31 08:54:26 +01:00
RhodeCode Admin
7b4a8e1ac5
tests: make port picker more robust for tests
2023-01-30 21:35:26 +01:00
RhodeCode Admin
3af19c39da
tests: fixed random fail of flacky test
2023-01-30 15:24:14 +01:00
RhodeCode Admin
1b54ca50f7
audit-logs: improve user-agent normalizer, and added tests
2023-01-23 10:46:20 +01:00
RhodeCode Admin
f7e8f47972
logging: set logging autoconfigure default to False so it's not a breaking change
2023-01-23 10:45:56 +01:00
RhodeCode Admin
8c02834af4
hooks: reserver only high-ports to limit possibility of hitting port from rhodecode stack
2023-01-21 21:30:32 +01:00
RhodeCode Admin
16ca79921f
hooks: allow to bind to existing hostname automatically if nothing explicitly is set.
2023-01-21 14:47:59 +01:00
RhodeCode Admin
c691bf8c9a
statsd/audit-logs: cleanup push/pull user agent code.
...
- add normalization
- add user-agent tag into statsd call so we can track protocol/vcs type usage
- internal merge also sends in repo type
2023-01-21 14:38:37 +01:00
RhodeCode Admin
59792e6457
premailer: replace logger instead of altering handlers.
...
Initial logger posted to stderr poluting output and tests
2023-01-21 14:34:46 +01:00
RhodeCode Admin
f56bc796ad
hooks: simplified code
2023-01-20 13:19:04 +01:00
RhodeCode Admin
74efadbc57
hooks: generate bind port before init of TcpServer for better logging.
2023-01-20 12:44:26 +01:00
RhodeCode Admin
b19bdaa108
hooks: fix logging info on callback daemon
2023-01-20 11:54:27 +01:00
RhodeCode Admin
72d370c14e
cache-keys: fix inifinite look of using atexit with signals.
...
This prevented a grafecull shutdown of gunicorn workers.
2023-01-18 22:11:31 +01:00
RhodeCode Admin
d300144665
repos: cleannup and fix landing-ref code.
...
with latest git update this exposed a bug when we allowed to set references like tip for git repos
now the defaults are loaded from a single place controlled by default branch for git.
Repos without master are now working just fine with new git and new logic.
2023-01-18 22:10:40 +01:00
RhodeCode Admin
ca160683bf
ops: make ping view return orderedDict, and make the platform-id expose variables
2023-01-16 12:42:31 +01:00
RhodeCode Admin
a664610f98
caches: log properly how we cleanup cache keys
2023-01-16 12:42:02 +01:00
RhodeCode Admin
b2ee30b85a
caches: make a set copy to edit it during operation
2023-01-15 21:23:20 +01:00
RhodeCode Admin
c07d61211b
caches: pass synchronize session to cleanup cache_keys to fix some errors
2023-01-15 10:01:07 +01:00
RhodeCode Admin
d8be76e7ab
cache_keys: fix prefix deletion
2023-01-14 20:16:58 +01:00
RhodeCode Admin
fbadb2be0b
caches: don't clear all cache keys on exit as we lost state for not-recycled workers
2023-01-13 21:44:59 +01:00
RhodeCode Admin
3535beb1a7
caches: use a better logic to clear cache keys
2023-01-13 07:43:17 +01:00
RhodeCode Admin
463905a689
logging: expose logs when not mapped repo is found
2023-01-12 21:50:56 +01:00
RhodeCode Admin
7908e6921a
routing: improve bad character detection on repo names
2023-01-12 21:24:59 +01:00