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

appview doesn't handle moderation correctly. #2552

Open
itaru2622 opened this issue Jun 6, 2024 · 2 comments
Open

appview doesn't handle moderation correctly. #2552

itaru2622 opened this issue Jun 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@itaru2622
Copy link
Contributor

Describe the bug

related to #2511

when using the appview based on this repository code,
the appview's label table is always empty even ozone publishes events to com.atproto.label.subscribeLabels.
as the results, moderation cannot work and users have to see undesired posts in the case.

To Reproduce

Steps to reproduce the behavior:

# for minimum
1. deploy  appview based on this repository code (DO NOT USE OFFICIALLY HOSTED APPVIEW).
2. assign label to any post on ozone as usual
3. check the appview's label table. it is always empty regardless ozone/labeler's activity. 

you can use https://github.com/itaru2622/bluesky-selfhost-env to deploy bluesky components for this test.

Expected behavior

Details

open source appview can also handle moderation like officially hosted appview can.
i.e appview labe; table should be updated according to the ozone/labeler's activity, even open source based appview.

Additional context

@itaru2622 itaru2622 added the bug Something isn't working label Jun 6, 2024
@itaru2622 itaru2622 changed the title published code based appview cannot work moderation correctly. published code based appview doesn't handle moderation correctly. Jun 6, 2024
@itaru2622 itaru2622 changed the title published code based appview doesn't handle moderation correctly. appview doesn't handle moderation correctly. Jun 7, 2024
@itaru2622
Copy link
Contributor Author

itaru2622 commented Jun 11, 2024

I made below workaround tool and find it gets expected results.
https://github.com/itaru2622/bluesky-selfhost-env/blob/master/ops-helper/apiImpl/subscribeLabels2BskyDB.ts

the above tool requires endpoint of ozone service on starting.
so it needs to detect new labeler joining to the network in real case.

that matter is described in #2571

@itaru2622
Copy link
Contributor Author

itaru2622 commented Jul 3, 2024

this issue reports that below red array part is lacked in published code
lacksinCodes
cited from https://arxiv.org/pdf/2402.03239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant