Skip to content

Conversation

@wvangeit
Copy link
Contributor

@wvangeit wvangeit commented Jul 1, 2025

What do these changes do?

As reported by @matusdrobuliak66, function API access rights were nullable, which should not be the case.

Related issue/s

Fixes #7966

How to test

Try to set function api access right to null.

Dev-ops

@wvangeit wvangeit added this to the Engage milestone Jul 1, 2025
@wvangeit wvangeit self-assigned this Jul 1, 2025
@wvangeit wvangeit added a:database associated to postgres service and postgres-database package πŸ€–-automerge marks PR as ready to be merged for Mergify labels Jul 1, 2025
@wvangeit
Copy link
Contributor Author

wvangeit commented Jul 1, 2025

@matusdrobuliak66 Maybe check carefully if the migration script might not cause problem. (I don't think so).

And I guess during deployment, if some of these fields are null (which they shouldn't), it could cause a migration issue.

@codecov
Copy link

codecov bot commented Jul 1, 2025

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 90.01%. Comparing base (19a64fb) to head (7b86739).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8022      +/-   ##
==========================================
+ Coverage   87.88%   90.01%   +2.12%     
==========================================
  Files        1853     1542     -311     
  Lines       71478    60931   -10547     
  Branches     1258      547     -711     
==========================================
- Hits        62820    54847    -7973     
+ Misses       8294     5940    -2354     
+ Partials      364      144     -220     
Flag Coverage Ξ”
integrationtests 64.23% <ΓΈ> (+0.03%) ⬆️
unittests 88.39% <ΓΈ> (+1.88%) ⬆️
Components Coverage Ξ”
api βˆ… <ΓΈ> (βˆ…)
pkg_aws_library βˆ… <ΓΈ> (βˆ…)
pkg_celery_library βˆ… <ΓΈ> (βˆ…)
pkg_dask_task_models_library βˆ… <ΓΈ> (βˆ…)
pkg_models_library 93.27% <ΓΈ> (ΓΈ)
pkg_notifications_library 85.26% <ΓΈ> (ΓΈ)
pkg_postgres_database 88.19% <ΓΈ> (ΓΈ)
pkg_service_integration βˆ… <ΓΈ> (βˆ…)
pkg_service_library βˆ… <ΓΈ> (βˆ…)
pkg_settings_library βˆ… <ΓΈ> (βˆ…)
pkg_simcore_sdk 84.99% <ΓΈ> (-0.06%) ⬇️
agent 96.29% <ΓΈ> (ΓΈ)
api_server 92.64% <ΓΈ> (ΓΈ)
autoscaling 96.03% <ΓΈ> (ΓΈ)
catalog 92.29% <ΓΈ> (ΓΈ)
clusters_keeper 99.13% <ΓΈ> (ΓΈ)
dask_sidecar 92.35% <ΓΈ> (+0.56%) ⬆️
datcore_adapter 97.94% <ΓΈ> (ΓΈ)
director 76.73% <ΓΈ> (-0.10%) ⬇️
director_v2 91.01% <ΓΈ> (ΓΈ)
dynamic_scheduler 96.69% <ΓΈ> (ΓΈ)
dynamic_sidecar 90.09% <ΓΈ> (ΓΈ)
efs_guardian 89.65% <ΓΈ> (ΓΈ)
invitations 93.60% <ΓΈ> (ΓΈ)
payments 92.57% <ΓΈ> (ΓΈ)
resource_usage_tracker 89.05% <ΓΈ> (-0.17%) ⬇️
storage 86.65% <ΓΈ> (ΓΈ)
webclient βˆ… <ΓΈ> (βˆ…)
webserver 87.64% <ΓΈ> (+<0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data
Powered by Codecov. Last update 19a64fb...7b86739. Read the comment docs.

πŸš€ New features to boost your workflow:
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wvangeit
Copy link
Contributor Author

wvangeit commented Jul 1, 2025

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Jul 1, 2025

queue

βœ… The pull request has been merged automatically

The pull request has been merged automatically at 7d6abf5

@wvangeit
Copy link
Contributor Author

wvangeit commented Jul 1, 2025

@mergify update

@mergify
Copy link
Contributor

mergify bot commented Jul 1, 2025

update

β˜‘οΈ Nothing to do, the required conditions are not met

  • #commits-behind > 0 [πŸ“Œ update requirement]
  • -closed [πŸ“Œ update requirement]
  • -conflict [πŸ“Œ update requirement]
  • queue-position = -1 [πŸ“Œ update requirement]

Copy link
Collaborator

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

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

Thanks!

@wvangeit wvangeit requested a review from pcrespov July 1, 2025 11:50
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 1, 2025

@wvangeit
Copy link
Contributor Author

wvangeit commented Jul 1, 2025

@mergify refresh

@mergify
Copy link
Contributor

mergify bot commented Jul 1, 2025

refresh

βœ… Pull request refreshed

@mergify mergify bot merged commit 7d6abf5 into ITISFoundation:master Jul 1, 2025
98 checks passed
@wvangeit wvangeit deleted the disable_funcapi_nullable branch July 1, 2025 13:58
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 5, 2025
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

πŸ€–-automerge marks PR as ready to be merged for Mergify a:database associated to postgres service and postgres-database package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sure function api access rights are not nullable

3 participants