Skip to content

Conversation

@gnprice
Copy link
Member

@gnprice gnprice commented Apr 29, 2025

Chat thread: #mobile-team > notifications from dev server @ 💬

This is a companion change to:

Commit messages

e632d77 docs: Update dev-server instructions for tools/run-dev rename

This name got cleaned up, hooray. (A couple of years ago --
zulip/zulip@43b4f1057 -- but we use these instructions only
occasionally and update them less often than that.)

3fa6250 docs/push-notifications: Update how to register with bouncer

In particular PUSH_NOTIFICATION_BOUNCER_URL was replaced by
ZULIP_SERVICES_URL last year, in zulip/zulip@4a9314943.

I believe the need for a distinct EXTERNAL_HOST value when
registering the server with the bouncer came about as part of the
same work around the same time, though it may have been in a
different commit.

Also at some point the spelling of the flag got fixed to use
hyphens as in the normal CLI convention.

Chat thread, where I found the existing instructions no longer
worked and then we debugged:
https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/notifications.20from.20dev.20server/near/2159857

With these changes, the instructions work for me. (I didn't wipe my
dev server to verify it works from there, but I did reset all the
state I believe is relevant: removed my old custom_dev_settings.py
and the two zulip_org_* items from dev-secrets.conf .)

91f5c32 docs/push-notifications: Add troubleshooting for missing "plan"

gnprice added 3 commits April 28, 2025 20:33
This name got cleaned up, hooray.  (A couple of years ago --
zulip/zulip@43b4f1057 -- but we use these instructions only
occasionally and update them less often than that.)
In particular PUSH_NOTIFICATION_BOUNCER_URL was replaced by
ZULIP_SERVICES_URL last year, in zulip/zulip@4a9314943.

I believe the need for a distinct EXTERNAL_HOST value when
registering the server with the bouncer came about as part of the
same work around the same time, though it may have been in a
different commit.

Also at some point the spelling of the flag got fixed to use
hyphens as in the normal CLI convention.

Chat thread, where I found the existing instructions no longer
worked and then we debugged:
  https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/notifications.20from.20dev.20server/near/2159857

With these changes, the instructions work for me.  (I didn't wipe my
dev server to verify it works from there, but I did reset all the
state I believe is relevant: removed my old custom_dev_settings.py
and the two `zulip_org_*` items from dev-secrets.conf .)
@gnprice gnprice merged commit 91f5c32 into zulip:main Apr 29, 2025
1 check passed
@gnprice gnprice deleted the pr-server-docs branch April 29, 2025 03: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