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

[PM-11873] Add Database Testing Instructions #480

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

justindbaur
Copy link
Member

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-11873

📔 Objective

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation
    team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@justindbaur justindbaur requested a review from a team as a code owner November 20, 2024 21:00
Copy link

github-actions bot commented Nov 20, 2024

Logo
Checkmarx One – Scan Summary & Details0b371160-1e8e-40ec-94c9-b599754d7c93

No New Or Fixed Issues Found

@withinfocus
Copy link
Contributor

Any guess as to why we didn't get a deployment?

@justindbaur
Copy link
Member Author

Any guess as to why we didn't get a deployment?

@withinfocus Maybe because the last commit is a month old?

Copy link

cloudflare-workers-and-pages bot commented Nov 20, 2024

Deploying contributing-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5b13c27
Status: ✅  Deploy successful!
Preview URL: https://60daf331.contributing-docs.pages.dev
Branch Preview URL: https://database-testing.contributing-docs.pages.dev

View logs

@@ -0,0 +1,92 @@
# Database Integration Testing

Since Bitwarden has multiple database options (4), testing them all automatically is incredibly
Copy link
Contributor

Choose a reason for hiding this comment

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

🎨 I'd leave "4" out of this, as it could potentially change and this would be an easy miss.

docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
docs/contributing/testing/database/index.md Outdated Show resolved Hide resolved
Copy link
Member

@eliykat eliykat left a comment

Choose a reason for hiding this comment

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

@addisonbeck also had some changes and improvements in #457, can these PRs be combined at all?

You would also be interested in his related changes to migrate.ps1 - I think this is fairly essential to devs being able to set up and tear down their local integration testing dbs.

I think those PRs are blocked on my feedback which suggested changing the structure of the keys in user secrets.

@addisonbeck
Copy link

I think those PRs are blocked on bitwarden/server#4912 (comment) which suggested changing the structure of the keys in user secrets.

Yep! I haven't made it back around to these yet.

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