Skip to content

Conversation

jferrl
Copy link
Contributor

@jferrl jferrl commented Aug 17, 2025

Implements GET /assignments/{assignment_id} endpoint for retrieving GitHub Classroom assignment details.

Changes

  • New service: ClassroomService with GetAssignment() method
  • New structs: ClassroomAssignment and Classroom with organization details

Issue #3684

# Add GitHub Classroom GetAssignment API endpoint

Implements `GET /assignments/{assignment_id}` endpoint for retrieving GitHub Classroom assignment details.

## Changes

- **New service**: `ClassroomService` with `GetAssignment()` method
- **New structs**: `Assignment` (19 fields) and `Classroom` with organization details
@gmlewis gmlewis changed the title feat: add GitHub Classroom GetAssignment API endpoint feat: Add GitHub Classroom GetAssignment API endpoint Aug 17, 2025
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Aug 17, 2025
Copy link

codecov bot commented Aug 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.08%. Comparing base (69dc04b) to head (bef279d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3685   +/-   ##
=======================================
  Coverage   91.07%   91.08%           
=======================================
  Files         186      187    +1     
  Lines       16563    16581   +18     
=======================================
+ Hits        15085    15103   +18     
  Misses       1293     1293           
  Partials      185      185           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @jferrl!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@alexandear or @stevehipwell - might you have time for a code review? Thank you!

Refactors the Assignment struct and related methods to ClassroomAssignment for improved clarity and consistency. Updates all accessors, service methods, and tests to use the new name.
@jferrl jferrl requested a review from stevehipwell August 18, 2025 11:41
Copy link
Contributor

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

LGTM

@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Aug 18, 2025
@gmlewis
Copy link
Collaborator

gmlewis commented Aug 18, 2025

Thank you, @stevehipwell!
Merging.

@gmlewis gmlewis merged commit dc807dd into google:master Aug 18, 2025
7 checks passed
@jferrl jferrl deleted the jferrl-3684 branch August 18, 2025 20:49
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.

3 participants