Skip to content

context: use the shared DID rule for subject URIs - #104

Merged
Kzoeps merged 1 commit into
mainfrom
context/single-did-rule
Nov 26, 2026
Merged

Kzoeps merged 1 commit into
mainfrom
context/single-did-rule

Conversation

@Kzoeps

@Kzoeps Kzoeps commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Problem

Subject AT-URIs in getCommentCounts, getReactionCounts, getFollowerCounts, getEntityFollows and getActorReactions had an extra DID percent-escape check that no other query has. A DID with %GG was rejected here but accepted elsewhere.

Fix

  • Drop the extra check and its shared helper; subject URIs now use the same DID rule as every other query.
  • Regenerate Lua bundles; update the skill reference and add a changeset.

Subject AT-URI authorities now use the same DID rule as every other query.
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
api-endpoints Ready Ready Preview Nov 26, 2026 10:54am UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41083bb

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/happyview-modules Patch

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 Nov 26, 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 49 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed093811-6ff2-44c4-972e-d83b77f18234
Commits

Reviewing files that changed from the base of the PR and between b74d02c and 41083bb.

Files selected for processing: 11

  • .agents/skills/hypercerts-api/references/reliability.md
  • .changeset/subject-uri-did-rule.md
  • happyview-modules/lua/endpoints/getActorReactions.lua
  • happyview-modules/lua/endpoints/getCommentCounts.lua
  • happyview-modules/lua/endpoints/getEntityFollows.lua
  • happyview-modules/lua/endpoints/getFollowerCounts.lua
  • happyview-modules/lua/endpoints/getReactionCounts.lua
  • happyview-modules/lua/shared/subjectRecordUri.lua
  • happyview-modules/tests/http/feed-reactions.http.test.js
  • happyview-modules/tests/unit/tooling/comment-counts.test.js
  • happyview-modules/tests/unit/tooling/feed-reactions.test.js
  • Autofix · 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

@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@Kzoeps
Kzoeps merged commit 649c186 into main Nov 26, 2026
10 of 11 checks passed
@Kzoeps
Kzoeps deleted the context/single-did-rule branch November 26, 2026 11:35
@hypercerts-release-bot hypercerts-release-bot Bot mentioned this pull request Nov 26, 2026
Kzoeps added a commit that referenced this pull request Nov 26, 2026
Rebase onto main (#104 subject-URI rule, #106 Slingshot default): shared resolver_base_url returns the Slingshot default when HYPERCERTS_HANDLE_RESOLVER_URL is unset; set-invalid still errors in getProfile and omits the handle in getActor. Removes didPercentEscapes.lua, which nothing uses once #104 is on main.

This branch was successfully deployed

1 active deployment
Preview — 41083bbe Deployed Nov 26, 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