Skip to content

Ben kicking the tires updates (and some notes) - #5

Open
bpurinton wants to merge 5 commits into
mainfrom
bp-updates
Open

Ben kicking the tires updates (and some notes)#5
bpurinton wants to merge 5 commits into
mainfrom
bp-updates

Conversation

@bpurinton

@bpurinton bpurinton commented Aug 10, 2026

Copy link
Copy Markdown

Updates


Misc notes

Some questions are hard to understand as a beginner. I think that's the point? We want to show them how "learning to code" improves their ability to build.

e.g.:

image image

Android is still missing?

image

Auth is still missing?

image

Somewhat confusing that we need to install the GitHub App up-front before Compiler works, but there is no existing project repo, so we need to install it with access to all repos? Do we need that level of permission?

image

CI immediately failed on generated repo:

  • Gem audit failure
  • standardrb linting errors in generated code
  • active_record_doctor mismatches between length validation and missing schema limits

Fixed this and more on https://github.com/bpurinton/family-finances/pull/12


Extremely slow (like > 45 minutes) Codespace startup on the compiled output app. Maybe we need to pre-build and publish an image to GH Container Registry?

Immediate fix for long wait: set up a prebuild manually (https://github.com/bpurinton/family-finances/settings/codespaces)

This is still not a great solution, because the first prebuild still takes ~20 minutes.

Can we pull from a universal Foundation image rather than building the image from scratch? In theory the only difference during startup will be some time spent installing gems?

Codespace startup failed anyway after the long wait. Configuration fixes are on: https://github.com/bpurinton/family-finances/pull/12


After exiting a drawing-board where the foundation-plan.json is .gitignored, where is the foundation plan retained? How do I view it again? Is there supposed to be a page for it on https://staging.firstdraft.com/projects?


In general, post-handoff needed a lot of updates to make the app actually functional. Perhaps expected?

See: https://github.com/bpurinton/family-finances/pull/12


Local Xcode opening required this manual step (undocumented?):

Product → Scheme → Edit Scheme → Run → Arguments → Environment Variables, and tick the checkbox next to APP_ROOT_URL. The value is already http://localhost:3000.

Then it worked quite well with a nice preview going in the simulator (after firing up bin/dev locally)

@bpurinton bpurinton changed the title Adding .vscode/settings.json: Hide copilot sidebar on codespace startup Kicking the tires updates Aug 10, 2026
@bpurinton bpurinton changed the title Kicking the tires updates Ben kicking the tires updates (and some notes) Aug 10, 2026
@raghubetina

Copy link
Copy Markdown
Contributor

Thanks for the feedback!

Some questions are hard to understand as a beginner. I think that's the point?

I haven't worked much at all yet on the actual interview that the agent performs. Lots to think about there.

  • Do we want two modes, technical vs non-technical?
  • Do we want to include an option, "Make all the rest of the decisions for me"?

Android is still missing?

I haven't touched Android yet.

Auth is still missing?

Auth is in progress. Supported by Foundation Plan but no Rails realization yet.

Codespace startup failed after the long wait, unclear why.

Did you save the workspace build logs by chance?

@bpurinton

Copy link
Copy Markdown
Author
  • Do we want two modes, technical vs non-technical?
  • Do we want to include an option, "Make all the rest of the decisions for me"?

These both sound like good ideas that would fix my concerns with this first interaction for beginners

Did you save the workspace build logs by chance?

Not the whole thing, just where it failed. Note that the failure occurred after almost 45 minutes of set up...

Looks like the ❌ came in some postgres step. Have you opened any of the Compiler apps in a Codespace and experienced either / both issues (slow startup and failure), or neither? I would be surprised if this was cause by my app, seems like something that would happen for every Foundation app?

[+] up 55/55
✔ Image postgres:18 Pulled 186.2s.2ss
✔ Image selenium/standalone-chromium Pulled 399.1s9.1s
✔ Network family-finances_devcontainer_default Created 0.6s
✔ Volume family-finances_devcontainer_postgres-data Created 0.2s
✘ Container family-finances_devcontainer-postgres-1 Error dependen... 11.9s
✔ Container family-finances_devcontainer-selenium-1 Started 9.4s
✔ Container family-finances_devcontainer-rails-app-1 Created 1.8s
dependency failed to start: container family-finances_devcontainer-postgres-1 is unhealthy
[412072 ms] Stop: Run: docker compose --project-name family-finances_devcontainer -f /var/lib/docker/codespacemount/workspace/family-finances/.devcontainer/compose.yaml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose.codespaces.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.build-1786386973057.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.containerFeatures-1786388496170-c491b064-b25a-44a4-a138-05811b758c48.yml up -d
Error: Command failed: docker compose --project-name family-finances_devcontainer -f /var/lib/docker/codespacemount/workspace/family-finances/.devcontainer/compose.yaml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose.codespaces.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.build-1786386973057.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.containerFeatures-1786388496170-c491b064-b25a-44a4-a138-05811b758c48.yml up -d
at M9 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:432:3348)
{"outcome":"error","message":"Command failed: docker compose --project-name family-finances_devcontainer -f /var/lib/docker/codespacemount/workspace/family-finances/.devcontainer/compose.yaml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose.codespaces.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.build-1786386973057.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.containerFeatures-1786388496170-c491b064-b25a-44a4-a138-05811b758c48.yml up -d","description":"An error occurred starting Docker Compose up."}
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async k9 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:412:3860)
at async AZ (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:4043)
at async uC (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:4989)
at async L5 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:666:205)
at async G5 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:665:15084)
at async /.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:1188
devcontainer process exited with exit code 1
Failed to create container.
Error: Command failed: docker compose --project-name family-finances_devcontainer -f /var/lib/docker/codespacemount/workspace/family-finances/.devcontainer/compose.yaml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose.codespaces.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.build-1786386973057.yml -f /var/lib/docker/codespacemount/.persistedshare/docker-compose/docker-compose.devcontainer.containerFeatures-1786388496170-c491b064-b25a-44a4-a138-05811b758c48.yml up -d
Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)
Container creation failed.

Creating recovery container.

@bpurinton

Copy link
Copy Markdown
Author

Codespace startup failed after the long wait, unclear why.

Did you save the workspace build logs by chance?

In theory, this commit will fix it: https://github.com/bpurinton/family-finances/pull/12/commits/25b8a39e4cb1c99adcd555057f802e9fcb6856b0

@bpurinton
bpurinton marked this pull request as ready for review August 10, 2026 21:47
@bpurinton

Copy link
Copy Markdown
Author

Okay @raghubetina, you can have a look at this now. The description has a bunch of notes, and bunch of updates were made over on the Compiler output from my experiment in order to actually get it working:

https://github.com/bpurinton/family-finances/pull/12

The main issue right now is that after hand-off:

  • CI was failing
  • Codespaces could not be opened on the project, and even after getting them working, the pre-build is a ~20 minute prior to the first codespace open

Those are probably updates that need to be rectified somewhere along the Foundation-Compiler-Handoff continuum

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