Skip to content

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Nov 29, 2021

Signed-off-by: Alexander Matyushentsev AMatyushentsev@gmail.com

The PR is an attempt to resolve #7801 . I've wasted a couple of days trying to find bug in Argo CD code but no luck. Another option is that cached enforce of casbin itself has a bug.

The PR upgrades casbin to most recent stable version which introduce 8 fixes for cached informer https://github.com/casbin/casbin/commits/master/enforcer_cached.go . I suggest merging this PR, test next release candidate another week and either close #7801 or rollback both casbin upgrade and caching changes.

@alexmt alexmt force-pushed the 7801-upgrade-casbin branch from 756d68e to 05192c6 Compare November 30, 2021 02:47
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@alexmt alexmt force-pushed the 7801-upgrade-casbin branch from 05192c6 to 6de14e3 Compare November 30, 2021 02:50
@codecov
Copy link

codecov bot commented Nov 30, 2021

Codecov Report

Merging #7802 (6de14e3) into master (0f2f9a9) will increase coverage by 0.00%.
The diff coverage is 87.50%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7802   +/-   ##
=======================================
  Coverage   41.44%   41.45%           
=======================================
  Files         169      169           
  Lines       22239    22243    +4     
=======================================
+ Hits         9218     9220    +2     
- Misses      11703    11704    +1     
- Partials     1318     1319    +1     
Impacted Files Coverage Δ
util/rbac/rbac.go 76.50% <87.50%> (-0.55%) ⬇️
util/settings/settings.go 46.83% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f2f9a9...6de14e3. Read the comment docs.

Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

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

LGTM

@alexmt alexmt merged commit d89c708 into argoproj:master Nov 30, 2021
@alexmt alexmt deleted the 7801-upgrade-casbin branch November 30, 2021 18:51
alexmt pushed a commit that referenced this pull request Nov 30, 2021
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stale RBAC checks
3 participants