Skip to content

refactor(core): remove upsert entities methods and related SQL statements - #1288

Merged
AlessandroPomponio merged 1 commit into
mainfrom
ap_864_remove_upsert_entities
Jul 28, 2026
Merged

refactor(core): remove upsert entities methods and related SQL statements#1288
AlessandroPomponio merged 1 commit into
mainfrom
ap_864_remove_upsert_entities

Conversation

@AlessandroPomponio

@AlessandroPomponio AlessandroPomponio commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removes the upsert-entity functionality from the samplestore. The upsertEntities and upsertExperimentResults methods, the underlying SQL statements, and all related tests and fixtures are deleted. No new behaviour is introduced; this is a pure removal of unused code.

High-level Changes

  • SQLSampleStore: Removed the upsertEntities and upsertExperimentResults methods.
  • SQL statements: Removed the upsert_entities SQL statement (SQLite and MySQL variants).
  • Tests & fixtures: Removed the upsert_entities_to_sample_store fixture and the corresponding test.

Impact

No existing functionality is affected — the removed methods were not called anywhere in the active codebase. Callers that relied on upsert semantics must now use the standard addEntities path.


AI Disclosure: The code and this PR description were generated using IBM Bob and reviewed manually.

…ents

Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
@AlessandroPomponio AlessandroPomponio added the ci Enables CI integration label Jul 27, 2026
@AlessandroPomponio AlessandroPomponio linked an issue Jul 27, 2026 that may be closed by this pull request
@AlessandroPomponio
AlessandroPomponio added this pull request to the merge queue Jul 28, 2026
Merged via the queue into main with commit ce220db Jul 28, 2026
18 checks passed
@AlessandroPomponio
AlessandroPomponio deleted the ap_864_remove_upsert_entities branch July 28, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Enables CI integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(core): remove "upsert" methods for entities

2 participants