Skip to content

Conversation

@vgorkavenko
Copy link
Contributor

@vgorkavenko vgorkavenko commented Oct 17, 2025

Description

Separate Performance Collection module for CSMv3 and CMv2 Oracle daemons

Related Issue/Task

  • Related task: #[task number]
  • Epic: [epic name or link, if applicable]

How Has This Been Tested?

Describe how you tested the changes:

  • Local tests (e.g., pytest)
  • Manual testing (describe steps)
  • Not tested (explain why)

Checklist

  • Documentation updated (if required)
  • New tests added (if applicable)
  • CSM_STATE_VERSION is bumped (if the new version affects data in the cache)

@vgorkavenko vgorkavenko added the wip Work In Progress label Oct 17, 2025
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
flows to this location and may be exposed to an external user.
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
flows to this location and may be exposed to an external user.
}
)
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
flows to this location and may be exposed to an external user.
@vgorkavenko vgorkavenko changed the base branch from develop to csm-next October 21, 2025 08:47
@vgorkavenko vgorkavenko changed the title [WIP] [CMv2 | CSMv3] feat: separate performance collection and distribution [WIP] feat: separate performance collection and distribution Oct 21, 2025
})
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
flows to this location and may be exposed to an external user.
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
flows to this location and may be exposed to an external user.
}
)
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
flows to this location and may be exposed to an external user.

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

Stack trace information
flows to this location and may be exposed to an external user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMv2 CSMv3 wip Work In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants