Skip to content

Dependabot docs - #617

Open
ian-r-rose wants to merge 4 commits into
mainfrom
dependabot-docs
Open

Dependabot docs#617
ian-r-rose wants to merge 4 commits into
mainfrom
dependabot-docs

Conversation

@ian-r-rose

Copy link
Copy Markdown
Member

Proposed process for handling dependabot security updates

@britt-allen britt-allen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Ian! This is thoughtful work. I just did a readability pass with Hemingway.

Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md
Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md
Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md
Comment thread docs/code/dependabot-runbook.md Outdated
```
1. Open a pull request against `main` with your branch in GitHub. Once CI passes,
feel free to merge. We don't need to rely on code review for security patches.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think adding a step to confirm the Dependabot alert is resolved after the updated lockfile is merged might help?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I agree

Comment thread docs/code/dependabot-runbook.md
@britt-allen

Copy link
Copy Markdown
Contributor

dbt failure might be related to this

@ian-r-rose

Copy link
Copy Markdown
Member Author

dbt failure might be related to this

I kicked the build and it succeeded. Looked like a transient Snowflake error to me 🤷


Automated security scans can reduce vulnerabilities in our software dependencies.

## Decisions

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

for clarity -- these are decisions we've made, or decisions still up for discussion?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Let's talk about it! I didn't hear much objection to them when I proposed them, but I wouldn't consider these "decisions made" until we have some consensus and they are merged!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My take so far:

  1. Group pull requests -- I don't know if we have to protect against alarm fatigue if we're also implementing / enforcing a teamwide process for addressing them. Could go either way on this
  2. Dependency cooldowns -- I think we should do this!
  3. Avoid specific Dependabot configuration -- Why is it simpler to avoid configurations (assuming we would then apply all config as a default to our template? Is it because we have so many package ecosystems to monitor and it's not worth defining config for each one (as far as we know right now)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Avoid specific Dependabot configuration -- Why is it simpler to avoid configurations (assuming we would then apply all config as a default to our template? Is it because we have so many package ecosystems to monitor and it's not worth defining config for each one (as far as we know right now)?

Basically, because while propagating changes from our template to downstream projects works, it's kind of annoying (somewhat evidenced by how infrequently we do it). So my motivation here was to try the simplest thing that could possibly work (no configuration) first, and then re-evaluate if we need to.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@summer-mothwood are you okay with the proposed process as it sits?

Comment thread docs/code/dependabot-runbook.md Outdated
Comment thread docs/code/dependabot-runbook.md Outdated
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.

4 participants