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

Refactoring consensus feature #1713

Merged
merged 5 commits into from
Jan 7, 2024
Merged

Conversation

matteosz
Copy link
Contributor

This PR fixes #1374 by removing the consensus feature from the LAO object, using instead a dedicated repository.

@matteosz matteosz self-assigned this Nov 26, 2023
Copy link

Pull reviewers stats

Stats of the last 30 days for popstellar:

User Total reviews Time to review Total comments
pierluca
🥇
2
▀▀▀▀▀
3d 1h 24m
▀▀
4
▀▀▀▀
MariemBaccari
🥈
1
▀▀▀
4d 21h 34m
▀▀▀
0
simone-kalbermatter
🥉
1
▀▀▀
6d 6h 17m
▀▀▀▀
6
▀▀▀▀▀▀

@matteosz matteosz marked this pull request as ready for review November 26, 2023 11:55
@matteosz matteosz requested a review from a team as a code owner November 26, 2023 11:55
Copy link
Contributor

@pierluca pierluca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reviewed a good chunk of it but I can't say much about some parts. Could you also have a look @simone-kalbermatter ? :)

@pierluca pierluca requested a review from a team November 30, 2023 16:35
Copy link

sonarcloud bot commented Dec 2, 2023

[PoP - PoPCHA-Web-Client] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

sonarcloud bot commented Dec 2, 2023

[PoP - Be1-Go] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

sonarcloud bot commented Dec 2, 2023

[PoP - Be2-Scala] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

sonarcloud bot commented Dec 2, 2023

[PoP - Fe2-Android] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

94.9% 94.9% Coverage
0.0% 0.0% Duplication

Copy link

sonarcloud bot commented Dec 2, 2023

[PoP - Fe1-Web] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@pierluca pierluca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally finished the review, minor remarks, otherwise LGTM

Comment on lines 56 to 59
// TODO uncomment that when consensus does not rely on call by reference
// Optional<ElectInstance> optional = lao.getElectInstance(messageId);
// return optional.map(ElectInstance::new); // If empty returns empty optional, if not
// returns optional with copy of retrieved ElectInstance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outdated comment ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is, I'll update it

Copy link

sonarcloud bot commented Jan 6, 2024

Quality Gate Passed Quality Gate passed for 'PoP - PoPCHA-Web-Client'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 6, 2024

Quality Gate Passed Quality Gate passed for 'PoP - Be1-Go'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 6, 2024

Quality Gate Passed Quality Gate passed for 'PoP - Be2-Scala'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 6, 2024

Quality Gate Passed Quality Gate passed for 'PoP - Fe2-Android'

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
94.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jan 6, 2024

Quality Gate Passed Quality Gate passed for 'PoP - Fe1-Web'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@matteosz matteosz requested a review from pierluca January 6, 2024 11:33
@pierluca pierluca merged commit 1350651 into master Jan 7, 2024
18 checks passed
@pierluca pierluca deleted the work-fe2-matteo-consensus-refactoring branch January 7, 2024 19:54
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.

LAO Object handles features that it should not
2 participants