Skip to content

chore: bump Fastify, fix OSC_ENVIRONMENT override, remove stray dotenv.config() - #254

Open
LucasMaupin wants to merge 1 commit into
mainfrom
chore/cleanup-june-2026
Open

chore: bump Fastify, fix OSC_ENVIRONMENT override, remove stray dotenv.config()#254
LucasMaupin wants to merge 1 commit into
mainfrom
chore/cleanup-june-2026

Conversation

@LucasMaupin

Copy link
Copy Markdown
Contributor

Summary

Closes #147, Closes #221, Closes #247

Note: #90 is already fixed on main and should be closed separately.

Test plan

  • Tests pass (npm test)
  • TypeScript compiles (npm run typecheck)
  • Lint clean (npm run lint)
  • Prettier clean (npm run pretty)
  • Verify docker-entrypoint.sh no longer clobbers a pre-set OSC_ENVIRONMENT when deploying with a custom value

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

…tray dotenv.config()

- Bump fastify ^5.7.3 → ^5.8.5 (patches GHSA-247c-9743-5963 body validation bypass)
- docker-entrypoint.sh: preserve pre-set OSC_ENVIRONMENT instead of always overriding (#247)
- Remove stray dotenv.config() call from api_productions.ts (#147)

Closes #247, Closes #147, Closes #221

@birme birme left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Verdict: LGTM

Summary: Bumps fastify ^5.7.3 → ^5.8.5 (patches GHSA-247c-9743-5963, body-validation bypass), guards OSC_ENVIRONMENT in docker-entrypoint.sh so a pre-set value isn't clobbered, and removes a stray dotenv.config() from api_productions.ts. package.json and package-lock.json are consistent.


Blocking

None.

Warnings

None.

Suggestions

  • src/api_productions.ts — removing dotenv.config() here is safe because src/config/load-env.ts handles env loading and is imported transitively (via src/db/mongodb.ts); confirmed present and CI green. Note src/api_ingests.ts still calls dotenv.config() — that's the separate regression tracked in #274, correctly out of scope here.
  • PR closes #147/#221/#247 together; fine given each change is small, but multi-issue PRs are harder to revert individually.

daily-backlog-pr Phase 3 review. CI: all checks passing. Note: not auto-merging this run — see run summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants