Skip to content

Epic/sapio study integration#5898

Open
wendyyang wants to merge 94 commits into
developfrom
Epic/Sapio_study_integration
Open

Epic/sapio study integration#5898
wendyyang wants to merge 94 commits into
developfrom
Epic/Sapio_study_integration

Conversation

@wendyyang

@wendyyang wendyyang commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Closes #

Changes proposed in this pull request

include the changes from y26-172 & y26-173
add a new field in Study table indicate mastered_in_sapio
block editing from SS UI
add condition in study controller
add update control in study model, only integration hub or console can update sapio study
add create API endpoint
feature flag with Flipper.

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

@wendyyang
wendyyang marked this pull request as ready for review July 24, 2026 13:11

@StephenHulme StephenHulme left a comment

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.

Good work on a challenging integration

Comment on lines +60 to +68
render status: :forbidden,
json: {
errors: [
{
title: 'Forbidden',
detail: 'Integration Hub API key required.'
}
]
}

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.

praise: nice handling of authentication failure

Comment on lines +164 to 165
# Checks whether the required JSON:API search filter parameter is absent or blank.
# Checks whether the required JSON:API search filter parameter is present?

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.

Possible duplicate?

Comment thread spec/spec_helper.rb
example.run
Flipper.enable(:y26_172_enable_sapio_mastered_study_restrictions, sapio_restrictions_enabled)
end

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.

Nice helper - makes testing much easier.

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