You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/09/02 02:26:50 UTC
[I] Add unit test coverage for the user, hub and resource-registry services [texera]
aglinxinyuan opened a new issue, #8334:
URL: https://github.com/apache/texera/issues/8334
### Task Summary
Four small frontend files carry unexercised guard arms and one unreached template binding:
| File | Codecov |
|---|---|
| `common/service/user/user.service.ts` | 62/66 |
| `hub/component/browse-section/browse-section.component.ts` | 28/32 |
| `dashboard/service/user/resource-registry/resource-registry.service.ts` | 18/20 |
| `common/service/user/email-request-modal/email-request-modal.component.html` | 14/15 |
None is worth an issue alone; together they are the bulk of what is left in these areas.
Two notes for whoever picks this up.
`browse-section.component.ts:114` cannot be pinned through the public API — `getCoverImage()`'s `|| this.defaultBackground` makes the guarded and unguarded paths observably identical, so a test must assert on the private `coverImageUrls` map or it is vacuous.
Separately, `user-dataset-version-creator.component.ts:132` (`get formControlNames()`) is **dead code**: a repo-wide grep across `.ts` and `.html` finds exactly one hit, its own declaration. It should be removed rather than covered.
### Task Type
- [x] Testing / QA
### Was this issue authored using generative AI tooling?
Generated-by: Claude Code (Opus 5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add unit test coverage for the user, hub and resource-registry services [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #8334: Add unit test coverage for the user, hub and resource-registry services
URL: https://github.com/apache/texera/issues/8334
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org