Skip to content

api: promote staging to production - #111

Merged
Kzoeps merged 18 commits into
productionfrom
staging
Nov 26, 2026
Merged

Kzoeps merged 18 commits into
productionfrom
staging

Conversation

@Kzoeps

@Kzoeps Kzoeps commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Promotes staging to production.

Includes:

Kzoeps and others added 18 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
api: promote main to staging
@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:28pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 35c2442

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

@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: 010a53b6-b0de-43a9-b489-630fb241aee3

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

@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@Kzoeps
Kzoeps merged commit d0c127e into production Nov 26, 2026
9 of 10 checks passed

This branch was successfully deployed

1 active deployment
Staging — 35c2442d Deployed Nov 26, 2026 by Kzoeps via Install HappyView modules (Staging) #41
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