Skip to content

docs: add SDM release troubleshooting info#157

Merged
Aaron ("AJ") Steers (aaronsteers) merged 5 commits into
mainfrom
aj/docs/update-release-docs-with-sdm-troubleshooting-f
Dec 9, 2024
Merged

docs: add SDM release troubleshooting info#157
Aaron ("AJ") Steers (aaronsteers) merged 5 commits into
mainfrom
aj/docs/update-release-docs-with-sdm-troubleshooting-f

Conversation

@aaronsteers
Copy link
Copy Markdown
Member

@aaronsteers Aaron ("AJ") Steers (aaronsteers) commented Dec 9, 2024

This PR adds context for how to troubleshoot releases, including context on what is deployed where - and how to test/monitor different components of the process.

Note: I need help to fill out the "TODO" sections. If you use the "suggestions" feature in GitHub, or just comment here in the PR with additional info, I'll take these inputs and merge those back into the instructions docs.

Summary by CodeRabbit

  • Documentation
    • Updated the RELEASES.md document with a new section on understanding and debugging Builder and SDM releases.
    • Added detailed guidance on the interaction between the Connector Builder and the CDK Python package.
    • Provided instructions for confirming SDM versions and pretesting changes to SDM images.

Comment thread docs/RELEASES.md Outdated
Comment thread docs/RELEASES.md Outdated
Comment thread docs/RELEASES.md Outdated
Comment thread docs/RELEASES.md Outdated
Comment thread docs/RELEASES.md Outdated
Co-authored-by: Christo Grabowski <108154848+ChristoGrab@users.noreply.github.com>
@aaronsteers Aaron ("AJ") Steers (aaronsteers) marked this pull request as ready for review December 9, 2024 21:43
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 9, 2024

📝 Walkthrough

Walkthrough

The pull request updates the docs/RELEASES.md file to include a new section titled "Understanding and Debugging Builder and SDM Releases." This section details the interaction between the Connector Builder and the CDK Python package, the publish flow involving pull requests, and the management of the SDM image. It also provides guidance on confirming the SDM version and pretesting changes to SDM images, emphasizing caution during manual updates to the production database.

Changes

File Change Summary
docs/RELEASES.md Added a new section on "Understanding and Debugging Builder and SDM Releases," detailing interactions, publish flow, SDM image usage, version confirmation, and pretesting guidance.

Possibly related PRs

Suggested reviewers

  • natikgadzhi
  • alafanechere
  • maxi297

What do you think about reaching out to these reviewers for their insights? Wdyt?


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Experiment)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (5)
docs/RELEASES.md (5)

34-34: Minor typo in "Manifest"

There's a small typo in "Manfiest" - should be "Manifest". Wdyt about fixing this? 🔍

-Source Declarative Manfiest code
+Source Declarative Manifest code

42-42: Consider adding a comma for better readability

Would you consider adding a comma before "so" to improve the flow? 🤔

-Currently we don't pre-test images in Platform so manual testing is needed.
+Currently we don't pre-test images in Platform, so manual testing is needed.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~42-~42: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...tly we don't pre-test images in Platform so manual testing is needed. ### How to c...

(COMMA_COMPOUND_SENTENCE_2)


50-50: Grammar: Article usage with "Builder-created"

Should we change "an Builder-created" to "a Builder-created" since "Builder" starts with a consonant sound? 📝

-you can run an Builder-created connector
+you can run a Builder-created connector
🧰 Tools
🪛 LanguageTool

[misspelling] ~50-~50: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...not available as an option, you can run an Builder-created connector in Cloud and ...

(EN_A_VS_AN)


52-52: Consider tracking the TODO as an issue

This TODO about finding alternatives to direct prod DB access seems important for security and accessibility. Would you like me to help create a GitHub issue to track this? 🤝


74-82: Consider adding prerequisites for Cloud testing

The Cloud testing section provides good steps, but what do you think about adding prerequisites like:

  • Required access levels
  • Backup recommendations
  • Rollback procedures in case of issues

This could help prevent accidental issues when working with prod DB. Wdyt? 🛡️

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between a712441 and 2dc486c.

📒 Files selected for processing (1)
  • docs/RELEASES.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/RELEASES.md

[grammar] ~36-~36: Did you mean the noun “publishing”?
Context: ...ect to change this in the future.) Our publish flow sends a PR to the Builder repo (`a...

(PREPOSITION_VERB)


[uncategorized] ~42-~42: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...tly we don't pre-test images in Platform so manual testing is needed. ### How to c...

(COMMA_COMPOUND_SENTENCE_2)


[uncategorized] ~45-~45: A comma may be missing after the conjunctive/linking adverb ‘Currently’.
Context: ...at SDM version is used on the Platform Currently there are two ways to do this. The fir...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[misspelling] ~50-~50: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...not available as an option, you can run an Builder-created connector in Cloud and ...

(EN_A_VS_AN)


[grammar] ~60-~60: Did you mean the noun “publishing”?
Context: ...ting Manifest-Only connectors Once the publish pipeline has completed, choose a connec...

(PREPOSITION_VERB)


[grammar] ~68-~68: Did you mean the noun “publishing”?
Context: ...ng Low-Code Python connectors Once the publish pipeline has completed, set the version...

(PREPOSITION_VERB)

🔇 Additional comments (1)
docs/RELEASES.md (1)

30-82: Great addition to the documentation! 👏

The new sections provide valuable insights into the SDM release process and testing procedures. The structure is clear and the warnings about production access are appropriately emphasized.

🧰 Tools
🪛 LanguageTool

[grammar] ~36-~36: Did you mean the noun “publishing”?
Context: ...ect to change this in the future.) Our publish flow sends a PR to the Builder repo (`a...

(PREPOSITION_VERB)


[uncategorized] ~42-~42: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...tly we don't pre-test images in Platform so manual testing is needed. ### How to c...

(COMMA_COMPOUND_SENTENCE_2)


[uncategorized] ~45-~45: A comma may be missing after the conjunctive/linking adverb ‘Currently’.
Context: ...at SDM version is used on the Platform Currently there are two ways to do this. The fir...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[misspelling] ~50-~50: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...not available as an option, you can run an Builder-created connector in Cloud and ...

(EN_A_VS_AN)


[grammar] ~60-~60: Did you mean the noun “publishing”?
Context: ...ting Manifest-Only connectors Once the publish pipeline has completed, choose a connec...

(PREPOSITION_VERB)


[grammar] ~68-~68: Did you mean the noun “publishing”?
Context: ...ng Low-Code Python connectors Once the publish pipeline has completed, set the version...

(PREPOSITION_VERB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants