Skip to content

Replace Metadata Hash With a 'Latest Version Timestamp'#529

Open
Ohisemega wants to merge 10 commits into
masterfrom
Implement_timestamped_metadata
Open

Replace Metadata Hash With a 'Latest Version Timestamp'#529
Ohisemega wants to merge 10 commits into
masterfrom
Implement_timestamped_metadata

Conversation

@Ohisemega

@Ohisemega Ohisemega commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Implement a time-stamping feature in plugins.

  • Update the timestamp at locations of structural change in the plugin. Report the latest timestamp in requestConfiguration() and provideStatus().
  • Remove 'key-hashing' related implementation and tests.

Fixes #526

@Ohisemega Ohisemega added this to the in-progress milestone Jul 3, 2026
@Ohisemega
Ohisemega requested review from JamesOHeaDLS and ajgdls July 3, 2026 13:29
@Ohisemega Ohisemega self-assigned this Jul 3, 2026
@Ohisemega Ohisemega added enhancement Next stage development or improvement of an existing feature or utility. ready Awaiting review/approval Has been addressed in a PR and needs to be approved or commented for rework by a reviewer HIGH PRIOROTY Tag issues as high-relevance or high-importance for now. labels Jul 3, 2026
@Ohisemega Ohisemega changed the title Replace Metadata Hash with a 'Latest Time-stamp' Replace Metadata Hash with a 'Latest Timestamp' Jul 3, 2026
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 35.71429% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.84%. Comparing base (9a92832) to head (51fb2b8).
⚠️ Report is 20 commits behind head on master.

Files with missing lines Patch % Lines
...pp/frameProcessor/src/FrameProcessorController.cpp 0.00% 6 Missing ⚠️
cpp/frameProcessor/src/FileWriterPlugin.cpp 33.33% 2 Missing ⚠️
cpp/frameProcessor/include/FrameProcessorPlugin.h 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #529       +/-   ##
===========================================
+ Coverage   33.66%   47.84%   +14.17%     
===========================================
  Files          95       95               
  Lines        7690     7673       -17     
  Branches      672      670        -2     
===========================================
+ Hits         2589     3671     +1082     
+ Misses       4907     3810     -1097     
+ Partials      194      192        -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Implement time-stamping feature in plugins.
Update time-stamp at locations of structural change to the plugin.
Report the latest time-stamp in requestConfiguration().
Remove 'key-hashing' related implementation and tests.
Fixes #526
@Ohisemega Ohisemega changed the title Replace Metadata Hash with a 'Latest Timestamp' Replace Metadata Hash With a 'Latest Timestamp' Jul 3, 2026
@Ohisemega Ohisemega changed the title Replace Metadata Hash With a 'Latest Timestamp' Replace Metadata Hash With a 'Latest Version Timestamp' Jul 6, 2026
ajgdls

This comment was marked as resolved.

JamesOHeaDLS

This comment was marked as resolved.

@Ohisemega
Ohisemega requested review from JamesOHeaDLS and ajgdls July 13, 2026 11:33
Call the update_*_metadata_ts() methods from the parent class - FrameProcessorPlugin's constructor.
Add public methods to return the raw timestamp value of the plugin.
Remove redundant set_param() calls and extra loops.
Comment thread cpp/frameProcessor/src/FileWriterPlugin.cpp Outdated
Comment thread cpp/frameProcessor/src/FileWriterPlugin.cpp Outdated
Add unit test to validate that the metadata timestamp for FileWriter and ParameterAdjustment are updated When the triggering configuration is passed to it.
@Ohisemega
Ohisemega requested a review from ajgdls July 15, 2026 13:53
Comment thread cpp/frameProcessor/src/FileWriterPlugin.cpp Outdated
@Ohisemega
Ohisemega requested a review from ajgdls July 15, 2026 17:05
Comment thread cpp/frameProcessor/test/FileWriterPluginTest.cpp Outdated
@Ohisemega
Ohisemega requested a review from ajgdls July 16, 2026 11:01
Remove errant std::cout statement.
@Ohisemega
Ohisemega requested a review from timcnicholls July 16, 2026 13:10
@Ohisemega
Ohisemega force-pushed the Implement_timestamped_metadata branch from 58cc67f to 7b93502 Compare July 16, 2026 15:22
Comment thread cpp/frameProcessor/src/FrameProcessorController.cpp Outdated
@Ohisemega
Ohisemega requested a review from ajgdls July 17, 2026 07:04
Add seperate keys for the timestamp of status and config.
Rename local variables.

@JamesOHeaDLS JamesOHeaDLS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @Ohisemega

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting review/approval Has been addressed in a PR and needs to be approved or commented for rework by a reviewer enhancement Next stage development or improvement of an existing feature or utility. HIGH PRIOROTY Tag issues as high-relevance or high-importance for now. ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace metadata hash with a timestamp of structural change.

4 participants