Skip to content

Conversation

@nirukk52
Copy link
Owner

@nirukk52 nirukk52 commented Oct 24, 2025

Summary

Fix the generated cloud environment URLs from the Encore client to ensure the environment name appears as a suffix rather than a prefix.

Changes

  • Update Environment(name: string) in frontend/client.ts to return https://steering-wheel-documentation-65b2-${name}.encr.app

Testing

  • This change simply adjusts the URL string construction; no runtime tests needed.

Note

Fixes cloud URL construction in the TS client, adds a CI pipeline, and introduces AI rules/docs with minor doc and tooling updates.

  • Frontend:
    • Client URL Fix: Update frontend/client.ts Environment(name) to use https://steering-wheel-documentation-65b2-${name}.encr.app; adjust generated headers/labels.
  • CI/CD:
    • GitHub Actions: Add .github/workflows/ci.yml to set up Postgres, install Bun and Encore CLI, run backend/frontend tests, and build both apps.
  • Tooling/Rules:
    • Cursor/Claude Rules: Add .cursor/rules/*.mdc, index claude.md, and instructions_archived.txt.
    • Utility: Add .cursor/rules/dedupe_rules.js to trim duplicate XML blocks.
  • Docs/Repo Hygiene:
    • Update DEVELOPMENT.md links; add backend/.gitignore; revise seed.md content/title.

Written by Cursor Bugbot for commit 5ae17f7. This will update automatically on new commits. Configure here.

- Split .cursor/rules/instructions.txt into 7 logical .mdc files
- Created .cursor/rules/claude.md index linking to all sections
- Created root-level claude.md linking to rules and index
- Preserved original instructions.txt file
- Added numbered sections: llm-info, corey-info, corey-behavior, nodejs-style-guide, typescript-style-guide, encore-ts-domain-knowledge, encore-cli-reference
- Add CI workflow for pull requests to main branch
- Includes PostgreSQL service for database testing
- Runs backend tests with Encore CLI
- Runs frontend tests with Bun
- Builds both backend and frontend
- Uses latest Bun version and Encore CLI
…each .mdc rule file\n- Add helper script to ensure we only keep the first block\n- Run script to dedupe encore domain knowledge and CLI docs
- Update Environment() to use steering-wheel-documentation-65b2-.encr.app
- Ensure generated URLs place environment name as suffix to app ID
@openhands-ai
Copy link

openhands-ai bot commented Oct 24, 2025

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • CI

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #2 at branch `fix/environment-url`

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

@nirukk52 nirukk52 closed this Oct 26, 2025
nirukk52 added a commit that referenced this pull request Nov 6, 2025
…g sync

- Update CODE_REVIEW.md: mark magic strings and hardcoded config as fixed
- Fix backend/graph/stream.ts: use RUN_ENDED_STATUSES constant (no magic strings)
- Fix frontend config: extract defaults to frontend/src/lib/config.ts with env overrides
- Add FR-010 feature request: centralized run defaults via Encore endpoint
- Update debugging skills: add WebSocket/Docker infrastructure notes
- Update handoff docs: document graph stream debugging findings

Resolves CODE_REVIEW critical issues #1 and #2.
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.

2 participants