Repository navigation
feat(web): read verifications, Bluesky profiles and follows, and the bug report space from HappyView - #256
Open
botandbang wants to merge 11 commits into
Open
feat(web): read verifications, Bluesky profiles and follows, and the bug report space from HappyView#256botandbang wants to merge 11 commits into
botandbang wants to merge 11 commits into
Conversation
…d of PDSes HappyView now indexes community.lexicon.calendar.event, keeping only events by accounts that manage one of the root's projects, and re-reads managers' events once per record script version. The announce form, the changed-in-another-app marker, and the reads before a save or delete come from HappyView instead of the manager's PDS. The edit form carries the CIDs of the show and event it shows, and a save only lands on those: one that HappyView no longer serves is refused before anything is written, and the event and then the show are written with swapRecord on them, so a change made elsewhere asks the manager to reload. A new show stays one applyWrites, a delete removes the event and then the show, and saves and deletes wait for the event to be served too.
…bug report space from HappyView HappyView now indexes app.bsky.graph.verification (the root's only), app.bsky.actor.profile (display names of verified accounts and project managers), app.bsky.graph.follow (follows by press kit owners whose kit lets the people they follow in) and app.userinput.space (the configured space only), each behind a record gate, with their lexicons checked in. Verifications, the display-name check, the press kit "following" audience and the bug report's space version read through IndexedRepo instead of PDSes. Verification grants swap on HappyView's CID and wait for it to serve the write. New verifications are limited to project managers, the only accounts besides verified ones whose display names HappyView keeps.
…vents # Conflicts: # apps/web/README.md # apps/web/src/lib/server/forms/project.ts # apps/web/src/routes/projects/[slug]/+page.server.ts
…cords # Conflicts: # apps/web/src/lib/server/services/epk.ts
…ky-records # Conflicts: # apps/web/README.md # apps/web/src/lib/server/happyview/bundle.test.ts # apps/web/src/lib/server/happyview/refresh.ts # apps/web/src/lib/server/services/sets.test.ts # apps/web/tests/integration/flows.test.ts
…vents # Conflicts: # apps/web/README.md
…ky-records # Conflicts: # apps/web/README.md # apps/web/src/lib/server/app.ts # apps/web/src/lib/server/happyview/indexed.ts # apps/web/src/lib/server/services/epk.test.ts # apps/web/src/lib/server/services/epk.ts
Coverage Report for apps/web
File Coverage
SizeCompared with main. KiB are 1,024 bytes.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Rust coverageFrom run 468. Both are held to the thresholds in .cargo/config.toml.
|
bnb
approved these changes
Oct 26, 2026
3 of 4 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #255.
What and why
Verifications, the display names they compare, the press kit "people the managers follow" audience and the bug report's space version were read from PDSes. They now read HappyView, and
PublicRepo, which nothing reads through any more, is removed.Added:
app.bsky.graph.verification,app.bsky.actor.profile,app.bsky.graph.followandcom.atproto.label.defslexiconsapp.userinput.space(record scripts getUSERINPUT_SPACEbesideROOT_DID)Changed:
verbose_event_logging; on 2.16, setevent_log_retention_daysto 1 before deployingRemoved:
atproto/public-repo.ts.How it was tested
pnpm test:integration: verifying a manager, follows before and after a kit that reads them, and a bug report pinning HappyView's space versionpnpm verifyandpnpm test:coverageChecklist
apps/locallibrary/CHANGELOG.mdhas a line under Unreleased, if people using it will noticedocs/and--helpstill say what the code does