Establish baseline: fix ESLint violations and Docker Compose nginx DNS#49
Closed
Establish baseline: fix ESLint violations and Docker Compose nginx DNS#49
Conversation
4 tasks
Agent-Logs-Url: https://github.com/JoshLuedeman/scaffold/sessions/edb811a1-93c6-4d1a-89f8-e75d75efbcd2 Co-authored-by: JoshLuedeman <6021644+JoshLuedeman@users.noreply.github.com>
Agent-Logs-Url: https://github.com/JoshLuedeman/scaffold/sessions/edb811a1-93c6-4d1a-89f8-e75d75efbcd2 Co-authored-by: JoshLuedeman <6021644+JoshLuedeman@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Verify baseline tests and builds
Establish baseline: fix ESLint violations and Docker Compose nginx DNS
Mar 27, 2026
Owner
|
Closing to start fresh — will re-approach Phase 0 issues from a clean slate. |
This was referenced Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Baseline verification revealed 6 ESLint violations in React components and nginx failing to start in Docker Compose due to DNS resolution timing.
ESLint Fixes
react-hooks/set-state-in-effect violations - Refactored synchronous setState calls in effects:
AssessmentReport.tsx: Moved derived state touseMemo, wrapped API calls in async function with cancellationProjectDetail.tsx: Extracted async load function to avoid synchronous setState in effect bodyreact-hooks/rules-of-hooks violations - Moved hook calls outside conditional blocks:
Layout.tsx&MigrationExecution.tsx: CalleduseMsal()unconditionally, then wrapped usage in try-catchreact-refresh/only-export-components violation - Split
ThemeContext.tsx:createThemeContext.tsuseTheme.tsThemeContext.tsxfor Fast Refresh compatibilityDocker Compose Fix
nginx was failing with "host not found in upstream 'api'" because Docker's embedded DNS (127.0.0.11) isn't available at nginx startup. Fixed by forcing runtime DNS resolution:
All services (db, api, web) now start successfully.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
127.0.0.11REDACTED, pid is -1(packet block)If you need me to access, download, or install something from one of these locations, you can either:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.