Skip to content

Conversation

@DeleMike
Copy link
Collaborator

@DeleMike DeleMike commented Dec 12, 2025

Contributor checklist

  • This pull request is on a separate branch and not the main branch
  • I have ran the ./pre-commit executable as well as make lint and have fixed all reported issues

Description

A PR to send update_scribe_data.yml workflow results to the Data channel.

Related issue

@github-actions
Copy link

Thank you for the pull request! 💙

The Scribe-Server team will do our best to address your contribution as soon as we can. If you're not already a member of our public Matrix community, please consider joining! We'd suggest that you use the Element client as well as Element X for a mobile app, and definitely join the General and Data rooms once you're in. Also consider attending our bi-weekly Saturday dev syncs. It'd be great to meet you 😊

Note

Scribe uses Conventional Comments in reviews to make sure that communication is as clear as possible.

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

Maintainer Checklist

The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)

  • The CHANGELOG has been updated with a description of the changes for the upcoming release and the corresponding issue (if necessary)
  • The continuous integration (CI) workflows within the PR checks do not indicate new errors in the files changed

add test workflow

fix branch name

change process

add main

update secrets

fix secret

update workflow

fix script

update test text

test script flow

change dump file host

test flow

reopen flow

update secrets

update data

add scribe bot access token

update dump date and time

remove test file
@DeleMike DeleMike force-pushed the feat/server-matrix-notification branch from 22f2ff6 to 9b260d9 Compare December 12, 2025 14:21
@DeleMike
Copy link
Collaborator Author

Hi @andrewtavis , I have a PR up to send update_scribe_data.yml workflow results to the Data channel.

The last stage is to have Scribe-bot in my Space and see it in action in the test room. I requested an invite from the Scribe bot, if it is possible.

Once I see how it behaves in my room via the workflow, then I can be certain of this PR.

But I have already added its configs, so I expect it to work well regardless.

Here is a sample result we are sending. What do you think?


✅ Toolforge Server Update Successful

  • Languages processed: 1 (english)
  • Data types processed: 2 (nouns verbs)
  • Data Generation: Completed
  • SQLite Conversion: Completed
  • Files Copied: 1 file to the server

🎉 Success: Data fetched from Scribe-Data has been updated on Toolforge and migrated to MariaDB!

View Full Log


See a typical result

@axif0 axif0 self-requested a review December 20, 2025 08:37
@andrewtavis
Copy link
Member

Sorry for not checking in here, @DeleMike :) @axif0, would you say we're good to merge here? Messages look good to me 😊

@axif0
Copy link
Member

axif0 commented Dec 27, 2025

Sorry for not checking in here, @DeleMike :) @axif0, would you say we're good to merge here? Messages look good to me 😊

Looks good to me. 🚀

update_data.sh Outdated
# Auto-confirm the download prompt with "y" for the initial confirmation.
echo "y" | scribe-data download -wdv latest || {
# scribe-data download -wdv latest
echo "y" | scribe-data download -wdv 20251210 || {
Copy link
Member

Choose a reason for hiding this comment

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

question: This should be switched back to latest, right? I think we're also planning on not using dumps for the data updates at this time, so we should switch this for the command that runs the queries for the given languages?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

okay, I will have to correct it. The dump website at the time was having bad data dump so it could not be parsed.

I will test and see if it works now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have tested the command scribe-data download -wdv latest, locally, and the latest-lexemes.json is valid now. I will revert.

@DeleMike
Copy link
Collaborator Author

@andrewtavis I have reverted it. Can you review please?

Copy link
Member

@andrewtavis andrewtavis left a comment

Choose a reason for hiding this comment

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

praise: All's looking great here, @DeleMike 😊 Thank you so much for the work here to have this process visible to the community 💙🩵

@andrewtavis andrewtavis merged commit 380edda into scribe-org:main Dec 28, 2025
2 checks passed
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.

Send message to Data channel on Matrix after a Scribe-Server data update

3 participants