Skip to content

feat: set vector as default data pipeline#1206

Closed
Ian2012 wants to merge 14 commits intoopenedx:mainfrom
Ian2012:cag/vector-default
Closed

feat: set vector as default data pipeline#1206
Ian2012 wants to merge 14 commits intoopenedx:mainfrom
Ian2012:cag/vector-default

Conversation

@Ian2012
Copy link
Copy Markdown
Contributor

@Ian2012 Ian2012 commented Mar 19, 2026

This PR sets Vector as the default data pipeline. It also includes a couple of improvements:

  • Stores the alembic migration in the same database to avoid conflicts (thanks @bmtcril).
  • Add tutor mounts for aspects-dbt. Now Aspects developers can work with a local copy of aspects-dbt without needing to push their changes to github. Just run tutor mounts add ./aspects-dbt/ or the directory where aspects-dbt is stored and run your local copy.
  • Enables Vector by default.

Caution

This is a breaking change. Users which install this version will disable their Ralph workloads if they do not update their configuration.

Depends on: openedx/aspects-dbt#164

Fixes: #1126 #1096

bmtcril and others added 13 commits March 6, 2026 10:44
Previously installing a clean Aspects with Vector set as the xAPI database migrations would fail due
to ASPECTS_XAPI_DATABASE not being the Ralph database. This upgrade fixes the migrations by adding
an explicit Ralph database variable allowing both databases to be created independantly as designed.
Previously Alembic state was stored in ASPECTS_XAPI_DATABASE, which can change when switching
between Ralph and Vector pipelines and cause Alembic to lose state and try to re-run all migrations.
This is now explicit.

Also makes sure Ralph uses the RALPH_DATABASE, simplifies and re-organizes the ClickHouse init
script and makes sure the Vector user can access databases needed for inserting into downstream MVs.
@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Mar 19, 2026
@openedx-webhooks
Copy link
Copy Markdown

openedx-webhooks commented Mar 19, 2026

Thanks for the pull request, @Ian2012!

This repository is currently maintained by @bmtcril.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

Details
Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@Ian2012 Ian2012 marked this pull request as ready for review March 19, 2026 19:51
@Ian2012 Ian2012 requested review from bmtcril and saraburns1 March 19, 2026 19:51
@Ian2012 Ian2012 closed this Mar 20, 2026
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in Contributions Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open-source-contribution PR author is not from Axim or 2U

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Bug: Migrations for Vector break when using it as the xAPI source

3 participants