Skip to content

api: promote main to staging - #110

Merged
Kzoeps merged 17 commits into
stagingfrom
main
Nov 26, 2026
Merged

Kzoeps merged 17 commits into
stagingfrom
main

Conversation

@Kzoeps

@Kzoeps Kzoeps commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Promote main (98fba4b) to Staging.

Changes

Kzoeps and others added 17 commits November 24, 2026 22:32
Subject AT-URI authorities now use the same DID rule as every other query.
HYPERCERTS_HANDLE_RESOLVER_URL is now optional. Unset uses https://slingshot.microcosm.blue; a set invalid value still raises HandleResolverConfigError. The installer no longer prompts for, reads or creates the variable.
context: use the shared DID rule for subject URIs
getProfile: default handle resolver to Slingshot
getActor/getActors use valid_did directly, matching legacy percent-sequence handling. The resolver base URL check now requires only HTTPS, no credentials and no path, query or fragment; host, IP and port parsing is removed.
getActors and other actor views make no resolver calls and omit handle, since HappyView Lua HTTP is serial.
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.
getOrganization, getOrganizations and the list/search endpoints now hydrate
profile, organization and location through lookup_actors, so they match
getActors per DID by construction. Response bodies and the documented
OrganizationQueryFailed error are unchanged (lookup_actors takes the
caller's query function). Costs one extra indexed query per request.

The organization unit fake now answers by table and DID instead of call
order, and failures are injected per table.
…erage

Drops call-count, SQL-text and copied-limit assertions, folds the default
resolver run into the handle projection test, and checks organization and
getActors responses against the shared actorView schema over HTTP. Adds
getActor with real sidecars, per-DID parity between organization endpoints
and getActors, handle omission on organization batch/list/search, a missing
http client case and a test pinning the looser resolver origin check.
api: add actor views with best-effort handle lookup
@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 1:19pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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: 48c235f8-a1f3-4403-b094-0e0692685392

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 98fba4b

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

This PR includes changesets to release 2 packages
Name Type
@hypercerts-org/happyview-modules Minor
@hypercerts-org/api Major

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

@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@Kzoeps
Kzoeps merged commit 35c2442 into staging Nov 26, 2026
17 of 20 checks passed

This branch was successfully deployed

2 active deployments
Preview — 98fba4ba Deployed Nov 26, 2026 by vercel[bot]
Test — 98fba4ba Deployed Nov 26, 2026 by Kzoeps via Install HappyView modules (Test) #40
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