https://forge.softwareheritage.org/source/swh-scheduler.git

sort by:
Revision Author Date Message Commit Date
9896f0f New upstream version 0.0.69 17 December 2019, 15:04:47 UTC
cc2de16 tests: Try to avoid fixture redefinition Somehow, that messes other tests in the debian build. 17 December 2019, 14:57:33 UTC
a901970 New upstream version 0.0.68 17 December 2019, 14:33:32 UTC
73ade78 tests: Avoid fixture clash in different purposes fixture Somehow, that fails in the debian build 17 December 2019, 14:27:50 UTC
652b583 New upstream version 0.0.67 17 December 2019, 13:38:02 UTC
e9d8a5f scheduler.backend: Rename appropriately module elasticsearch_memory 17 December 2019, 12:33:43 UTC
2cbfb78 Add tests to in memory elasticsearch implementation 17 December 2019, 12:33:43 UTC
ba5920d backend_es: Add tests around elasticsearch client instantiation 17 December 2019, 12:33:43 UTC
38d17de tests/common: Remove uneeded behavior 17 December 2019, 12:33:43 UTC
ac32b5e backend: Add alternate memory elasticsearch implem to allow testing 17 December 2019, 12:33:43 UTC
7b1c2d5 scheduler.backend_es: Allow using different elasticsearch clients For the moment, only 1 official es client exists 17 December 2019, 12:33:43 UTC
ec207fb scheduler.backend: Make the returned result a dict 17 December 2019, 12:33:42 UTC
f97bff6 cli.task: Make page_token actually a string even from the cli That actually make it consistent with the api 17 December 2019, 12:33:42 UTC
d8859d7 backend_es: Add initialization endpoint 17 December 2019, 12:33:42 UTC
d5cea20 backend_es: Remove unused endpoint 17 December 2019, 12:33:42 UTC
18df124 cli.tasks: Unify logging instruction 17 December 2019, 12:33:42 UTC
c5e189b test: Allow status definition during task template generation 17 December 2019, 12:33:42 UTC
844f3e0 tests.scheduler: Extract common utility function and test it 17 December 2019, 12:33:42 UTC
2d56669 scheduler.cli.task: Rename appropriately backend variable 17 December 2019, 12:33:42 UTC
793c233 scheduler.backend_es: Rename backend class appropriately 17 December 2019, 12:33:42 UTC
d5bf6b1 cli.task: Rename internal method appropriately 17 December 2019, 12:33:42 UTC
eb1c3d3 backend_es: Use consistent logging instruction 17 December 2019, 12:33:42 UTC
b376eb9 backend_es: Enclose close instruction within finally 17 December 2019, 12:33:42 UTC
f6726e9 backend_es: Create index when it does not exist 17 December 2019, 12:33:41 UTC
ad54c6b backend_es: Open indices prior to indexing method calls 17 December 2019, 12:33:41 UTC
305422b cli.task: Tasks needs to be sorted prior to group by call 17 December 2019, 12:33:41 UTC
d603608 cli.task: Use the configuration provided by the cli 17 December 2019, 12:33:41 UTC
32b5d68 New upstream version 0.0.66 17 December 2019, 11:08:24 UTC
e0dd669 Initialize Sentry on worker startup. 16 December 2019, 17:55:11 UTC
f1b3f49 Print a traceback in case a signal callback crashes. Celery silently eats errors happening in these functions. 16 December 2019, 17:54:54 UTC
dbd4a2f backend: Align paginated endpoint consistently with others 16 December 2019, 15:34:27 UTC
3ab0348 backend: Filter properly archive within the defined range Prior to this commit, we could list tasks whose started date was null. Now we fallback on the scheduled task which is the next best date we have. 14 December 2019, 13:25:17 UTC
080db58 test_scheduler: Add some more check on filtering test 13 December 2019, 15:34:08 UTC
b8b171d backend: Make filter_task_to_archive a paginated endpoint Related to T1931 13 December 2019, 14:08:20 UTC
2b93efb tox: Add ipdb dependency on py3-dev env 13 December 2019, 14:08:10 UTC
25f03c2 New upstream version 0.0.65 13 December 2019, 10:54:30 UTC
ee162fe Use a btree of (task_type, md5(arguments)) to match task arguments The former index on hash(arguments->'args') has lost relevance as about half the tasks (the ones for the loader) have the same value (an empty list) for this field. This index is more universal, faster, and also easier to convince the planner of using. If we want more specific indexes (e.g. on specific keyword arguments) we'll be able to add that separately. 13 December 2019, 10:32:33 UTC
0b04220 Remove the creation of the 'load-deposit' task type it's now managed by swh-loader-core directly. 12 December 2019, 16:37:39 UTC
4071d71 Make --status option of 'swh scheduler task list' a click.Choice 12 December 2019, 11:27:13 UTC
a18f562 celery: add 2 statsd probes for the runner and listener - runner: counting the number of scheduled tasks, - listener: counting the number of processed events. 04 December 2019, 15:36:19 UTC
f206076 celery: make SWHTask send start/end of execution statsd gauges with timestamps Closes T2119. 04 December 2019, 09:28:26 UTC
08243bb tests: fix celery_task's test_multiping kwargs were not passed correctly. Also add a test_ping_with_kw test. 04 December 2019, 09:25:05 UTC
8c1e051 scheduler.updater: Remove dead code 26 November 2019, 11:29:47 UTC
95940a8 Migrate tox.ini to extras = xxx instead of deps = .[testing] 21 November 2019, 12:57:25 UTC
7c40132 Merge tox test environment configurations 21 November 2019, 12:54:47 UTC
101a131 Add a pre-commit config file 21 November 2019, 12:50:21 UTC
104fee0 Drop version constraint on pytest < 4 21 November 2019, 11:04:54 UTC
56e4a12 Include all requirements in MANIFEST.in 20 November 2019, 18:56:38 UTC
64b771c New upstream version 0.0.64 20 November 2019, 13:29:36 UTC
c973ec0 req-swh*: Remove old package loader backend names Related to T1389 T2098 Related to D2306 D2305 D2304 19 November 2019, 14:12:27 UTC
4cb289c New upstream version 0.0.63 19 November 2019, 13:14:58 UTC
9358572 swh.scheduler.cli: Add `swh scheduler task-type register` cli This allos registering of worker's task types to the scheduler through setuptools' mechanism. 19 November 2019, 11:11:33 UTC
8ec34fe Remove collect_ignore from conftest.py This got solved when we started using the shared_task decorator instead of instantiating our own app. 23 October 2019, 08:40:42 UTC
4df2406 Use the shared_task decorator instead of binding to a specific celery app 23 October 2019, 08:32:26 UTC
ecf38eb celery/tests: mostly revert e770eb30 to fix celery app initialization in tests This revision did fix tests for the scheduler itself, but broke all other tests of scheduler dependent swh packages. In this fix, we ensure we override the `app` in swh.scheduler.celery_backend.config, since it is used by all celery task declarations (via the @app.task() decorator). 18 October 2019, 14:37:28 UTC
9485932 New upstream version 0.0.62 18 October 2019, 11:46:25 UTC
787c7a9 celery_backend.config: Make JournalHandler import optional swh-core no longer comes with JournalHandler by default. 18 October 2019, 11:33:25 UTC
c2a020d tests: rewrite tests using pytest and the new rpc fixtures from swh.core 16 October 2019, 11:20:42 UTC
a7e15bf add a new get_priority_ratios endpoint to the scheduler this is necessary to make it much easier to write tests so they do not need to execute SQL statements, which makes possible to run exactly the same tests with the SchedulerBackend as the RemoteScheduler one (see the following revision). 16 October 2019, 11:20:42 UTC
c2ccf46 updater/tests: rewrite updater's tests as pytest functions The way the scheduler_db and updater_db fixtures are built is not very straighforward nor satisfying, but it works. 16 October 2019, 11:20:42 UTC
37b909e conftest: simplify the swh_scheduler() fixture simply use the postgresql.dsn as connection string. 16 October 2019, 08:42:04 UTC
e770eb3 tests: Explicit registering test tasks step for the swh_app Prior to this commit, the celery "app" import changed. Making the runtime application load prior to the tests "swh_app". In effect, making the tasks not being consumed by workers. This explicitely forces the tests tasks registering to "swh_app". In effect clarifying code and fixing the current tests. Related D2082 Related 8eafc70 10 October 2019, 13:26:54 UTC
349d23e scheduler: Use directly the package's server module to start server Related D2109 Related D2110 10 October 2019, 10:05:38 UTC
8eafc70 tox.ini: Use tests installed files instead of working directory Related D2082 10 October 2019, 09:51:27 UTC
7f9b26f New upstream version 0.0.61 07 October 2019, 14:37:36 UTC
5955c8d celery_backend/config: Fix wrong statement Dict's get method does not take keyword argument. Related D2033#47672 02 October 2019, 04:56:13 UTC
2984a95 New upstream version 0.0.60 01 October 2019, 11:22:42 UTC
06137f0 tox: anticipate mypy run to just after flake8 01 October 2019, 11:08:23 UTC
c78b846 init.py: switch to documented way of extending path make mypy 0.730 pass cleanly again 27 September 2019, 08:38:31 UTC
1a691b5 tox.ini: add mypy section 24 September 2019, 11:55:04 UTC
c4fa353 typing: minimal changes to make a no-op mypy run pass 24 September 2019, 11:44:50 UTC
3cd5697 fix typo in docstring and sample file name courtesy of codespell 24 September 2019, 11:42:23 UTC
0a4fd7a admin CLI: drop obsolete backward compatibility aliases These have been around for a while and are no longer advertised in the --help output. 17 September 2019, 15:51:03 UTC
6a054b9 click "required" param wants bool, not int courtesy of mypy 16 September 2019, 15:13:55 UTC
fcf8e5f New upstream version 0.0.59 04 September 2019, 14:11:47 UTC
a64ac3f sql: stop inserting lister tasks at scheduler's creation time This is now the job of the swh-lister to ensure task-type entries are created in the scheduler (in swh-lister >= 0.0.34). 04 September 2019, 13:53:19 UTC
bf51443 New upstream version 0.0.58 03 September 2019, 08:28:18 UTC
9c2b329 50-swh-data: Add load-tar task-type This is needed to be in sync with the docker-dev environment. 03 September 2019, 08:18:30 UTC
c3fae15 celery: auto add tasks declared in the swh.workers entry point in task_modules allows to declare worker tasks in a 'swh.workers' entry point. This later is expected to be a callable which returns a dict which 'task_modules' key is a list of python module names where celery tasks are defined. 02 September 2019, 11:33:28 UTC
e1b216d api/client: use RPCClient instead of deprecated SWHRemoteAPI 23 July 2019, 12:38:29 UTC
a43b3c7 Make schedule_origins use origin urls instead of ids in task arguments. 19 July 2019, 14:35:25 UTC
cc1b590 add code of conduct document 11 July 2019, 14:29:50 UTC
f63274a docs: very beginning of a practical documentation on the scheduler 10 July 2019, 14:01:37 UTC
9b7407f updater: small refactoring to please codespell 10 July 2019, 13:58:47 UTC
92b81f3 Add a pre-commit config file 10 July 2019, 13:52:26 UTC
2044c07 data: Insert new cgit instance lister task Related T1835 28 June 2019, 15:52:57 UTC
09d9c84 CONTRIBUTORS: add Ishan Bhanuka 28 June 2019, 07:42:00 UTC
0ee2895 New upstream version 0.0.57 26 June 2019, 13:05:18 UTC
09e7245 Added comments to few columns in dbversion, task and task_run Change double quoted comments to single quoted comments To keep consistent comment format and to prevent syntax exception on jenkins build Make changes as per review Made changes as per review 19 June 2019, 16:13:09 UTC
237e8c5 cli: rename a admin cli commands use more imperative-like command names. Aliases are used to keep old commands working. Also add an explicit deprecation message in swh-scheduler's help message. 13 June 2019, 07:29:09 UTC
da77f89 50-swh-data: Update new lister task types Related T1797 12 June 2019, 13:22:32 UTC
46223d8 scheduler.cli.task: Fix wrong import 24 May 2019, 10:21:43 UTC
aa70df4 Drop backward compatible names The migration is now done. No longer needs this adaptation code. Related T1508 24 May 2019, 08:11:37 UTC
63eeabf data: Add missing swh-vault-batch-cooking/cook-vault-bundle-type Related T1508 23 May 2019, 11:27:41 UTC
766dae9 50-swh-data: Fix inverted select/insert in backward sql function Prior to this, the select wanted to retrieve the new name to insert the old one Ending up doing a noop. Related T1508 23 May 2019, 11:23:28 UTC
d6fce0d swh-scheduler: Use new task names Related T1508 21 May 2019, 11:34:25 UTC
d6dc50f tests: update to swh.core 0.0.61 in which (db|api)_testing.py files moved. 17 May 2019, 15:09:41 UTC
52f8c06 Update import of swh.core.api.tests.server_testing. 17 May 2019, 11:32:20 UTC
45aa02c cli: Fix swh-scheduler command (missing log_level in context) 15 May 2019, 11:57:22 UTC
c20005a New upstream version 0.0.56 14 May 2019, 12:40:08 UTC
back to top