#128 · Logger adoption + lint backlog: developer-portal (88 biome errors)
+240 pts on merge
Claim on GitLab
Last checked with GitLab: . Status comes from GitLab using a 2-minute cache. Merge events clear affected cached statuses. An already-open page does not update itself. Refresh page.
An MR completes this bounty when it is merged into main with Closes #128 and GitLab closes the issue. A mention or an updated timestamp is not completion. Awarded points appear in Activity.
Submit a merge request that closes this issue to earn points on merge — bounties stack on the standard
+40 merge_pr award. New to the repo? See the
Contributing guide,
and Local Development & SSO
to run the app locally (
cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.
Description
Background
Same shape as the teamco companion issue. developer-portal has:
- 88 biome errors at \
--diagnostic-level=error\— biggest remaining lint backlog in the monorepo. Mostly accumulated from the rapid build-out; mix of \noImplicitAnyLet\, hooks deps (developer-portal has a React client), \assist/source/organizeImports\, format issues. - Logger adoption — last of the 4 Workers not yet on \
createLogger('developer-portal')\.
Combine for the same reason as teamco: same-file double-touch is wasteful.
Scope
- \
pnpm biome check apps/developer-portal/src --write --diagnostic-level=error\for auto-fixable - Manual fixes for typed \
let\, React \useExhaustiveDependencies\, \useHookAtTopLevel\etc. - Migrate server-side \
console.*\to \createLogger('developer-portal')\ - developer-portal does not use BOT_API_KEY today (confirmed in v5.13.9 audit) — no auth migration needed
- OIDC userInfo PII reduction in \
auth/handlers.ts\(same pattern across all adopters) - Worker logs + React client logs are separate surfaces; only the Worker side migrates to \
createLogger\— client-side \console.*\inside \<script>\template literals or React components stays as-is (consistent with community-portal/qa-form pattern)
Acceptance
- \
pnpm turbo lint --filter=@irregularchat/developer-portal\: PASS (88 → 0) - 0 server-side \
console.*\in Worker code - \
pnpm turbo typecheck\green - Becomes the 18th strict-lint package + 12th logger-adopting Worker (closing both threads)
Bounty: L
88 errors + React-side considerations + careful split between Worker logger vs client console.
Relevant files
No relevant files linked yet.
Hints
No hints yet.
Activity
No points have been awarded for this bounty yet.
Comments
Sign in to join the discussion.
No comments yet. Be the first to weigh in.