Skip to content

fix(moderation): the review queue still asked for the assessment type - #914

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/moderation-review-type
Sep 1, 2026
Merged

fix(moderation): the review queue still asked for the assessment type#914
rubenvdlinde merged 1 commit into
developmentfrom
fix/moderation-review-type

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Follow-up to #894. Found by development E2E:

✘ reviews: an authenticated submission lands pending and is not yet public
  Error: submitted review is not in the pending queue
✘ reviews: admin approval publishes the review and moves the aggregate

ModerationService::MODERATED_TYPE_REVIEW moved to software-review with the slug, but the surfaces that ask for that queue did not:

Site Was
StackiqSettings.vue <ModerationQueue type="assessment">
SettingsService two object-type lists
src/modals/Modals.vue the modal registry list
ModerationController three docblocks

The review was stored under the new slug and the queue looked under the old one, so it always came back empty.

In this app the object type is the schema slug. SettingsService says so in its own comment, and records that an unmapped type has silently killed this exact ratings feature once before. That is the second time this file's warning has proved right.

The sbom-import.spec.ts failures in the same run are unrelated to this rename and are not addressed here.

🤖 Generated with Claude Code

Development E2E caught this:

  ✘ reviews: an authenticated submission lands pending and is not yet public
    Error: submitted review is not in the pending queue
  ✘ reviews: admin approval publishes the review and moves the aggregate

ModerationService::MODERATED_TYPE_REVIEW moved to software-review with the
slug, but the surfaces that ASK for that queue did not: StackiqSettings
renders ModerationQueue with type="assessment", and two SettingsService
object-type lists plus the Modals registry still named the old type. The
review was stored under the new slug and the queue looked under the old one,
so it always came back empty.

In this app the object type IS the schema slug, which SettingsService states
in its own comment and warns has silently killed this exact ratings feature
once before.
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/stackiq @ e69bc5c

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
check-vue-demi
test-l10n
format
check-schema-l10n
check-l10n-js
composer ✅ 130/130
npm ✅ 711/711
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman ⏭️
Playwright ⏭️ deferred — runs on the promotion into beta/main, not on a pull request into development
Hydra gates

Quality workflow — 2026-09-01 08:12 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 0fd116f into development Sep 1, 2026
50 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/moderation-review-type branch September 1, 2026 08:13
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.

1 participant