Roll-up of single-occurrence RELIABILITY bugs surfaced by SonarQube, in our own code.
Items
python:S7497 (MAJOR) — asyncio.CancelledError must be re-raised after cleanup. spikersoft-backend/SpikerSoft.EventHandlers.ImageDescription.Python/image_description_service.py:961
Web:S7930 (CRITICAL) — duplicate HTML id="course-format" (first at line 40). projects/spikersoft/src/app/_components/syllabus/syllabus.component.html:69
typescript:S3516 (BLOCKER) — function always returns the same value (dead return contract). projects/spikersoft/src/app/_components/learning/git-playground/git-engine/wasm-git-engine.ts:124
Roll-up of single-occurrence RELIABILITY bugs surfaced by SonarQube, in our own code.
## Items
- [ ] `python:S7497` (MAJOR) — `asyncio.CancelledError` must be re-raised after cleanup. `spikersoft-backend/SpikerSoft.EventHandlers.ImageDescription.Python/image_description_service.py:961`
- [ ] `Web:S7930` (CRITICAL) — duplicate HTML `id="course-format"` (first at line 40). `projects/spikersoft/src/app/_components/syllabus/syllabus.component.html:69`
- [ ] `typescript:S3516` (BLOCKER) — function always returns the same value (dead return contract). `projects/spikersoft/src/app/_components/learning/git-playground/git-engine/wasm-git-engine.ts:124`
- [ ] `typescript:S7727` (MAJOR) — don't pass `mapWorkspaceRowToSavedObject` directly to `.map()` (extra args leak in). `libraries/features/dev-tools-blockly/src/lib/workspace.service.ts:230`
Each is independent; check off as fixed.
_Rules: https://rules.sonarsource.com/python/RSPEC-7497/ · https://rules.sonarsource.com/html/RSPEC-7930/ · https://rules.sonarsource.com/typescript/RSPEC-3516/ · https://rules.sonarsource.com/typescript/RSPEC-7727/_
Resolved across spikersoft-backend PR #12 (S7497 — python CancelledError re-raise) and spikersoft-angular PR #73 (S7930 duplicate id, S3516 single-return in attachRemote, S7727 explicit .map((w,i)=>…)). All four items done; both PRs merged to master. Closing.
Resolved across spikersoft-backend PR #12 (`S7497` — python `CancelledError` re-raise) and spikersoft-angular PR #73 (`S7930` duplicate id, `S3516` single-return in `attachRemote`, `S7727` explicit `.map((w,i)=>…)`). All four items done; both PRs merged to `master`. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Roll-up of single-occurrence RELIABILITY bugs surfaced by SonarQube, in our own code.
Items
python:S7497(MAJOR) —asyncio.CancelledErrormust be re-raised after cleanup.spikersoft-backend/SpikerSoft.EventHandlers.ImageDescription.Python/image_description_service.py:961Web:S7930(CRITICAL) — duplicate HTMLid="course-format"(first at line 40).projects/spikersoft/src/app/_components/syllabus/syllabus.component.html:69typescript:S3516(BLOCKER) — function always returns the same value (dead return contract).projects/spikersoft/src/app/_components/learning/git-playground/git-engine/wasm-git-engine.ts:124typescript:S7727(MAJOR) — don't passmapWorkspaceRowToSavedObjectdirectly to.map()(extra args leak in).libraries/features/dev-tools-blockly/src/lib/workspace.service.ts:230Each is independent; check off as fixed.
Rules: https://rules.sonarsource.com/python/RSPEC-7497/ · https://rules.sonarsource.com/html/RSPEC-7930/ · https://rules.sonarsource.com/typescript/RSPEC-3516/ · https://rules.sonarsource.com/typescript/RSPEC-7727/
Resolved across spikersoft-backend PR #12 (
S7497— pythonCancelledErrorre-raise) and spikersoft-angular PR #73 (S7930duplicate id,S3516single-return inattachRemote,S7727explicit.map((w,i)=>…)). All four items done; both PRs merged tomaster. Closing.