Skip to content

add CodeAI to international partner lists#73284

Merged
carl-codeorg merged 3 commits into
stagingfrom
p20-1905/int-partners
Jun 16, 2026
Merged

add CodeAI to international partner lists#73284
carl-codeorg merged 3 commits into
stagingfrom
p20-1905/int-partners

Conversation

@carl-codeorg

@carl-codeorg carl-codeorg commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The global team has requested that the CodeAI name be added to the list of workshop organizers for all countries. The idea is that CodeAI will be doing direct training in the future. Accomplishes the same as #73276 but without modifying the partner JSON.

Screen.Recording.2026-06-16.at.12.28.54.PM.mov

Links

JIRA

Testing story

Deployment notes

Privacy and security

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the international opt-in partner data loader to inject “CodeAI” into the workshop organizer options for all countries at runtime (instead of editing the partner JSON), ensuring the organizer list includes CodeAI everywhere.

Changes:

  • Add CodeAI as an additional organizer option in PartnerDataLoader.partner_entries.
  • Update/extend the unit test to validate the injected organizer option is present in all country lists.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
dashboard/lib/services/international_opt_in/partner_data_loader.rb Injects an additional organizer option into every country’s organizer list returned by partner_entries.
dashboard/test/lib/services/international_opt_in/partner_data_loader_test.rb Extends coverage to assert the new injected organizer option is present in all returned lists.

Comment thread dashboard/lib/services/international_opt_in/partner_data_loader.rb
@carl-codeorg carl-codeorg marked this pull request as ready for review June 16, 2026 20:00
@carl-codeorg carl-codeorg requested a review from a team June 16, 2026 20:00

_(entries).must_be_kind_of Hash
entries.values.each do |values|
_(values).must_include 'CodeAI'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What do you think of using the helper here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sounds good, just pushed that change.

@carl-codeorg carl-codeorg force-pushed the p20-1905/int-partners branch from 94d90e2 to e8792f6 Compare June 16, 2026 20:01
@carl-codeorg carl-codeorg merged commit 5b31299 into staging Jun 16, 2026
8 checks passed
@carl-codeorg carl-codeorg deleted the p20-1905/int-partners branch June 16, 2026 21:09
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.

4 participants