~ines-almeida/launchpad:increase-signing-tests-timeout

Last commit made on 2023-09-26
Get this branch:
git clone -b increase-signing-tests-timeout https://git.launchpad.net/~ines-almeida/launchpad
Only Ines Almeida can upload to this branch. If you are Ines Almeida please log in for upload directions.

Branch merges

Branch information

Name:
increase-signing-tests-timeout
Repository:
lp:~ines-almeida/launchpad

Recent commits

321742e... by Ines Almeida

Add comment about timeout value in sign keys tests

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
4977277... by Ines Almeida

Increase timeout of signing tests from 30 to 45 seconds

Some tests are consistently failing during builds with a timeout error, even though they don't seem stuck - they just might take a few seconds longer. This will help make the builder more stable.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
cd3fe3f... by Guruprasad

Update the description for snaps in the new snap page

Use the description that is currently in https://snapcraft.io/docs.

LP: #2037033

Merged from https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/451926

3e72ace... by Guruprasad

Update the description for snaps in the new snap page

Use the description that is currently in
https://snapcraft.io/docs. Also update the link to the snapcraft
documentation.

LP: #2037033

0b1ca5a... by Colin Watson

Allow commercial admins to read Person.id on the webservice

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/451901

3a0be33... by Colin Watson

Optimize _cleanTeamParticipation

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/451899

0dd8a14... by Colin Watson

Allow commercial admins to read Person.id on the webservice

This will help with https://portal.admin.canonical.com/C158967 ("Migrate
away from email and SSH key cron jobs on loganberry").

efeecea... by Colin Watson

Optimize _cleanTeamParticipation

We did much more work than necessary to update `TeamParticipation` after
removing a member from a team, scanning whole branches of the membership
tree even when we could prove that they cannot possibly contribute to
determining which participations we need to remove. Prune the search
tree more aggressively. In the test case at hand, this takes the time
for the `SELECT` part of this query from on the order of 6-7 seconds to
on the order of 100 milliseconds.

The tests in `lp.registry.tests.test_teammembership` already exercise
quite a number of scenarios here, and this should not change any
observed behaviour other than speed.

LP: #2036865

da35720... by Colin Watson

Restore special datetime handling to sqlbase.quote

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/451890

9ccdbee... by Colin Watson

Restore special datetime handling to sqlbase.quote

I dropped this while dropping `SQLBase` thinking it was no longer
needed, but it seems as though `sqlrepr` drops the microsecond part from
datetimes which breaks some tests, so we still need to deal with that.