Skip to content

Purge actors and handle delete events#16

Merged
Kzoeps merged 10 commits intostagingfrom
main
Apr 17, 2026
Merged

Purge actors and handle delete events#16
Kzoeps merged 10 commits intostagingfrom
main

Conversation

@Kzoeps
Copy link
Copy Markdown
Collaborator

@Kzoeps Kzoeps commented Apr 17, 2026

No description provided.

Kzoeps and others added 10 commits April 16, 2026 14:20
…back

- Drop removeFromTap argument from purgeActor mutation and all call sites;
  Tap should not be touched by the indexer (separation of concerns, avoids
  partial-failure state where local data is deleted before Tap call fails)
- Remove RemoveRepoCallback type, field, setter, and startTap wiring
- Wrap DeleteByDID raw error with fmt.Errorf context
- Refactor TestActorsRepository_DeleteByDID to table-driven format

Co-Authored-By: Claude <noreply@anthropic.com>
…d add normalization

- Rename NEXT_PUBLIC_API_URL → NEXT_PUBLIC_HYPERINDEX_URL across all files
- Add NEXT_PUBLIC_HYPERINDEX_URL to env.ts with normalizePublicURL()
- Update HYPERINDEX_URL fallback chain: HYPERINDEX_URL → NEXT_PUBLIC_HYPERINDEX_URL → http://127.0.0.1:8080
- Drop HYPERGOAT_URL entirely from env.ts and graphql/client.ts
- Import env.HYPERINDEX_URL in graphql/client.ts instead of reading process.env directly
- Add inline normalizeUrl helper to next.config.ts (can't import from src/)
- Update Dockerfile ARG/ENV, .env.example comments, and docs/ENV_VARS.md

Co-Authored-By: Claude <noreply@anthropic.com>
Redirect target was resolving to the internal Railway address (0.0.0.0:8080)
instead of the public domain because request.url reflects the internal proxy
address. Fall back to requestUrl.origin for local dev.

Co-Authored-By: Claude <noreply@anthropic.com>
Prevents the GraphiQL endpoint URL from being treated as a relative path
by the browser when EXTERNAL_BASE_URL is set without a protocol prefix,
which caused the hostname to be doubled in the request path.

Co-Authored-By: Claude <noreply@anthropic.com>
Whitespace env values were collapsing to "" inside normalizeUrl/normalizePublicURL,
causing the localhost fallback to never be reached. Apply the fallback via ||
after normalization so blank/whitespace values correctly fall through.

Co-Authored-By: Claude <noreply@anthropic.com>
…alBaseURL

Co-Authored-By: Claude <noreply@anthropic.com>
feat: add actor purge workflow and identity-based cleanup
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 17, 2026

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

Project Deployment Actions Updated (UTC)
hyperindex-atproto-client Ready Ready Preview, Comment Apr 17, 2026 6:42am

Request Review

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 17, 2026

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

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c8fb27be-ec32-4290-9726-8067d604f3cb

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main

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 and usage tips.

@railway-app
Copy link
Copy Markdown

railway-app bot commented Apr 17, 2026

🚅 Deployed to the hyperindex-pr-16 environment in hyperindex-v2-setup

Service Status Web Updated (UTC)
hyperindex-client ✅ Success (View Logs) Web Apr 17, 2026 at 6:44 am
hyperindex ✅ Success (View Logs) Web Apr 17, 2026 at 6:44 am

@railway-app railway-app bot temporarily deployed to hyperindex-v2-setup / hyperindex-pr-16 April 17, 2026 06:42 Destroyed
@Kzoeps Kzoeps merged commit fe53c20 into staging Apr 17, 2026
13 checks passed
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