Skip to content

refactor(redis): read profiling sessions inside the profiler - #585

Merged
cosmin-staicu merged 1 commit into
mainfrom
refactor/inline-session-reader
Nov 30, 2026
Merged

cosmin-staicu merged 1 commit into
mainfrom
refactor/inline-session-reader

Conversation

@cosmin-staicu

Copy link
Copy Markdown
Member

Problem

IProfilingSessionCommandReader and ProfilingSessionCommandReader were a public seam around one call, ProfilingSession.FinishProfiling(), used only by the internal Redis profiler, and ProfileInfo was public only to carry its result.

Change

  • The profiler reads its sessions itself; the reader interface, its class and ProfileInfo leave the public API (PublicAPI and CP0001 baseline suppressions updated).
  • AddRedisProfiler no longer registers a reader.
  • IProfiledCommandProcessor stays public: it is how an app changes what each profiled command reports.

Behaviour change

Breaking only for code that referenced or replaced the reader. Profiling output is unchanged.

@github-actions github-actions Bot added the needs-cla-review A maintainer should assess whether a signed CLA is required (see CONTRIBUTING.md) label Nov 30, 2026
@github-actions

Copy link
Copy Markdown

🔎 Maintainer heads-up: automated triage flagged this PR as potentially material, so it may need a signed CLA in addition to the DCO sign-off.

Strong signals

  • adds public API surface (PublicAPI.Unshipped.txt in src/UiPath.Caching)

This is advisory only — the bot does not decide. Please judge against the CLA criteria (material, product-critical, patent-sensitive, corporate contributor, broad commercial use). Note that thresholds can be gamed by splitting PRs, so use your judgement.

  • If a CLA is needed → add the cla-required label (a contributor comment with signing steps is posted automatically).
  • If it is not needed → replace needs-cla-review with cla-not-required so later pushes don't re-flag it.

@cosmin-staicu cosmin-staicu added cla-not-required Maintainer reviewed: no CLA required for this contribution and removed needs-cla-review A maintainer should assess whether a signed CLA is required (see CONTRIBUTING.md) labels Nov 30, 2026
Signed-off-by: Cosmin Staicu <cosmin.staicu@uipath.com>
@cosmin-staicu
cosmin-staicu force-pushed the refactor/inline-session-reader branch from d1a5c79 to 51dc98d Compare November 30, 2026 17:01
@sonarqubecloud

Copy link
Copy Markdown

@cosmin-staicu
cosmin-staicu merged commit a9f07d0 into main Nov 30, 2026
14 checks passed
@cosmin-staicu
cosmin-staicu deleted the refactor/inline-session-reader branch November 30, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-not-required Maintainer reviewed: no CLA required for this contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant