filtering with interval goals

95 views
Skip to first unread message

Bernard Rybicki

unread,
Jul 21, 2026, 7:13:46 AMJul 21
to golden-cheetah-users
Hi all,
I'm going to try to filter my activities with interval goals.
this filter returns no activity ?
attached screen capture and last GC version used (last AppImage linux dev 2605)
Thank you by advance for your help
Bernard.


Capture d'écran_20260721_130900.png
Capture d'écran_20260721_125552.png

Bernard Rybicki

unread,
Jul 21, 2026, 7:40:43 AMJul 21
to golden-cheetah-users
When I quit GC and run it again, the comments written in interval goals window have dissappeared ?
It seems that GC doesn't register the comments in the concerned activity
attached concerned JSON file which shows that comments are not registered in the activity
Capture d'écran_20260721_133737.png

Ale Martinez

unread,
Jul 21, 2026, 8:53:33 AMJul 21
to golden-cheetah-users
You need to save the activity before to use interval metadata or exit.

Bernard Rybicki

unread,
Jul 21, 2026, 10:42:49 AMJul 21
to golden-cheetah-users
after saving activity with ctrl-S or save activity menu and after exiting and rerunnig GC, nothing changes.
by looking json file, it is not updated (by checking date and hour of saving).

by adding directly a comment in the json file, by saving it, then by running again GC, the comment appears effectively in the interval goal window, but the filter doesn't work.

Ale Martinez

unread,
Jul 21, 2026, 11:10:12 AMJul 21
to golden-cheetah-users
El martes, 21 de julio de 2026 a la(s) 11:42:49 a.m. UTC-3, bernard....@gmail.com escribió:
after saving activity with ctrl-S or save activity menu and after exiting and rerunnig GC, nothing changes.
by looking json file, it is not updated (by checking date and hour of saving).

by adding directly a comment in the json file, by saving it, then by running again GC, the comment appears effectively in the interval goal window

This is expected due to the decision to not mark the cached activity as dirty when (only) interval metadata changes in https://github.com/GoldenCheetah/GoldenCheetah/blob/57b6cb6c0e56b44cde162f3223cb4816d73a77b8/src/Metrics/RideMetadata.cpp#L1343-L1348
 
, but the filter doesn't work.

There is no APIs to exploit interval metadata yet but search should work.

Interval Metadata is an experimental and incomplete feature, likely motivated by the AeroLab 2 project that was abandoned so far, so try to understand the limitation and use at your own risk for now, more details in https://github.com/GoldenCheetah/GoldenCheetah/commit/1dd7faa2762ca7edfc702f4f6c2491b00cd95ffa  

Bernard Rybicki

unread,
Jul 21, 2026, 12:58:11 PMJul 21
to golden-cheetah-users
Thank you Ale for all your explanations.
filter by interval goal and interval notes don't work
I used an other way
I used Objective data field to define interval goals
And I used filter by Objective which works correctly

Ale Martinez

unread,
Jul 21, 2026, 1:30:16 PMJul 21
to golden-cheetah-users
El martes, 21 de julio de 2026 a la(s) 1:58:11 p.m. UTC-3, bernard....@gmail.com escribió:
Thank you Ale for all your explanations.
filter by interval goal and interval notes don't work
I used an other way
I used Objective data field to define interval goals
And I used filter by Objective which works correctly

You are welcome. 
The non-saving interval metadata is the only change was alerted previously at https://groups.google.com/g/golden-cheetah-developers/c/Q0INHInPRVU/m/aHrljrKVCwAJ, mi impression is nobody uses this feature but this behavior is weird and, provided performance is not affected when not using interval metadata, perhaps that exception could be removed. 

Bernard Rybicki

unread,
Jul 21, 2026, 2:31:35 PMJul 21
to golden-che...@googlegroups.com
Shame that i can't help the community because I have no skills of developers !

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "golden-cheetah-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golden-cheetah-users/cP-O70oSH8E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golden-cheetah-users/f89cc42c-fd9b-45a0-bd62-3f0c83cfc63cn%40googlegroups.com.

Ale Martinez

unread,
Jul 21, 2026, 3:29:28 PMJul 21
to golden-cheetah-users
El martes, 21 de julio de 2026 a la(s) 3:31:35 p.m. UTC-3, bernard....@gmail.com escribió:
Shame that i can't help the community because I have no skills of developers !

Le mar. 21 juil. 2026, 19:30, Ale Martinez <amtri...@gmail.com> a écrit :
El martes, 21 de julio de 2026 a la(s) 1:58:11 p.m. UTC-3, bernard....@gmail.com escribió:
Thank you Ale for all your explanations.
filter by interval goal and interval notes don't work
I used an other way
I used Objective data field to define interval goals
And I used filter by Objective which works correctly

You are welcome. 
The non-saving interval metadata is the only change was alerted previously at https://groups.google.com/g/golden-cheetah-developers/c/Q0INHInPRVU/m/aHrljrKVCwAJ, mi impression is nobody uses this feature but this behavior is weird and, provided performance is not affected when not using interval metadata, perhaps that exception could be removed. 

To remove the exception for interval metadata so they are marked as dirty like activity metadata and then saved correctly doesn't seem to impact performance in my tests, it seems reasonable to do so to avoid user data loss, even when the data is for display only for now. I will do that if there are no objections. 

Ale Martinez

unread,
Jul 21, 2026, 5:28:31 PMJul 21
to golden-cheetah-users
I pushed a change so interval metadata changes are detected and can be saved like other metadata files even when nothing else changes (change log), this will be included in next builds.
Still no API is available to access Interval Metadata from filters, R, Python or REST, not even search, so it is available at Data > Interval and included in JSON files only for the moment.
If anyone is interested in to develop this feature, patches are welcome.
Cheers, Ale.

Ale Martinez

unread,
Jul 22, 2026, 9:40:19 AMJul 22
to golden-cheetah-users
PS: I created this feature request for the pending APIs part. 
Reply all
Reply to author
Forward
0 new messages