Skip to content

feed: add like and repost query capability - #37

Merged
Kzoeps merged 3 commits into
mainfrom
feed/like-repost-queries
Oct 7, 2026
Merged

Kzoeps merged 3 commits into
mainfrom
feed/like-repost-queries

Conversation

@Kzoeps

@Kzoeps Kzoeps commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add getLikes, getReposts, getActorLikes, and getActorReposts as an independently installable HappyView module.
  • Count/deduplicate reactions by author DID and subject URI, ignoring subject CID; preserve raw records, via, signatures, and representative metadata.
  • Pin @hypercerts-org/lexicon to 1.5.0 and update manifests, explorer snapshots, API skill contracts, operator docs, and Changeset.
  • Keep reaction views endpoint-owned; do not add engagement fields to existing record views or implement feed reasons/notifications.

Validation

  • Independently verified API check: 318/318 unit tests, lint, typecheck, and generated Lua freshness passed.
  • Documentation freshness: 59 endpoints, 116 Lexicon snapshots; passed.
  • Independent worker/reviewer workflow completed; invalid fixture CIDs and bytes serialization fixed and re-reviewed.
  • HTTP tests added but not executed: Docker socket unavailable; no live installation or migration performed.
  • Full workspace check remains blocked by two docs tests missing @vitejs/plugin-react (11 other docs tests passed).

Related: TECH-660. This PR does not complete the excluded record-view viewer state or Feed Service repost reason requirements.

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
api-endpoints Skipped Skipped Oct 7, 2026 11:10am UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 90b28a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hypercerts-org/hypercerts-api Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 933342a8-f47c-4e08-8017-7de04f1eeec5
📥 Commits

Reviewing files that changed from the base of the PR and between 1d86964 and 90b28a5.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (41)
  • .agents/skills/hypercerts-api/SKILL.md
  • .agents/skills/hypercerts-api/references/endpoint-map.md
  • .agents/skills/hypercerts-api/references/openapi.json
  • .changeset/feed-reactions-queries.md
  • CONTRIBUTING.md
  • api/README.md
  • api/lexicons/app.certified.feed.getActorLikes.json
  • api/lexicons/app.certified.feed.getActorReposts.json
  • api/lexicons/app.certified.feed.getLikes.json
  • api/lexicons/app.certified.feed.getReposts.json
  • api/lua/endpoints/getActorLikes.lua
  • api/lua/endpoints/getActorReposts.lua
  • api/lua/endpoints/getLikes.lua
  • api/lua/endpoints/getReposts.lua
  • api/lua/shared/feedReaction.lua
  • api/lua/src/getActorLikes.lua
  • api/lua/src/getActorReposts.lua
  • api/lua/src/getLikes.lua
  • api/lua/src/getReposts.lua
  • api/manifest.json
  • api/modules/feed-reactions/manifest.json
  • api/package.json
  • api/tests/http/feed-reactions.http.test.js
  • api/tests/http/fixtures/feed-reactions.fixture.js
  • api/tests/unit/tooling/feed-reactions.test.js
  • api/tests/unit/tooling/lexicons.test.js
  • docs/coverage.json
  • docs/openapi.json
  • docs/sources/index.json
  • docs/sources/lexicons/app.certified.actor.organization.json
  • docs/sources/lexicons/app.certified.actor.profile.json
  • docs/sources/lexicons/app.certified.badge.award.json
  • docs/sources/lexicons/app.certified.feed.getActorLikes.json
  • docs/sources/lexicons/app.certified.feed.getActorReposts.json
  • docs/sources/lexicons/app.certified.feed.getLikes.json
  • docs/sources/lexicons/app.certified.feed.getReposts.json
  • docs/sources/lexicons/app.certified.feed.like.json
  • docs/sources/lexicons/app.certified.feed.repost.json
  • docs/sources/lexicons/app.certified.graph.entityFollow.json
  • docs/sources/lexicons/app.certified.graph.follow.json
  • docs/sources/lexicons/org.hypercerts.context.attachment.json
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@socket-security

socket-security Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​hypercerts-org/​lexicon@​1.4.0 ⏵ 1.5.082 +1100100 +197 -1100

View full report

@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@Kzoeps
Kzoeps merged commit 8504f60 into main Oct 7, 2026
7 of 8 checks passed
@Kzoeps
Kzoeps deleted the feed/like-repost-queries branch October 7, 2026 11:16
@github-actions github-actions Bot mentioned this pull request Oct 7, 2026

This branch was previously deployed

1 inactive deployment
Preview — 90b28a5b Deployed Oct 7, 2026 by vercel[bot]
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.

1 participant