Skip to content

Update app host - #108

Open
sbastn wants to merge 4 commits into
mainfrom
update-app-host
Open

Update app host#108
sbastn wants to merge 4 commits into
mainfrom
update-app-host

Conversation

@sbastn

@sbastn sbastn commented Aug 5, 2026

Copy link
Copy Markdown
Member

Updates Strillone-generated links to use https://app.dnsimple.com by default, reflecting the separation between the public site and application hosts.

DNSIMPLE_URL remains available as a deployment override. Test coverage and README configuration documentation have been updated accordingly.

🔍 QA

Scenario: manual test

  1. Start strillone locally:
DNSIMPLE_URL=https://app.dnsimple.com go run ./cmd/strillone
  1. Create or use an incoming webhook in Slack. Copy the URL, it should be something like https://hooks.slack.com/services/T00000000/B00000000/xxxxxxxx
  2. Post to the equivalent local Strillone endpoint:
curl -i \
  -X POST 'http://localhost:4000/slack/T00000000/B00000000/xxxxxxxx' \
  -H 'Content-Type: application/json' \
  --data '{
    "data": {
      "domain": {
        "id": 1,
        "name": "example.com",
        "state": "hosted",
        "account_id": 1010
      }
    },
    "actor": {
      "id": "1",
      "entity": "user",
      "pretty": "example@example.com"
    },
    "account": {
      "id": 1010,
      "display": "Example Account",
      "identifier": "example-account"
    },
    "name": "domain.create",
    "api_version": "v2",
    "request_identifier": "local-app-host-test-001"
  }'
  1. Verify that the terminal with Stillone logs the POST and it contains the correct app host:
➜  strillone git:(update-app-host) DNSIMPLE_URL=https://app.dnsimple.com go run ./cmd/strillone
2026/08/05 18:25:43 Starting dnsimple-strillone/
2026/08/05 18:25:43 WebServer listening on :4000...
2026/08/05 18:28:23 POST /slack/T00000/B0000000000
2026/08/05 18:28:23 [event:local-app-host-test-001] [<https://app.dnsimple.com/a/1010/account|Example Account>] example@example.com created the domain <https://app.dnsimple.com/a/1010/domains/example.com|example.com>
2026/08/05 18:28:23 [event:local-app-host-test-001] Sending event to slack https://hooks.slack.com/services/T00000/B00000000

📋 Deployment Pre/Post tasks

N/A

:shipit: Deployment Verification

@sbastn sbastn self-assigned this Aug 5, 2026
@sbastn sbastn added the task label Aug 5, 2026
@sbastn
sbastn requested review from juankuquintana and weppos August 5, 2026 16:38

@juankuquintana juankuquintana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QAd

Comment thread PLAN.md Outdated
@sbastn

sbastn commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

@dallasread @lokst this PR needs to be merged shortly after we provide the cut on dnsimple.com to app.dnsimple.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants