Skip to content

getProfile: default handle resolver to Slingshot - #106

Merged
Kzoeps merged 2 commits into
mainfrom
resolver/slingshot-default
Nov 26, 2026
Merged

Kzoeps merged 2 commits into
mainfrom
resolver/slingshot-default

Conversation

@Kzoeps

@Kzoeps Kzoeps commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Problem

getProfile handle lookups failed unless HYPERCERTS_HANDLE_RESOLVER_URL was set, and the installer required or prompted for it.

Fix

  • Unset uses https://slingshot.microcosm.blue; a valid value overrides it; a set but invalid value still fails with HandleResolverConfigError.
  • pnpm install:api no longer prompts for, reads or creates the variable (existing values are kept). The deploy workflow stops passing it.
  • Lexicon descriptions, OpenAPI snapshots, generated client, docs and skill updated; changeset added.

Known limits

#103 also edits resolver config. Whichever merges second rebases and keeps one default.

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.
@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 11:42am UTC

Request Review

@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 2 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: e031988c-e958-4ac3-ade2-b0cb22cb123f
Commits

Reviewing files that changed from the base of the PR and between 649c186 and 17a74d3.

Files selected for processing: 19

  • .agents/skills/hypercerts-api/references/openapi.json
  • .agents/skills/hypercerts-api/references/recipes.md
  • .agents/skills/hypercerts-api/references/reliability.md
  • .changeset/slingshot-default-resolver.md
  • .github/workflows/deploy.yml
  • CONTRIBUTING.md
  • README.md
  • docs/openapi.json
  • docs/sources/lexicons/app.certified.actor.getProfile.json
  • happyview-modules/README.md
  • happyview-modules/lexicons/app.certified.actor.getProfile.json
  • happyview-modules/lua/endpoints/getProfile.lua
  • happyview-modules/lua/shared/profileLookup.lua
  • happyview-modules/tests/unit/tooling/installer-cli.test.js
  • happyview-modules/tests/unit/tooling/profile-installer.test.js
  • happyview-modules/tests/unit/tooling/profile.test.js
  • happyview-modules/tooling/installer.js
  • happyview-modules/tooling/run-http-tests.js
  • packages/api/src/lexicons/app/certified/actor/getProfile.defs.ts
  • 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: 34003e2

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 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

@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@Kzoeps
Kzoeps merged commit d3cb81c into main Nov 26, 2026
10 of 11 checks passed
@Kzoeps
Kzoeps deleted the resolver/slingshot-default branch November 26, 2026 11:44
@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 — 17a74d3b 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