Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ADR 002 which partially pivots on ADR 001 #382

Closed
wants to merge 1 commit into from
Closed

Conversation

chao-xian
Copy link
Contributor

No description provided.

@chao-xian chao-xian marked this pull request as ready for review August 3, 2023 15:43

This partially reverses the approach outlined in [ADR 001](001-porting-to-postgresql.md). We were going to piggy back on work by the Publishing Team who are building a proxy app to split requests between old and new router/router-api and content-store. However they've hit several issues and can't get it working.

On recommendation from the Tech Lead of the Platform Engineering team we are going to just use feature flags to manage the roll out.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you expand a bit on the feature flag approach please? Also, a brief outline on the rollout plan would be handy, if possible. It feels like there's a bit of extra context here that would be useful to get out of your head soon

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sihugh can you check that the expansion on feature flagging is ok?

Copy link
Contributor

@Tetrino Tetrino Aug 31, 2023

Choose a reason for hiding this comment

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

@sihugh @chao-xian So after discussing with @sengi it seems the feature flag is just unneeded complication.

Because Router doesn't hold any data whatsoever, simply reads from what is available, there isn't any need to have a separate live version of it ready to go.

For simplicity, we came to the conclusion that assuming that the separate postgres version of router-api is running in the background already, and is fully up to date (as in, all changes before it went "live" are synced, plus anything new after the fact), then there is no reason for Router to not just be delivered as normal.

It's a big change but also not a change that cares about what environment it's running on - so if we get it delivered and comfortable on Staging for a while to ensure it's fully working, we can just up it to production with minimal fuss.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK I'm going to close this, and simply open a PR to update the previous ADR to "rejected" status instead, referencing this as part of the trail.

@chao-xian
Copy link
Contributor Author

Let's do this instead: #395

@chao-xian chao-xian closed this Sep 4, 2023
@sengi sengi deleted the adr-002 branch April 28, 2024 10:54
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.

3 participants