Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Synapse (already published) #111

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Conversation

amandahla
Copy link
Collaborator

@amandahla amandahla commented Nov 24, 2023

Overview

This PR changes the ROCK image to install Synapse version 1.96.1. Also, since SBOM is not available for ROCKs yet, it creates a file rust-version to make it possible check the Rust version installed at the time of the image creation.

Rationale

Upgrade Synapse.

Juju Events Changes

N/A

Module Changes

N/A

Library Changes

N/A

Checklist

@amandahla amandahla requested a review from a team as a code owner November 24, 2023 14:50
@amandahla amandahla marked this pull request as draft November 24, 2023 14:51
@amandahla amandahla changed the title WIP - Upgrade Synapse Upgrade Synapse (already published) Nov 28, 2023
@amandahla amandahla marked this pull request as ready for review November 28, 2023 13:27
Copy link
Contributor

Test coverage for 1e13c04

Name                            Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------------------
src/actions/__init__.py             3      0      0      0   100%
src/actions/register_user.py       22      0      2      0   100%
src/actions/reset_instance.py      21      0      2      0   100%
src/charm.py                      200     10     38      5    94%   123-124, 139-140, 184-185, 204-205, 246, 260
src/charm_state.py                 65      1     12      1    97%   144
src/charm_types.py                 11      0      0      0   100%
src/database_client.py             53      1     10      3    94%   35, 47->exit, 69->exit
src/database_observer.py           54      4      6      0    93%   70-72, 88
src/exceptions.py                   4      0      0      0   100%
src/mjolnir.py                     76      8     20      2    88%   60-64, 73, 93-96
src/observability.py                9      0      0      0   100%
src/pebble.py                      79      9      8      2    87%   90-91, 93, 113-118
src/saml_observer.py               45      1      8      0    98%   64
src/synapse/__init__.py             3      0      0      0   100%
src/synapse/api.py                161      2     22      2    98%   207, 376
src/synapse/workload.py           209      6     34      6    95%   341->exit, 384-385, 401, 450->453, 499, 501, 506
src/user.py                        24      0      4      0   100%
---------------------------------------------------------------------------
TOTAL                            1039     42    166     21    95%

Static code analysis report

Run started:2023-11-28 13:29:42.456805

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 5381
  Total lines skipped (#nosec): 4
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@amandahla amandahla merged commit 7defdb4 into main Nov 28, 2023
20 checks passed
@amandahla amandahla deleted the ISD-1357-synapse-upgrade-synapse branch November 28, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants