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

lib: support summarization of new groups backend #240

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

Fang-
Copy link
Member

@Fang- Fang- commented Nov 16, 2023

/lib/summarize now supports building summaries off of the new /app/channels. If that agent is running, it will use the new summarization logic. If it's not, it will continue on as it has.

Somewhat important to get this out the door ahead of the new groups backend release. If a ship uses the old version of this library while the new groups backend is installed, summarization logic may crash. In practice, this probably only affects reports for %bark. (But third-party devs using this library are encouraged to pull in this latest version also.)

Also pulls in the necessary sur file dependencies. If those change, in particular the ones including types we scry for, we may need to update the files here again. (One such change is probably on the way, we may want to hold off on merging for at least a day.)
(The /sur/chat-2 included here is a version that has been stripped of its references to /lib/graph-store. The types/functions for that aren't used in this desk, and the dependency was giving import troubles. At some point after this release cycle, we should clean up the tangled dependency situation.)

LAND-1211

/lib/summarize now supports building summaries off of the new
/app/channels. If that agent is running, it will use the new
summarization logic. If it's not, it will continue on as it has.
@Fang- Fang- requested a review from midsum-salrux November 16, 2023 20:19
Copy link
Contributor

@midsum-salrux midsum-salrux left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -14,6 +14,48 @@
[(scot %p our) term (scot %da now) spur]
::
++ summarize-activity
?: .^(? %gu (scry-path %channels /$))
summarize-activity-new-groups
summarize-activity-old-groups
Copy link
Contributor

Choose a reason for hiding this comment

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

NB: old-groups kind of brings graph-store era groups to mind but I don't know a better name.

@jamesacklin jamesacklin merged commit e587a3a into master Nov 21, 2023
1 check passed
@jamesacklin jamesacklin deleted the m/nu-groups-summaries branch November 21, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants