Skip to content
This repository was archived by the owner on Jul 7, 2026. It is now read-only.

Fix/error handling - #105

Merged
florian-jaeger merged 14 commits into
release-0.12.4from
fix/error-handling
Jun 1, 2026
Merged

florian-jaeger merged 14 commits into
release-0.12.4from
fix/error-handling

Conversation

@nadjajovancevic

Copy link
Copy Markdown
Contributor

No description provided.

…lse` (#92)

With this fix the value of the `complete` query parameter is appended to the url when it's either `true` or `false`, which makes the processing of it in the backend work correctly as well.
* fix: complete argument is appended to the url when it's `true` or `false`

* fix: changed api endpoint to accept multiple parameters (`complete` and `instructor`)

* fix: adjusted all references of `getAllLectures` function
* fix: fix error message when commiting files fails

* WIP: adjust error message shown in snackbar

* fix: raise GitError

* fix: change status code and remove `reason`

* fix: replace `HTTPError` with `APIError` where error message is passed to `reason`

* fix: prioritize `message` attribute from `errorData`

* WIP: use GraderErrorMixin instead of duplicating code for `write_error`

* WIP: use `APIError` from `grader_service`

* fix: replace `CalledProcessError` with `GitError`
* WIP: allow pulling original files from user

* WIP: show/disable buttons based on autograding behavior

* WIP: add lecture id as query parameter for authorization check in backend + refactor

* fix: show feedback button correctly based on autograding behavior
* fix: error reason over message

Refs: #111
@nadjajovancevic
nadjajovancevic changed the base branch from release-0.10.1 to release-0.12.1 May 13, 2026 12:58
* fix: prioritize error reason over message (#112)

* fix: error reason over message

Refs: #111

* fix: display "extra file" chip when a user adds additional files to the assignment, ref: #113

Co-authored-by: Florian Jäger <florian.jaeger@tuwien.ac.at>
Co-authored-by: Nadja Jovancevic <e12121824@student.tuwien.ac.at>
@nadjajovancevic
nadjajovancevic changed the base branch from release-0.12.1 to release-0.12.4 May 19, 2026 12:12
@nadjajovancevic
nadjajovancevic changed the base branch from release-0.12.4 to release-0.12.1 May 19, 2026 12:25
Comment on lines +143 to +144
submission["auto_status"] == "not_graded"
or submission["auto_status"] == "grading_failed"

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.

You could use the AutoStatus enum-model here, I suppose?

@florian-jaeger
florian-jaeger changed the base branch from release-0.12.1 to release-0.12.4 June 1, 2026 13:22
@florian-jaeger
florian-jaeger merged commit 0e1776b into release-0.12.4 Jun 1, 2026
3 checks passed
@florian-jaeger
florian-jaeger deleted the fix/error-handling branch June 1, 2026 13:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants