Skip to content

Conversation

@pcrespov
Copy link
Member

@pcrespov pcrespov commented Jun 22, 2025

What do these changes do?

Introduces a new batch of user-facing messages, generated with the help of AI prompts and manually reviewed for accuracy.

Workflow

  1. Annotate user-facing messages in the web server using the user_message function.
  2. Generate suggestions via the AI prompt.
  3. Manually review and correct outputs as needed.
  4. Iteratively refine the prompt to prevent recurrence of identified issues.

Related issue/s

How to test

It is important to audit the outputs

Dev-ops

None

@pcrespov pcrespov added this to the Engage milestone Jun 22, 2025
@pcrespov pcrespov self-assigned this Jun 22, 2025
@pcrespov pcrespov force-pushed the mai/user-facing-messages branch from 7aeae80 to de6937b Compare June 23, 2025 16:52
@pcrespov pcrespov changed the title WIP: Mai/user facing messages 🎨 web-api: New batch of improved user-facing messages Jun 23, 2025
@codecov
Copy link

codecov bot commented Jun 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.78%. Comparing base (0571243) to head (0e93266).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7944      +/-   ##
==========================================
- Coverage   87.84%   87.78%   -0.06%     
==========================================
  Files        1849     1423     -426     
  Lines       71335    59152   -12183     
  Branches     1250      626     -624     
==========================================
- Hits        62663    51926   -10737     
+ Misses       8310     7016    -1294     
+ Partials      362      210     -152     
Flag Coverage Δ
integrationtests 64.29% <100.00%> (+0.04%) ⬆️
unittests 86.09% <100.00%> (-0.35%) ⬇️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_celery_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library ∅ <ø> (∅)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration ∅ <ø> (∅)
pkg_service_library 71.54% <ø> (ø)
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.10% <ø> (-0.06%) ⬇️
agent 96.29% <ø> (ø)
api_server 92.64% <ø> (ø)
autoscaling 96.03% <ø> (ø)
catalog 92.29% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 91.79% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 76.73% <ø> (ø)
director_v2 91.12% <ø> (ø)
dynamic_scheduler 96.69% <ø> (ø)
dynamic_sidecar 90.09% <ø> (ø)
efs_guardian 89.65% <ø> (ø)
invitations 93.60% <ø> (ø)
payments 92.57% <ø> (ø)
resource_usage_tracker 89.00% <ø> (ø)
storage 86.27% <ø> (-0.21%) ⬇️
webclient ∅ <ø> (∅)
webserver 87.70% <100.00%> (+0.10%) ⬆️

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 0571243...0e93266. 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.

@pcrespov pcrespov marked this pull request as ready for review June 23, 2025 16:59
@pcrespov pcrespov added a:webserver webserver's codebase. Assigning the area is particularly useful for bugs t:maintenance Some planned maintenance work labels Jun 23, 2025
@pcrespov pcrespov enabled auto-merge (squash) June 23, 2025 17:04
@pcrespov
Copy link
Member Author

@mergify queue

@pcrespov pcrespov added the 🤖-automerge marks PR as ready to be merged for Mergify label Jun 23, 2025
@mergify
Copy link
Contributor

mergify bot commented Jun 23, 2025

queue

🛑 The pull request could not be merged

This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 2 of 6 required status checks are expected.)

@pcrespov pcrespov requested a review from eofli June 23, 2025 17:23
@pcrespov pcrespov changed the title 🎨 web-api: New batch of improved user-facing messages 🎨📝 web-api: New batch of improved user-facing messages Jun 23, 2025
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

maybe search for "studies" as well

@pcrespov pcrespov force-pushed the mai/user-facing-messages branch from 0f5a362 to 14b3668 Compare June 24, 2025 12:15
@pcrespov pcrespov force-pushed the mai/user-facing-messages branch from d08b55b to 0e93266 Compare June 24, 2025 14:31
@sonarqubecloud
Copy link

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.

Nice 👍

@mergify
Copy link
Contributor

mergify bot commented Jun 24, 2025

This pull request has been removed from the queue for the following reason: pull request dequeued.

Pull request #7944 has been dequeued. The pull request could not be merged. This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 2 of 6 required status checks are expected.).

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@pcrespov pcrespov merged commit 961c173 into ITISFoundation:master Jun 24, 2025
148 of 152 checks passed
@pcrespov pcrespov deleted the mai/user-facing-messages branch June 25, 2025 08:10
@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:webserver webserver's codebase. Assigning the area is particularly useful for bugs t:maintenance Some planned maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants