Skip to content
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

feat: AI-categorized docs show in strategy sorts (PT-188476611) #2433

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

emcelroy
Copy link
Contributor

@emcelroy emcelroy commented Nov 13, 2024

#188476611

Adds a Cloud Function that will watch for comments and update the related document's strategies array with tag values in the comment. The function will also delete values from the document's strategies array if a comment containing tags is deleted and no other comments contain the same tags.

Also included is a small change to the emulator script in functions-v2. It will now save and load data from the new functions-v2/emulator-data directory so that state will persist between emulator runs.

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.37%. Comparing base (adcd063) to head (b67f948).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2433   +/-   ##
=======================================
  Coverage   86.36%   86.37%           
=======================================
  Files         746      746           
  Lines       38659    38659           
  Branches     9868     9868           
=======================================
+ Hits        33388    33390    +2     
+ Misses       4972     4970    -2     
  Partials      299      299           
Flag Coverage Δ
cypress ?
cypress-regression 78.31% <ø> (+<0.01%) ⬆️
cypress-smoke 28.46% <ø> (ø)
jest 48.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

cypress bot commented Nov 13, 2024

collaborative-learning    Run #14137

Run Properties:  status check passed Passed #14137  •  git commit b67f948ba8: chore: reinstate existing tag-handling code
Project collaborative-learning
Branch Review 188476611-ai-categorized-docs-show-in-strategy-sorts
Run status status check passed Passed #14137
Run duration 14m 48s
Commit git commit b67f948ba8: chore: reinstate existing tag-handling code
Committer Ethan McElroy
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 3
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 117
View all changes introduced in this branch ↗︎

We'll remove this in a separate PR later.
Copy link
Member

@scytacki scytacki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@scytacki scytacki merged commit 2141a7d into master Nov 14, 2024
17 checks passed
@scytacki scytacki deleted the 188476611-ai-categorized-docs-show-in-strategy-sorts branch November 14, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants