thunderbird / thunderbird/appointment

Consider moving routing closer to application code

Open
#560 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infra maintenance
Dominant language
Python
Stars
552
Forks
29
Avg merge
1d 6h
Merged PRs (30d)
23

Description

Is your feature request related to a problem? Please describe.
From an incident, we ran into routing issues due to a hard to diagnose issue with CloudFront rewrites, and one that happened suddenly without any changes on our end.

Describe the solution you'd like
Investigate ways to move all routing to something we directly control, either back in frontend container (nginx or other) or as a router in the backend code (could bring up oauth issues). This way, we control the routing and it's not up to the whims of AWS.

The main question here is, do we want it in the backend app code, or do we want a frontend container?

One thing we have to keep in mind is how we are going to handle short url redirects and perhaps eventual products like custom domains that route back to us.

fwiw, in the interest of time and considering our few resources, I'm happy to move back to the frontend container solution and just work from there if it's easier.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked incident and reviewing the current CloudFront rewrite behavior. Compare routing in the frontend container with routing in the backend, including OAuth, short URL redirects, and possible custom domains. Done means documenting a chosen direction and the scope needed to move routing under project control.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, nginx, python
Domain
backend, cloud, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.