Skip to content

BUG: Tweak readonly layer handling for migrations #3313

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 8 commits into from
Aug 28, 2023
Merged

Conversation

invisig0th
Copy link
Contributor

No description provided.

Copy link
Contributor

@Cisphyx Cisphyx left a comment

Choose a reason for hiding this comment

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

I think Layer.saveNodeEdits and Layer.storNodeEditsNoLift need readonly checks as well as there are some layer syncing/admin APIs which use those.

@invisig0th
Copy link
Contributor Author

I think Layer.saveNodeEdits and Layer.storNodeEditsNoLift need readonly checks as well as there are some layer syncing/admin APIs which use those.

Yep, they were already using it i think?

@Cisphyx
Copy link
Contributor

Cisphyx commented Aug 28, 2023

I think Layer.saveNodeEdits and Layer.storNodeEditsNoLift need readonly checks as well as there are some layer syncing/admin APIs which use those.

Yep, they were already using it i think?

Ah yep nevermind, they already are, apparently I was looking at the wrong thing.

@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Patch coverage: 96.22% and project coverage change: -0.11% ⚠️

Comparison is base (ac1eec0) 97.28% compared to head (82e0a97) 97.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3313      +/-   ##
==========================================
- Coverage   97.28%   97.18%   -0.11%     
==========================================
  Files         228      228              
  Lines       45863    45878      +15     
==========================================
- Hits        44620    44587      -33     
- Misses       1243     1291      +48     
Flag Coverage Δ
linux 97.18% <96.22%> (-0.01%) ⬇️
linux_replay ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
synapse/lib/modelrev.py 98.23% <92.59%> (-0.01%) ⬇️
synapse/cortex.py 96.99% <100.00%> (-0.49%) ⬇️
synapse/lib/layer.py 96.72% <100.00%> (-0.11%) ⬇️

... and 8 files with indirect coverage changes

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

@vEpiphyte vEpiphyte added this to the v2.14x.x milestone Aug 28, 2023
@vEpiphyte vEpiphyte added bug reqChangelog requires changelog labels Aug 28, 2023
@invisig0th invisig0th merged commit 63782e8 into master Aug 28, 2023
@invisig0th invisig0th deleted the bug-layr-romigr branch August 28, 2023 20:10
@vEpiphyte vEpiphyte removed the reqChangelog requires changelog label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants