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

Group cloning for testing refactor migration on large groups #3015

Closed
wants to merge 8 commits into from

Conversation

midsum-salrux
Copy link
Contributor

@midsum-salrux midsum-salrux commented Nov 17, 2023

This expands on the existing transfer/import-channel code for archiving by allowing moves between ships

Fixes LAND-1218

Copy link

linear bot commented Nov 17, 2023

LAND-1218 meta: cloning tlon local backlog for mainnet testing

We need to test the Hack Week migration with a real, large group. Let's use the large archive of posts from Tlon Local as a corpus for testing.

Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

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

Some comments, but this seems fine overall.

desk/app/groups.hoon Outdated Show resolved Hide resolved
desk/app/groups.hoon Outdated Show resolved Hide resolved
desk/app/groups.hoon Outdated Show resolved Hide resolved
Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

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

Thanks for the changes, this should suffice!

(tbc, ftr, we don't want to merge & release this broadly, only on a manual per-ship basis)

=. cor
(emit %pass /groups/(scot %p our.bowl)/[q.flag]/create %agent [our.bowl %groups] %poke %group-create !>(create))
=. cor
(emit %pass /groups/(scot %p p.flag)/[q.flag]/clone %agent [p.flag %groups] %watch /groups/(scot %p p.flag)/[q.flag]/clone)
Copy link
Member

Choose a reason for hiding this comment

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

If we sent this to our.bowl instead of p.flag would that let us clone groups w/o installing this on the host? seems like it might work

Copy link
Contributor Author

@midsum-salrux midsum-salrux Nov 20, 2023

Choose a reason for hiding this comment

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

this does in fact work (except on tlon local, likely because we trimmed the logs and the channel creation deltas are missing)

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.

5 participants