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

Lexicon: remove actor declaration and assertion/confirmations #659

Merged
merged 5 commits into from
Mar 14, 2023

Conversation

devinivy
Copy link
Collaborator

@devinivy devinivy commented Mar 14, 2023

This removes declarations (incl. actor type and declaration cids), assertions, and confirmations. Follow subject is updated to be a plain did rather than a did/declaration pair.

The app-view indexes are cleared of all these records, but there will be an additional PR (incoming) to migrate them out of repos as well.

One unrelated change in here is that I removed pds/tests/migrations/duplicate-records.ts since it was out of date, doesn't run as part of the test suite, and would have required some non-trivial changes to bring up to date.

Note that this is waterfalling into #655, we should let that land first. Resolves #579, resolves #586.

@@ -10,7 +10,7 @@
"type": "object",
"required": ["subject", "createdAt"],
"properties": {
"subject": {"type": "ref", "ref": "app.bsky.actor.ref"},
"subject": {"type": "string", "format": "did"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

oh hell yeah 😎

@devinivy devinivy mentioned this pull request Mar 14, 2023
Base automatically changed from lex/xprc-user-params to lex-refactor March 14, 2023 18:04
Copy link
Collaborator

@dholms dholms left a comment

Choose a reason for hiding this comment

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

big yup 👍

just make sure to undo the migration change before you merge it in

@devinivy devinivy merged commit 8b1e857 into lex-refactor Mar 14, 2023
@devinivy devinivy deleted the lex/remove-declaration branch March 14, 2023 20:45
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.

None yet

2 participants