Skip to content

add local testing via tilt and remove typhon#47

Closed
DaytonG wants to merge 1 commit into
redboxllc:masterfrom
DaytonG:feature/tilt-testing-and-typhon-removal
Closed

add local testing via tilt and remove typhon#47
DaytonG wants to merge 1 commit into
redboxllc:masterfrom
DaytonG:feature/tilt-testing-and-typhon-removal

Conversation

@DaytonG

@DaytonG DaytonG commented Jun 25, 2021

Copy link
Copy Markdown

I realize this is a large, opinionated change. So feel free to reject this.

I work for a company that has strict security requirements. Our security scanners detected CVE-2020-14040 within scuttle, which looks to be caused by an indirect dependency through the typhon package. Looking at the code, I noticed that typhon could basically be replaced with the builtin net/http package, which is part of this PR. This has the added benefit of reducing the footprint of scuttle itself (11.6M down to 6.4M) while also decreasing its vulnerability footprint (slightly).

Since I was rooting around, I also nuked the vendor directory. Since this project uses modules effectively, I figured it was not as necessary.

Thirdly, I integrated KIND+tilt local development, as the docker-compose seemed to be broken. I've had great success with tilt in the past, and it allows us all to use a few simple commands to test our changes in real-deal kubernetes Pods.

Lastly, I fixed a few warnings surrounding uncaught errors (by just... ignoring most of them).

@DaytonG

DaytonG commented Jul 14, 2021

Copy link
Copy Markdown
Author

Is there anyone I can get to review this?

@linjmeyer linjmeyer self-requested a review July 15, 2021 13:53
@linjmeyer linjmeyer self-assigned this Jul 15, 2021
@linjmeyer linjmeyer added the enhancement New feature or request label Jul 15, 2021
@linjmeyer

Copy link
Copy Markdown

Hi @DaytonG, appreciate the PR. Could you break it into 2 PRs, one for the tilt/local dev changes and the typhon/vendor folder changes in this one? I'd like to hold off on the tilt changes until I can familiarize myself with that tool, never used it. The golang changes I don't have any issues with, I can merge that in today or tomorrow after taking a closer look and running tests.

Thanks!

@DaytonG

DaytonG commented Jul 27, 2021

Copy link
Copy Markdown
Author

Made a new PR, but I propose we keep this one open for the tilt changes, as it is a superset of #48

@linjmeyer

Copy link
Copy Markdown

Hello, I am leaving the Redbox org and will close this PR as I won't have time to review and it is several months old already

@linjmeyer linjmeyer closed this May 31, 2022
@neiljain neiljain mentioned this pull request Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants