Skip to content

refactor(public-sector): the daily scan is named for what it checks, a commercial activity's costs - #3564

Merged
rubenvdlinde merged 4 commits into
developmentfrom
cloud/b-shillinq-help-procedure-code-scan-name
Nov 30, 2026
Merged

rubenvdlinde merged 4 commits into
developmentfrom
cloud/b-shillinq-help-procedure-code-scan-name

Conversation

@rubenvdlinde

@rubenvdlinde rubenvdlinde commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What

hydra gate-119 (procedure-code, decision 182: procedures are configuration, code is generic) was red on shillinq development: 12 procedure-named files against a baseline of 10. The three added after the baseline (14 Nov, public-sector-task-field-allocation REQ-WMO-014) carry the token subsid in their names: CrossSubsidyScan, CrossSubsidyScanJob, CrossSubsidyScanInterface.

They are renamed to what they do: scan CommercialActivity records' integral cost prices, cost allocations and exemption decision.

  • lib/Service/PublicSector/CrossSubsidyScan.php -> CommercialActivityCostScan.php
  • lib/BackgroundJob/CrossSubsidyScanJob.php -> CommercialActivityCostScanJob.php (info.xml <background-jobs> updated)
  • lib/Kernel/Contracts/CrossSubsidyScanInterface.php -> CommercialActivityCostScanInterface.php (ContractRegistrar binding, golden application-register fixture)
  • their unit tests renamed alongside; two e2e comments follow
  • .procedure-code-baseline.json 10 -> 9, as the gate asks (lowered, never raised)

Behaviour unchanged. On upgrade Nextcloud registers the renamed job from info.xml; the old class's row in oc_jobs no longer resolves and Nextcloud's job list drops it.

The 2026-08 files (CrossSubsidyDetector, Subsidie*, Wmo*) and LegesIntakeStepService are in the baseline and left for the per-app Dutch-identifier change (30 Nov decision).

Checklist

  • gate-119: counted 9, baseline 9
  • PHPUnit filter CommercialActivityCostScan|ApplicationRegister|ContractRegistrar|BackgroundJob: 236/236
  • check:job-registration PASS, phpcs clean on touched lib files
  • development merged in; hydra diff-check: floor, phpcs, phpstan, phpmd, phpunit, eslint PASS (the moved test now uses named parameters); gates left: gate-66/97 (and flaky gate-23) inherited, not in this diff
  • full PHPUnit: 13816 tests OK (3 skipped)

Generated by Claude Code

…a commercial activity's costs [skip ci]

CrossSubsidyScan, its job and its contract (added 14 Nov, after the gate-119
baseline of 10) carried the procedure token 'subsid' in their file names,
so procedure-code counted 12. Renamed to CommercialActivityCostScan*: they
scan CommercialActivity records' integral costs, allocations and exemption.
Count 9, baseline lowered to 9 (never raised). Behaviour unchanged; the
renamed job is registered in info.xml.

Assisted-by: ClaudeCode:claude-opus-5-5
… [skip ci]

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde marked this pull request as ready for review November 30, 2026 14:29
@rubenvdlinde
rubenvdlinde merged commit 81272a7 into development Nov 30, 2026
6 of 8 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/shillinq @ 6e0952f

Check PHP Vue Security License Tests
lint ✅
phpcs ❌
phpmd ❌
psalm ❌
phpstan ✅
phpmetrics ✅
eslint ✅
stylelint ✅
build ✅
check-manifest ✅
check-manifest-shell ❌
format ❌
check-l10n-js ✅
check-backend-l10n ✅
check-schema-l10n ✅
check-manifest-budget ✅
check-markers ✅
check-registers ✅
check-seeds ✅
check-fragment-required ✅
check-nav-reachability ✅
check-job-registration ✅
test-l10n ✅
composer ✅ ✅ 142/142
npm ✅ ✅ 609/609
app:check-code ⏭️
info.xml ✅
REUSE ❌
lockfile sync ✅
PHPUnit ❌ 13807/13816
Newman ❌ 95/127
Playwright ⏭️ deferred: E2E runs locally and on the promotion path only. This pull request targets development, so the suite is asked once per promotion into beta and main rather than once per push per open pull request. Run it locally with npx playwright test, or from the Actions tab on a branch with no open pull request into development.
Hydra gates ❌

Quality workflow — 2026-11-30 18:14 UTC

Download the full PDF report from the workflow artifacts.

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