Page MenuHomeSoftware Heritage

Deploy latest swh.lister 2.7.2
Closed, MigratedEdits Locked

Description

It fixes the incremental sourceforge listing.

Unstuck the eventual tasks about list-sourceforge-incremental (both staging and production)

Event Timeline

ardumont changed the task status from Open to Work in Progress.Mar 15 2022, 2:50 PM
ardumont triaged this task as Normal priority.
ardumont created this task.
ardumont moved this task from Backlog to in-progress on the System administration board.

Deployed on staging.
Tasks got unstuck as well.

New incremental sourceforge listing (on staging [2]) did not get killed after the upgrade.
Production wise [2], the next full sourceforge listing was due april so nothing got changed.
The incremental listing got unstuck as well.

[1] staging:

15:13:34 swh-scheduler@db1:5432=> select * from task where type in ('list-sourceforge-full', 'list-sourceforge-incremental');
+-[ RECORD 1 ]-----+-------------------------------+
| id               | 22782916                      |
| type             | list-sourceforge-full         |
| arguments        | {"args": [], "kwargs": {}}    |
| next_run         | 2022-03-16 13:54:11.279151+00 |
| current_interval | 30 days                       |
| status           | next_run_not_scheduled        |
| policy           | recurring                     |
| retries_left     | 2                             |
| priority         | (null)                        |
+-[ RECORD 2 ]-----+-------------------------------+
| id               | 22783095                      |
| type             | list-sourceforge-incremental  |
| arguments        | {"args": [], "kwargs": {}}    |
| next_run         | 2022-03-15 13:53:59.992681+00 |
| current_interval | 1 day                         |
| status           | next_run_scheduled            |
| policy           | recurring                     |
| retries_left     | 0                             |
| priority         | (null)                        |
+------------------+-------------------------------+

Time: 10.092 ms

[2] production:

14:57:44 softwareheritage-scheduler@belvedere:5432=> select * from task where type in ('list-sourceforge-full', 'list-sourceforge-incremental');
+-[ RECORD 1 ]-----+-------------------------------+
| id               | 381572107                     |
| type             | list-sourceforge-full         |
| arguments        | {"args": [], "kwargs": {}}    |
| next_run         | 2022-04-14 18:40:40.867852+00 |
| current_interval | 90 days                       |
| status           | next_run_not_scheduled        |
| policy           | recurring                     |
| retries_left     | 0                             |
| priority         | (null)                        |
+-[ RECORD 2 ]-----+-------------------------------+
| id               | 381572406                     |
| type             | list-sourceforge-incremental  |
| arguments        | {"args": [], "kwargs": {}}    |
| next_run         | 2022-03-15 13:57:39.486694+00 |
| current_interval | 1 day                         |
| status           | next_run_scheduled            |
| policy           | recurring                     |
| retries_left     | 0                             |
| priority         | (null)                        |
+------------------+-------------------------------+

Time: 7.909 ms