WIP: fix(std/log): register late logger sources #1477

Draft
jay wants to merge 1 commit from jay/gerbil:bug-log-late-sources into v0.19-staging
Member

system-logger-thread copies sys.sources into a local table at startup. Sources registered afterward exist only in sys.sources, so their records are rejected as unknown and dropped.

This adds a private !UPDATE:add-source message to synchronize the local table, and also adds some tests for std/log/system.ss.

`system-logger-thread` copies `sys.sources` into a local table at startup. Sources registered afterward exist only in `sys.sources`, so their records are rejected as unknown and dropped. This adds a private `!UPDATE:add-source` message to synchronize the local table, and also adds some tests for `std/log/system.ss`.
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 bug-log-late-sources:jay-bug-log-late-sources
git switch jay-bug-log-late-sources

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 v0.19-staging
git merge --no-ff jay-bug-log-late-sources
git switch jay-bug-log-late-sources
git rebase v0.19-staging
git switch v0.19-staging
git merge --ff-only jay-bug-log-late-sources
git switch jay-bug-log-late-sources
git rebase v0.19-staging
git switch v0.19-staging
git merge --no-ff jay-bug-log-late-sources
git switch v0.19-staging
git merge --squash jay-bug-log-late-sources
git switch v0.19-staging
git merge --ff-only jay-bug-log-late-sources
git switch v0.19-staging
git merge jay-bug-log-late-sources
git push origin v0.19-staging
Sign in to join this conversation.
No description provided.