-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactored debug log for ai-collab #23565
Open
seanimam
wants to merge
13
commits into
microsoft:main
Choose a base branch
from
seanimam:debugLogRefactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8bf34d4
Updates to api surface and removes old debug log logic
seanimam 5943421
Documentation updates, test updates, addition of eventFlowTraceId and…
seanimam 06e8b05
Test structure refactor into multiple tests that all use shared data …
seanimam 5491db7
Adds tutorial to README.md, more documentation. adds skip to integ te…
seanimam ebe23df
Small readme updates, api export updates, adding skip back to the deb…
seanimam 0900a05
Tightens the debug events types & API as well as associated JSDOC along.
seanimam 4cfab78
Merge branch 'main' of https://github.com/seanimam/FluidFramework int…
seanimam d300184
Syntax and wording updates to README
seanimam 0e77a46
Merge branch 'debugLogRefactor' of https://github.com/seanimam/FluidF…
seanimam 68361c5
Updates @types/uuid version, README.md updates, makes tokensUsed read…
seanimam c5b1612
Updates example apps to use new debug log. Refactors debugLog.spec.ts…
seanimam d600ce7
Adds skip back to debugLog.spec.ts
seanimam c330f2a
running pnpm format on examples/apps/ai-collab
seanimam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking all this documentation should actually go in the TSDoc for the corresponding event. Something like "This event will be emitted exactly once per ai-collab function execution" makes a lot of sense there, more than in the README. It would also make some of the docs redundant (e.g. docs for "this event has
eventName X
" are probably not necessary when one is looking at the interface definition already). Keeping the list of events in each flow here is ok, and maybe we can link to the source file where all the events live for those who want more details. I'd particularly advocate for this to remove the easy-to-miss**IMPORTANT**: If you change this file make sure the root README.md file is updated to reflect the changes.
in the source file.