-
Notifications
You must be signed in to change notification settings - Fork 40
[WIP] feat: separate performance collection and distribution #802
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
base: csm-next
Are you sure you want to change the base?
Conversation
| result = db.is_range_available(l, r) | ||
| return jsonify({"result": bool(result)}) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
| result = db.missing_epochs_in(l, r) | ||
| return jsonify({"result": result}) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
| } | ||
| ) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
…collector # Conflicts: # poetry.lock # pyproject.toml # src/main.py # src/modules/csm/csm.py # src/web3py/types.py # tests/fork/conftest.py
| }) | ||
| return jsonify({"result": epochs}) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
| blob = db.get_epoch_blob(epoch) | ||
| return jsonify({"result": blob.hex() if blob is not None else None}) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
| } | ||
| ) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
|
|
||
| return jsonify({"status": "ok", "consumer": consumer, "l_epoch": l_epoch, "r_epoch": r_epoch}) | ||
| except Exception as e: | ||
| return jsonify({"error": repr(e), "trace": traceback.format_exc()}), 500 |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Description
Separate Performance Collection module for CSMv3 and CMv2 Oracle daemons
Related Issue/Task
How Has This Been Tested?
Describe how you tested the changes:
pytest)Checklist
CSM_STATE_VERSIONis bumped (if the new version affects data in the cache)