WIP: [pr-fix][startup] Use a compact frame report in the default play log #368

Draft
andrewpozdnakov7-jpg wants to merge 1 commit from andrewpozdnakov7-jpg/Darner:fix/359-compact-frame-report into main
First-time contributor

Contributor role (optional)

  • Fluxer ID:

What it changes

The default play log prints eight detailed frame breakdowns alongside the timing summaries once a second. Give those eight records a dedicated child target and filter its routine info events from the normal play default. Frame-time summaries, warnings and errors remain visible. Explicit DARNER_LOG=info shows the full breakdowns, and diagnostics builds continue to use their info filter by default.

Refs #359.

How it was tested

  • Tested revision: 7391b26 on f3840d7.
  • Commands and results: The production Windows logger consumed the same synthetic set under both filters. Detailed records went from 240 to zero. Both kept 30 frame summaries, one warning and one error. An explicit DARNER_LOG=info, a host-scoped filter and RUST_LOG=info all restored the detail. Focused cargo check --offline --locked -p darner --bin darner --tests, asset policy and diff check passed.
  • Changes a default: yes, the ordinary Play log filter when no filter is configured.
  • A/B result: the fixture compares emitted events. The eight message families accounted for 1,671 lines and 714,654 bytes in the public 6,980,929-byte log from #351. The same eight families account for 3,418 lines and 1,455,243 bytes in the public 12,446,800-byte log from #366. Both figures are counts of matching records in existing logs.
  • Gates run on that revision: focused app type check and asset policy. Workspace-wide gates remain pending.
  • Coverage gaps: draft pending a paired in-game log comparison on a representative warm run.

Checklist

  • I ran this change in the game.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs: #362 preserves a saved filter during migration and #316 tests the logger. #48 also edits the launcher and GPU host.
  • Replaces or overlaps: none found
## Contributor role (optional) - Fluxer ID: <!-- optional --> ## What it changes The default play log prints eight detailed frame breakdowns alongside the timing summaries once a second. Give those eight records a dedicated child target and filter its routine info events from the normal play default. Frame-time summaries, warnings and errors remain visible. Explicit `DARNER_LOG=info` shows the full breakdowns, and diagnostics builds continue to use their info filter by default. Refs #359. ## How it was tested - Tested revision: `7391b26` on `f3840d7`. - Commands and results: The production Windows logger consumed the same synthetic set under both filters. Detailed records went from 240 to zero. Both kept 30 frame summaries, one warning and one error. An explicit `DARNER_LOG=info`, a host-scoped filter and `RUST_LOG=info` all restored the detail. Focused `cargo check --offline --locked -p darner --bin darner --tests`, asset policy and diff check passed. - Changes a default: yes, the ordinary Play log filter when no filter is configured. - A/B result: the fixture compares emitted events. The eight message families accounted for 1,671 lines and 714,654 bytes in the public 6,980,929-byte log from #351. The same eight families account for 3,418 lines and 1,455,243 bytes in the public 12,446,800-byte log from #366. Both figures are counts of matching records in existing logs. - Gates run on that revision: focused app type check and asset policy. Workspace-wide gates remain pending. - Coverage gaps: draft pending a paired in-game log comparison on a representative warm run. ## Checklist - [ ] I ran this change in the game. - [x] This PR contains one change based on main. - [x] The diff follows docs/asset-policy.md. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: #362 preserves a saved filter during migration and #316 tests the logger. #48 also edits the launcher and GPU host. - Replaces or overlaps: none found
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/359-compact-frame-report:andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git switch 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git switch 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git rebase 'main'
git switch 'main'
git merge --ff-only 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git switch 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git rebase 'main'
git switch 'main'
git merge --no-ff 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git switch 'main'
git merge --squash 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git switch 'main'
git merge --ff-only 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git switch 'main'
git merge 'andrewpozdnakov7-jpg-fix/359-compact-frame-report'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!368
No description provided.