Skip to content

chore: fix CI for redwood#819

Merged
Agrendalath merged 4 commits intoopencraft-release/redwood.1from
samuel/fix-redwood-ci
Jan 27, 2026
Merged

chore: fix CI for redwood#819
Agrendalath merged 4 commits intoopencraft-release/redwood.1from
samuel/fix-redwood-ci

Conversation

@samuelallan72
Copy link
Member

@samuelallan72 samuelallan72 commented Jan 22, 2026

Diff against upstream master workflows and copy across relevant updates to bring the CI more inline with upstream master and get it running again. Also fix some failing tests along the way.

Private-ref: https://tasks.opencraft.com/browse/BB-10470

@samuelallan72 samuelallan72 self-assigned this Jan 22, 2026
@samuelallan72 samuelallan72 changed the title chore: update ubuntu and python versions in CI chore: fix CI for redwood Jan 22, 2026
@samuelallan72
Copy link
Member Author

Run pylint --django-settings-module=lms.envs.test lms/djangoapps/badges/ lms/djangoapps/branding/ lms/djangoapps/bulk_email/ lms/djangoapps/bulk_enroll/ lms/djangoapps/bulk_user_retirement/ lms/djangoapps/ccx/ lms/djangoapps/certificates/ lms/djangoapps/commerce/ lms/djangoapps/course_api/ lms/djangoapps/course_blocks/ lms/djangoapps/course_home_api/ lms/djangoapps/course_wiki/ lms/djangoapps/coursewarehistoryextended/ lms/djangoapps/debug/ lms/djangoapps/courseware/ lms/djangoapps/course_goals/ lms/djangoapps/rss_proxy/
************* Module lms.djangoapps.courseware.management.commands.xblock_list_csv
lms/djangoapps/courseware/management/commands/xblock_list_csv.py:45:0: C0116: Missing function or method docstring (missing-function-docstring)
lms/djangoapps/courseware/management/commands/xblock_list_csv.py:82:12: E0602: Undefined variable 'self' (undefined-variable)

Note to self: this is flagging a legitimate bug in code introduced in #794

@samuelallan72
Copy link
Member Author

Note to self: this is flagging a legitimate bug in code introduced in #794

I've fixed this and a couple of failing unit tests here too.

Diff against upstream master workflows and copy across relevant updates
wherever possible.

This should get the CI running again,
and bring the CI more in line with upstream master.

Private-ref: https://tasks.opencraft.com/browse/BB-10470
@samuelallan72 samuelallan72 marked this pull request as ready for review January 23, 2026 03:02
@samuelallan72
Copy link
Member Author

@Agrendalath thanks for your review! I've addressed or replied to your comments, and got the CI passing. This is ready for review. :)

@samuelallan72 samuelallan72 force-pushed the samuel/fix-redwood-ci branch 7 times, most recently from 16c2c49 to b6c521c Compare January 27, 2026 04:43
Also add docstring to keep pylint happy and add some type hints.

Relates to #794
It looks like ora2 has been updated, and now has new fields.
Copy link
Member

@Agrendalath Agrendalath left a comment

Choose a reason for hiding this comment

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

👍

  • I tested this: checked that the CI is passing
  • I read through the code
  • I checked for accessibility issues: n/a
  • Includes documentation: n/a
  • Added to the Code Drift project board (for backports): n/a

@Agrendalath Agrendalath merged commit 4ce5af1 into opencraft-release/redwood.1 Jan 27, 2026
47 checks passed
@Agrendalath Agrendalath deleted the samuel/fix-redwood-ci branch January 27, 2026 19:23
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.

2 participants