department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
283 stars 205 forks source link

FE | Profile | BAI | Feature Toggles (x2) #42144

Closed SKasimow closed 2 years ago

SKasimow commented 2 years ago

Background

Describe the issue background and scope

Tasks

Acceptance Criteria

How to configure this issue

mdewey commented 2 years ago

Summary for ngrok

what is it?

Ngrok allows for tunneling to a local developer machine. The theory is that we can those who want to validate use a developer machine to test new features and such without having to push to staging/production.

results

After spending a day of work on this it looks like it can be done with about a day or so more of work. It does have its limitations. I could not get it to actually work, but there is a path forward on how to get it to work.

I do not recommend this route for UAT, but for internal testing (accessibility, design verification, etc.) this could be good.

good

limitations

adamwhitlock1 commented 2 years ago

100% agree with all the Ngrok comments. I messed around with it locally and saw the same things.

As far as the API goes that is definitely the biggest challenge (and will probably be challenging for codespaces as well)

Random ideas that popped into my head:

mdewey commented 2 years ago

Github Codespaces:

After a day of looking into codespaces, it seems to not be working with our infrastructure.

I reached out to the platform team and they also are not sure why it's not working. I don't think this is a good option, yet.

Platform thread: https://dsva.slack.com/archives/CBU0KDSB1/p1654794880712099

TL;DR; Currently not supported.

mdewey commented 2 years ago

Slack thread with VSP-Identity: https://dsva.slack.com/archives/CSFV4QTKN/p1655150178323549