Repository navigation
Replies: 2 comments 1 reply
|
Thanks, this is a good report. And no worries about the Codex part. AI-assisted PRs are welcome here. I think this is definitely the future of coding and I have no problem with it. I reproduced both points on 1. GetOwnedGames parametersYour diagnosis is right. Steam's live Only Reproduced with steam 1.4.4:
Worth noting that pinning a different Agreed on keeping both new flags at What I would like in the PROne helper instead of five literal parameter lists. There are five call sites and they already disagree with each other:
Please add a single helper that builds the owned-games arguments. Keep explicit values for the parameters the tool actually cares about, then fill any remaining required parameter from the wrapper's own metadata with a neutral default chosen by declared type: bool and uint to A regression test that can actually fail. The synthetic API list in Keep the error classes apart, as you suggested. A local This one is more urgent than I assumed, since it takes out library tracking, the achievements fallback and app-name lookup together. 2. Persistent profile baselinesConfirmed as you described:
The games-library part is smaller and self-contained, so I would rather have it as its own change: compare the saved snapshot against the startup fetch before replacing it. Design preferencesA new file, not the status file. Do not fold profile state into the games file. It carries a pre-2.0 compatibility path in No new path setting in the first pass. Derive the path from the target the way Reuse Validate and ignore, never fail. Store the target Steam64 ID in the file. A file that does not match the target, or will not parse, should warn and start a fresh baseline, matching the games-library path at Only a successful observation may rewrite the file. A failed lookup keeps the previous baseline, exactly as you wrote. The part I want settled before you startNotification volume on restart. After a long stop, one restart could fire level, XP, friends, name and library notifications in the same second. My preference:
On wording, agreed, no implied timestamp. Store the observation timestamp in the file and use it as context for when the previous value was last seen, not as the time the change happened. Exact phrasing we can settle in review. Please also note in the docs that friend SteamIDs now land on disk. The games file already stores app IDs so it is not new in kind, but it should be explicit. |
|
Yes, that restart-reporting behavior is what I had in mind. The three-PR split works too. A few Notification groupsYour four groups are already the four switches, so there is nothing to decide:
Level and XP already share one switch, so keep them together. Route the restart report through The profile CSV cannot take a new columnWorth knowing before you design the timestamps.
The "since the previous observation" nuance lives in the log line and the notification body, Bounded notification detailsThere is no cap today. In the friends branch,
I would rather have the second, and I am happy for it to land in this PR as long as the commit Counts plus a bounded selection is the right shape either way. Log and CSV keep everything. Drop the pending-comparison conceptThis is the one place I would simplify. You do not need a distinguished startup comparison or a
A restart then falls out on its own: the first success after startup compares against whatever Both of your other guarantees come free from the same rule: features are independent because The new setting
Introduce it in the games-library PR rather than this one. That is the first change that can A new setting needs more plumbing here than it looks. Register it in all of these or config
Everything elseAgreed as you described: target-derived Go ahead on the games-library comparison whenever you like. The profile baselines can follow it. |
Uh oh!
There was an error while loading. Please reload this page.
Hi @misiektoja, thanks again for steam_monitor!
While testing additional monitoring features through my Windows tray companion, I found a reproducible owned-games issue and noticed a separate limitation around restarting the monitor. I wanted to share both before starting any implementation.
1. Bug: GetOwnedGames fails because required parameters are missing
I reproduced this locally with steam_monitor 2.1.
With games-library tracking enabled, startup reports:
A read-only diagnostic found that the failure occurs in the Python Steam client's parameter validation, before the owned-games request is sent.
The current API metadata returned by Steam marks these two parameters as required:
include_family_licensesinclude_all_free_gamesThe existing calls omit them. The underlying exception was:
Supplying both parameters as
0allowed the same request to succeed using the same credentials and target. The response also passed steam_monitor's existing games-library validation, so this particular failure was not caused by the target's privacy settings.I also found owned-games calls in other paths, including information display, game-name lookup and the achievements fallback, so those may need the same compatibility fix.
My proposed fix would be to supply the required parameters consistently, keeping both disabled to preserve the existing library scope, and add regression tests that exercise the client's parameter validation. It would also help to distinguish a local parameter error from an unavailable or private games library.
2. Proposal: preserve profile baselines across restarts
Steam level/XP, friends-list and persona-name baselines currently appear to be kept in memory. After restarting the monitor, new baselines are established, so changes made while it was stopped are not reported.
The games library already has a saved snapshot, but the startup path appears to replace it with the current library before comparing changes.
Would you be open to persisting these baselines so the first successful observations after a restart can be compared with the previous saved state?
A possible approach would be:
Changes detected after a restart would be described as changes since the previous successful observation. The tool should not imply that they happened at startup or at an exact known time.
This would detect net differences between observations, rather than reconstruct every event while monitoring was stopped. For example, adding and then removing the same friend during that period would remain undetectable.
Contribution
I have not modified the implementation yet. If this direction fits the project, I would be happy to prepare two separate PRs against
dev:Both would remain cross-platform and independent of my tray companion, with offline regression tests, relevant documentation and release notes, plus real-account verification without including private account data or credentials.
Does this approach sound reasonable? I would appreciate your preference on the persistence scope and state-file layout before I start.
PS: all of these were done by Codex lol
All reactions