• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / frontend / 25439889455
41%

Build:
DEFAULT BRANCH: master
Ran 06 May 2026 02:01PM UTC
Jobs 1
Files 467
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 May 2026 01:58PM UTC coverage: 41.359% (+0.6%) from 40.791%
25439889455

push

github

web-flow
Versioning and history (#3659)

* Implement Versioning and History of Editor Code for Assessment Workspaces

* Create tests for versioning and history feature

* Prevent submit answer from displaying success message, as submit status is the same as version history save status.

* Fix updateVersionName API route and getVersionHistory return value

* Fix bug causing double saving, now only submits answer, and allows the submission to save code to backend

* Change restored versions to be named "(name)-restored" instead of "(timestamp)-restored"

* Prevent autosave in team assessments

* Implement UI for Versioning and History feature

* Implement version preview before restoring

* Fix bug causing duplicate versions to be saved

* Prevent save status indicator from showing in team assessments

* Update test to not check for success message upon autosave

* Update snapshots to align with changes

* Reformatted imports

* Fix bug where save status is not correctly checked and updated, always showing saved even on fail

* Refactor restoreVersionSaga and prevent restoring from auto-submitting in team assessments

* Fix bug where renaming updates the timestamp

* Fix bug where restoring was renaming the wrong version

* update snapshots to match changes

* Fix bug where new UI is not updated for mobile view

* Change return type of sagas for better type safety

* Fix bug where restoring will rename an existing version if the code is not updated

* Memoize sorted array of versions to improve performance

* Fix bug where save button appears incorrectly for individual assessments during loading

* Update snapshot to match bug fixes

* Fix formatting

* Fix bug where the restoreVersion action did not take into account the SagaIterator return type of restoreVersionSaga

* Fix bug where one auto-save can prematurely unblock another, causing an incorrectly timed version history refresh

* Fix bug where UI would show a stale name if the rename API fails

* Change al... (continued)

2529 of 7236 branches covered (34.95%)

Branch coverage included in aggregate %.

236 of 360 new or added lines in 13 files covered. (65.56%)

6328 of 14179 relevant lines covered (44.63%)

28.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
3.45
src/commons/controlBar/AceDiffViewer.tsx
30
74.42
src/commons/sagas/WorkspaceSaga/helpers/versionHistory.ts
15
13.74
0.6% src/commons/sagas/RequestsSaga.ts
13
71.54
src/commons/controlBar/VersionHistoryPanel.tsx
11
62.37
-0.7% src/commons/assessmentWorkspace/AssessmentWorkspace.tsx
11
69.72
-1.31% src/commons/workspace/WorkspaceReducer.ts
3
72.5
1.49% src/commons/workspace/WorkspaceActions.ts
2
12.61
0.0% src/commons/mocks/BackendMocks.ts
1
43.61
0.02% src/commons/sagas/BackendSaga.ts
1
55.78
0.31% src/commons/sagas/WorkspaceSaga/index.ts
1
10.0
0.0% src/features/groundControl/GroundControlActions.ts
Jobs
ID Job ID Ran Files Coverage
1 25439889455.1 06 May 2026 02:01PM UTC 467
41.36
GitHub Action Run
Source Files on build 25439889455
  • Tree
  • List 467
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 05b6ed9a on github
  • Prev Build on master (#25432671405)
  • Next Build on master (#25444968143)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc