-
Notifications
You must be signed in to change notification settings - Fork 32
Adding dev-no-sleeps and dev-no-optimization to the cluster #1185
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
Conversation
@ribalba Through a new user setting you can now, in your user, set the cluster to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile
'["measurement.dev_no_sleeps","measurement.dev_no_optimizations","measurement.total_duration"]'::jsonb, | ||
true -- Create the key if it doesn't exist | ||
) | ||
WHERE user_id = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Column name 'user_id' is incorrect - the users table uses 'id' as the primary key column name
WHERE user_id = 1; | |
WHERE id = 1; |
Eco CI Output:
🌳 CO2 Data: Total cost of whole PR so far: |
* main: (68 commits) Guard clause that runner.run_until may never be used without a context Software add now accepts but logs unknown endpoints other than GitHub and GitLab Added volumes key allow_unsafe and skip_unsafe technically usable via configuration. Not exposed Bump psycopg[binary] from 3.2.8 to 3.2.9 (#1188) Bump redis from 5.2.1 to 6.1.0 (#1187) Added statistical significance schedule mode [skip ci] (#1186) Bump deepdiff from 8.4.2 to 8.5.0 (#1181) Bump pylint from 3.3.6 to 3.3.7 (#1175) Adding dev-no-sleeps and dev-no-optimization to the cluster (#1185) Shm size (#1184) Shutdown in the cluster happens now dynamically depending on what is configured in shutdown_on_job_no Memory resource limits may also be plain int or float\nWill then be interpreted as bytes Bump playwright/python in /docker/auxiliary-containers/gcb_playwright (#1174) Bump psycopg[binary] from 3.2.7 to 3.2.8 (#1183) Bump hiredis from 3.1.0 to 3.1.1 (#1182) Temperature errors are reset now inline (fix): Version is allowed to be int, float or datetime too Added --dev-no-save flag (#1179) Removed duplicate ln ...
Greptile Summary
Added development settings for measurement control in the Green Metrics Tool, enabling skipping of sleep times and optimizations during development/testing phases.
/migrations/2025_05_13_user_settings_dashboard.sql
needs correction: wrong column name in WHERE clause and missing transaction wrapper/api/object_specifications.py
forUserSetting
model to support new dev settings/frontend/settings.html
with clear warning messages about measurement validity impact/frontend/js/settings.js
for new boolean settings with proper error handlingScenarioRunner
in/lib/scenario_runner.py
to support skipping sleeps/optimizations, but potential data integrity concerns withdev_no_optimizations
not marking runs as invalid