~hyask/autopkgtest-cloud:skia/browse_exception_handler

Last commit made on 2024-02-23
Get this branch:
git clone -b skia/browse_exception_handler https://git.launchpad.net/~hyask/autopkgtest-cloud
Only Skia can upload to this branch. If you are Skia please log in for upload directions.

Branch merges

Branch information

Name:
skia/browse_exception_handler
Repository:
lp:~hyask/autopkgtest-cloud

Recent commits

9661902... by Skia

feat: web: throw an error when no running.json file

With the exception handler added previously, this enables a clear error
message visible to the users, showing the infrastructure issue, instead
of defaulting to an empty list that could be confusing if users expect
to find something there.

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
0b538d5... by Skia

feat: web: add a generic exception handler in browse.cgi

This handler will catch all exceptions that are thrown in any part of
the app code, and renders a well-defined template instead of letting a
poor default crash page.
This allows better communication for users facing issues, along with a
way for them to contact us.

658e9b2... by Skia

Merge branch 'skia/package_show_queued_jobs'

https://code.launchpad.net/~hyask/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/461122

7d3410b... by Skia

feat: web: browse: display queued tests on /package page

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
96f1d6a... by Skia

feat: web: helpers: add more test data for local dev, and include all possible autopkgtest exit codes

c7a2fa2... by Skia

refactor: web: browse: simplify /running page's Jinja context

This refactoring brings multiple improvements:
  * the `queue_info` variable actually contains multiple queues, thus the renaming to `queues_info`
  * the `context` variable was actually a duplicate of the `queues_info.keys()` content
  * put the display of `queues_info` in a macro for future reuse

3490210... by Skia

feat: web: template: improve the display of running tests in various pages

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
dfc0d8e... by Skia

feat: web: add a second dummy running test for 'hello'

0bcf32f... by Skia

Merge branch 'skia/ease_browse_dev'

https://code.launchpad.net/~hyask/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/461027

0668314... by Skia

feat: ease by far the local development of browse.cgi

This commit bring two main things tied together:
  - the helpers/tests.py, with functions helping populating databases
and cache files with dummy data
  - the browse-test.py file, which is able to run the Flask app in
standalone debug mode, for easy local development, and leverages the
dummy data from the helpers/tests.py file.

All of that is also documented in a new README.md file that has the
necessary dependencies and instructions on how to run the app locally.

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results