-
Notifications
You must be signed in to change notification settings - Fork 26
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
Upgrade Docusaurs Version and Add Integration Tests #491
Comments
💎 $250 bounty • Permit.ioSteps to solve:
Thank you for contributing to permitio/docs! Add a bounty • Share on socials
|
/attempt #491
|
Hey @onyedikachi-david , thanks for considering this issue, |
Hello @gemanor, I would like to get assigned and work on this task. Below is my detailed plan and timeline for upgrading Docusaurus to version 3.7 and implementing integration tests Plan
For my experience during my undergraduate summer internship last year at Mindtree, I worked with Docusaurus to build and maintain internal documentation sites. This included tasks such as upgrading versions, resolving compatibility issues and refactor for the overall quality of the documentation platform. |
/attempt #491
|
Project Goals
Detailed Plan1. Upgrade to Docusaurus 3.7
2 Compatibility Check
3. Implement Playwright Tests
4. Fix Failed Tests
5. CI Configuration
6. Final Testing and Review
Timeline
Project Duration16 days (approximately 2.5 weeks) Key Deliverables
/attempt #491 Options |
Quick suggestion: Per earlier contributions in another project and other experiences, it would be great to start this with Playwright + Argos, possibly. This way, we can ensure all tests pass at least once, breaking up the dependency between the CI/framework setup/tests themselves and dependencies. While it's feasible and pretty much ok, testing earlier would maybe have higher confidence when migrating. Note that this is only a suggestion from a fellow contributor, and I'm not affiliated with the project in any way, so it's more general advice and not a must. Also, I am open to contributing to the automation test/ci part if you feel comfortable with it @asr2003 |
Hey @ologbonowiwi , your suggestion make sense to me. I hope that @asr2003 will collaborate with you on that. |
@gemanor I have already started working on it |
hey guys, I had some wip of the tests and decided to proceed (never worked with argos before and it seemed fun), so I added the integration tests stuff on #492 |
@gemanor To update progress, I have updated and fixed few issues encountered after update in codebase |
Thanks, @ologbonowiwi, I'll take a look on the PR tomorrow (although this PR assigned to @asr2003) @asr2003 you mean updated to 3.7 with tests+Argos? Can you share the WIP PR please? |
@asr2003 when running the Playwright tests and taking screenshots, you can skip all the pages from version 1.0.0 as they are in end of life |
Hey @asr2003 - please update your progress with a draft PR by today's EOD so we can keep you assigned to this issue |
Sure! |
@gemanor Can you confirm this issue is with me or with you too??
Installation is failing. But it worked before I have cleaned it and installed freshly and i am hitting this issue today |
prob safer to run |
We are using |
And all works fine |
@gemanor From README I used the yarn and it got messed up i guess then. I need to switch back to npm again and build and test my changes. |
Okay. Please share the PR draft when you have it. |
@gemanor Could I know the specific node and npm versions to use? It hitting the build issues to start with npm of asking incompat npm and node versions Edit: Worked now after few experiments with versions UPDATE: There are two major migrations here MDX to v3 and react to 18. I have successfully fixed MDX and migrating react. Once this done I will draft PR |
Thanks @asr2003 - Please let us know when you have a PR ready. |
@asr2003 any estimations for the Draft PR? |
@gemanor I have messed up when I have upgraded all once. Errors are emitted like rabbithole and now I have the went in a structured approach first upgrading prerequisites. I am opening draft shortly with prerequisites updates of |
Hey, @ologbonowiwi , most of our discussion is in the PR created by @asr2003 - take a look at #499 |
I honestly don't mind on not getting the bounty for #492, but unless we merge the argo thing before the update (feel free to open your version only with argos @asr2003, since you were assigned anyways and you have almost the same done on your side), we'll not be able to actually verify that the app is rendered in the same way, since we won't have current version to check against (as the first run will be on the new version 😅). Also, one find I had running Argos a few times and having a working dashboard on my fork: video elements are bjorked. since the screenshot is taken as soon as the page loads, the video is not loaded yet, and the spin is always in different positions. this makes the tests flaky and generates unnecessary checks. we'd be better of changing css of videos to The same can also be seen on @asr2003 Argos dashboard, here: https://app.argos-ci.com/asr2003/permitio-docs/builds/6/133925369 |
Thanks for the comments and direction here, @ologbonowiwi! Super appreciated! @asr2003 can you address the points he brought here? |
@gemanor Yes, it's better if we first merge only argo part so that we can have clear view of changes through upgrade breaking changes from stable version |
Left a comment in the PR, please open a PR for only this step (no upgrades), and after it will pass we will merge it |
Hey, @asr2003 , can you address the comments from me and @ologbonowiwi in the Argos PR so we can merge it? |
@asr2003 - as we merged the Argos, let's now focus on the upgrade. Please share the timeline when you have jt |
Will try to wrap up it today
…On Tue, 18 Feb, 2025, 4:06 am Gabriel Manor, ***@***.***> wrote:
@asr2003 <https://github.com/asr2003> - as we merged the Argos, let's now
focus on the upgrade. Please share the timeline when you have jt
—
Reply to this email directly, view it on GitHub
<#491 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGXZB6DIWD6RKWV7FCDFKDD2QJP6JAVCNFSM6AAAAABVSHDH7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRUGE3TIOJTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: gemanor]*gemanor* left a comment (permitio/docs#491)
<#491 (comment)>
@asr2003 <https://github.com/asr2003> - as we merged the Argos, let's now
focus on the upgrade. Please share the timeline when you have jt
—
Reply to this email directly, view it on GitHub
<#491 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGXZB6DIWD6RKWV7FCDFKDD2QJP6JAVCNFSM6AAAAABVSHDH7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRUGE3TIOJTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Looking forward to it :) |
Hey, @asr2003 , we are after time here and looking to do the upgrade ASAP. Is there any news with your implementation, or can we assign it to someone else? |
Yes, will push update by EOD
Edit: I have tried with all possible ways to fix that build fail. But no luck after I followed each step of Docausars migration guide. So I am following up wirh the docusaurus team in discord. Will hope any reply from team and will push changes here
…On Thu, 20 Feb, 2025, 11:55 am Gabriel Manor, ***@***.***> wrote:
Hey, @asr2003 <https://github.com/asr2003> , we are after time here and
looking to do the upgrade ASAP. Is there any news with your implementation,
or can we assign it to someone else?
—
Reply to this email directly, view it on GitHub
<#491 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGXZB6BFYGFAOJZVOBFFQZT2QVYNLAVCNFSM6AAAAABVSHDH7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZQGU3TIMZYGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: gemanor]*gemanor* left a comment (permitio/docs#491)
<#491 (comment)>
Hey, @asr2003 <https://github.com/asr2003> , we are after time here and
looking to do the upgrade ASAP. Is there any news with your implementation,
or can we assign it to someone else?
—
Reply to this email directly, view it on GitHub
<#491 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGXZB6BFYGFAOJZVOBFFQZT2QVYNLAVCNFSM6AAAAABVSHDH7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZQGU3TIMZYGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am looking forward to this progressing. Is it the same problem you described in the draft PR? |
Details
We want to upgrade the Docusaurus version of the docs to the latest stable version - 3.7
To ensure the quality of the upgrade, this task contains the following subtasks:
.github
folderBounty Assignment
The text was updated successfully, but these errors were encountered: