Add developer policy for local running against CODE db - #928
Merged
Conversation
bryophyta
force-pushed
the
pf/developer-policy
branch
from
July 6, 2026 15:00
f946c3b to
d4caec3
Compare
bryophyta
force-pushed
the
pf/developer-policy
branch
2 times, most recently
from
July 6, 2026 15:08
3104f65 to
f07131d
Compare
bryophyta
force-pushed
the
pf/developer-policy
branch
from
July 14, 2026 11:42
ab65254 to
c73edc6
Compare
bryophyta
force-pushed
the
pf/developer-policy
branch
from
July 16, 2026 19:56
305b8b3 to
4e71106
Compare
bryophyta
force-pushed
the
pf/developer-policy
branch
from
July 16, 2026 20:17
4e71106 to
b1db20f
Compare
bryophyta
marked this pull request as ready for review
July 17, 2026 09:52
lindseydew
approved these changes
Jul 20, 2026
| ); | ||
|
|
||
| // Developer policy allowing engineers to run the app locally against the | ||
| // CODE database (./scripts/start --use-CODE). No-op outside the CODE stack (and included in TEST so we get the snapshot). |
|
Overdue on PROD (merged by @bryophyta 10 minutes and 4 seconds ago) What's gone wrong? |
|
Seen on PROD (merged by @bryophyta 12 minutes and 14 seconds ago) Please check your changes! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Adds a developer policy with all (and hopefully only) the permissions you need in order to run the app locally against the CODE database, e.g. using
./scripts/start --use-CODE.I also had to upgrade GuCDK in order to get the right constructs, so there are a couple of changes in this branch to accommodate that. They could be split out into a separate PR if distracting here.
How to test
./scripts/start --use-CODEto start Newswires locally; everything should work as it does when you have full developer credentials available locallyImages
Introducing DB migrations?
Database migrations need to be applied manually before releasing. The docs can be found in db/README.md