Skip to content

Do not remove nested_refs when updating another ref #1061

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

Merged
merged 2 commits into from
Jun 11, 2025
Merged

Conversation

philippjfr
Copy link
Member

Internally refs are resolved by watchers. Whenever a ref is updated we currently remove all existing ref watchers and then re-add them. Unfortunately there was an oversight which meant that when a ref is updated the existing nested refs are not correctly restored. This fixes this ensuring that we resolve the nested refs correctly.

  • Add test

Copy link

codecov bot commented Jun 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.47%. Comparing base (4c90671) to head (c052e57).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1061      +/-   ##
==========================================
+ Coverage   87.45%   87.47%   +0.02%     
==========================================
  Files           9        9              
  Lines        4959     4959              
==========================================
+ Hits         4337     4338       +1     
+ Misses        622      621       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maximlt maximlt merged commit 9953e7a into main Jun 11, 2025
17 checks passed
@maximlt maximlt deleted the nested_refs_bug branch June 11, 2025 13:31
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.

2 participants