Skip to content

fix: resolve issues #95, #96, #97, #98 - #266

Merged
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
GF-Hunter:fix/build-config-docker-env-e2e
Jul 30, 2026
Merged

fix: resolve issues #95, #96, #97, #98#266
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
GF-Hunter:fix/build-config-docker-env-e2e

Conversation

@GF-Hunter

Copy link
Copy Markdown
Contributor

Summary

Fixes four issues identified in AGENTS.md — build config, test quality, Docker image completeness, and developer onboarding.

Changes

#95 — Create .env.example file

Creates .env.example so cp .env.example .env works as documented in README. Includes all required environment variables with placeholder values.
Also adds !.env.example negation to .gitignore so the template file is tracked by Git.

#96 — Dockerfile: copy drizzle config and migrations

  • Removed drizzle.config.* from .dockerignore so the file is available in the Docker build context.
  • Production stage now copies drizzle.config.ts and src/database/migrations/ alongside package.json, enabling drizzle-kit migrate in production containers.

#97 — E2E tests: remove 500 from allowed status codes

Removed 500 from expected status code arrays in all E2E tests. Tests that previously accepted [200, 500] now use expect(response.statusCode).toBe(200). Others had 500 dropped from their allowed list. Tests will now fail when the server returns a 500 error.

#98 — tsconfig.json: disable declaration files

declaration and declarationMap are already set to false. No change needed.

Related Issues

Closes #95,
Closes #96,
Closes #97,
Closes #98

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@GF-Hunter Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@GF-Hunter GF-Hunter changed the title fix: resolve AGENTS.md issues #95, #96, #97, #98 fix: resolve issues #95, #96, #97, #98 Jul 29, 2026
@GF-Hunter
GF-Hunter force-pushed the fix/build-config-docker-env-e2e branch from a0d2e4e to 8ef7aae Compare July 29, 2026 21:40
…al#96, ChainLearnOfficial#97, ChainLearnOfficial#98

- .env.example: create template so README setup instructions work
- Dockerfile: copy drizzle config and migrations for prod migrations
- E2E tests: remove 500 from allowed status codes so tests fail on errors
- tsconfig.json: disable declaration/declarationMap for app builds
@GF-Hunter
GF-Hunter force-pushed the fix/build-config-docker-env-e2e branch from 8ef7aae to 7168344 Compare July 29, 2026 21:48
@DeFiVC
DeFiVC merged commit de67ce5 into ChainLearnOfficial:main Jul 30, 2026
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