-
Notifications
You must be signed in to change notification settings - Fork 403
chore: add CI workflow, issue/PR templates, package.json metadata #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| name: Bug report | ||
| description: Something is broken in CADAM (the open-source app or the demo at adam.new/cadam) | ||
| title: "[Bug] " | ||
| labels: ["bug"] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for taking the time to file a bug. Before opening, please search existing issues to avoid duplicates. | ||
|
|
||
| - type: dropdown | ||
| id: surface | ||
| attributes: | ||
| label: Where did you hit this? | ||
| options: | ||
| - "Live demo at adam.new/cadam" | ||
| - "Local dev (cloned this repo)" | ||
| - "Self-hosted / forked" | ||
| default: 0 | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: prompt | ||
| attributes: | ||
| label: Prompt or input | ||
| description: If the bug happened during generation, paste the prompt and any image filename. | ||
| placeholder: "a parametric phone stand for a Pixel 8" | ||
|
|
||
| - type: dropdown | ||
| id: model | ||
| attributes: | ||
| label: Model selected (if known) | ||
| options: | ||
| - "Don't know / default" | ||
| - "Claude Opus 4.7" | ||
| - "GPT-5.5" | ||
| - "GPT-5.5 Pro" | ||
| - "Gemini 3.1 Pro" | ||
| - "DeepSeek V4 Pro" | ||
| - "Other (mention in description)" | ||
|
|
||
| - type: textarea | ||
| id: repro | ||
| attributes: | ||
| label: Steps to reproduce | ||
| placeholder: | | ||
| 1. Go to adam.new/cadam | ||
| 2. Type "..." | ||
| 3. Click ... | ||
| 4. See error | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: What did you expect? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: actual | ||
| attributes: | ||
| label: What actually happened? | ||
| description: Include error text, console output, or a screen recording link if you can. | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: browser | ||
| attributes: | ||
| label: Browser + OS | ||
| placeholder: "Chrome 130 / macOS 15.1" | ||
|
|
||
| - type: textarea | ||
| id: extra | ||
| attributes: | ||
| label: Anything else? |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| blank_issues_enabled: false | ||
| contact_links: | ||
| - name: Discord community | ||
| url: https://discord.com/invite/HKdXDqAHCs | ||
| about: Quick questions, demo sharing, troubleshooting | ||
| - name: Live demo | ||
| url: https://adam.new/cadam | ||
| about: Try CADAM without cloning anything |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Feature request | ||
| description: Suggest something CADAM should do | ||
| title: "[Feature] " | ||
| labels: ["enhancement"] | ||
| body: | ||
| - type: textarea | ||
| id: problem | ||
| attributes: | ||
| label: What problem does this solve? | ||
| description: Start with the user pain, not the implementation. | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: proposal | ||
| attributes: | ||
| label: What would a good solution look like? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: alternatives | ||
| attributes: | ||
| label: What alternatives have you considered? | ||
|
|
||
| - type: dropdown | ||
| id: audience | ||
| attributes: | ||
| label: Who would benefit most? | ||
| multiple: true | ||
| options: | ||
| - "3D printing hobbyists / makers" | ||
| - "Mechanical engineers" | ||
| - "Industrial designers" | ||
| - "Students / educators" | ||
| - "Power OpenSCAD users" | ||
| - "Other (mention in description)" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| name: Model / routing issue | ||
| description: Something about model selection, output quality, or vision support is off | ||
| title: "[Model] " | ||
| labels: ["model-routing"] | ||
| body: | ||
| - type: dropdown | ||
| id: model | ||
| attributes: | ||
| label: Which model? | ||
| options: | ||
| - "Claude Opus 4.7" | ||
| - "GPT-5.5" | ||
| - "GPT-5.5 Pro" | ||
| - "Gemini 3.1 Pro" | ||
| - "DeepSeek V4 Pro" | ||
| - "Other" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: prompt | ||
| attributes: | ||
| label: Prompt or image | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: output | ||
| attributes: | ||
| label: What did the model produce? | ||
|
|
||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: What did you expect? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: notes | ||
| attributes: | ||
| label: Notes | ||
| description: Anything else useful (regression vs prior model, vision-related, region/locale, etc.) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| ## Summary | ||
|
|
||
| <!-- What does this PR do, in one or two sentences? --> | ||
|
|
||
| ## Why | ||
|
|
||
| <!-- Linked issue, user pain, or product reason. --> | ||
|
|
||
| Closes # | ||
|
|
||
| ## Changes | ||
|
|
||
| <!-- Bullet the meaningful changes. --> | ||
|
|
||
| - | ||
|
|
||
| ## Testing | ||
|
|
||
| <!-- How was this verified? Manual steps, screenshots, recordings, unit tests. --> | ||
|
|
||
| - [ ] Manually tested locally | ||
| - [ ] Tested on the live demo (if applicable) | ||
| - [ ] Added or updated tests (if applicable) | ||
|
|
||
| ## Risk | ||
|
|
||
| <!-- Anything risky? Migrations, prod-only paths, irreversible operations, model behavior changes. --> | ||
|
|
||
| ## Screenshots / clips | ||
|
|
||
| <!-- Optional: drag in a recording or before/after image. --> |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,46 @@ | ||||||||||||||
| name: CI | ||||||||||||||
|
|
||||||||||||||
| on: | ||||||||||||||
| push: | ||||||||||||||
| branches: [master] | ||||||||||||||
| pull_request: | ||||||||||||||
| branches: [master] | ||||||||||||||
|
|
||||||||||||||
| concurrency: | ||||||||||||||
| group: ci-${{ github.ref }} | ||||||||||||||
| cancel-in-progress: true | ||||||||||||||
|
|
||||||||||||||
| jobs: | ||||||||||||||
| build: | ||||||||||||||
| name: typecheck / lint / build | ||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||
| timeout-minutes: 15 | ||||||||||||||
| steps: | ||||||||||||||
| - name: Checkout | ||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||
|
|
||||||||||||||
| - name: Set up Node | ||||||||||||||
| uses: actions/setup-node@v4 | ||||||||||||||
| with: | ||||||||||||||
| node-version: '20' | ||||||||||||||
| cache: 'npm' | ||||||||||||||
|
Comment on lines
+24
to
+26
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
|
|
||||||||||||||
| - name: Install dependencies | ||||||||||||||
| run: npm ci --no-audit --no-fund | ||||||||||||||
|
|
||||||||||||||
| - name: Typecheck | ||||||||||||||
| run: npm run typecheck | ||||||||||||||
|
|
||||||||||||||
| - name: Lint | ||||||||||||||
| run: npm run lint | ||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: CI skips Supabase linting because it runs Prompt for AI agents |
||||||||||||||
|
|
||||||||||||||
| - name: Build | ||||||||||||||
| run: npm run build | ||||||||||||||
| env: | ||||||||||||||
| # Build expects these to be defined; supply harmless local-style defaults | ||||||||||||||
| # so a fresh fork can still verify the pipeline without prod secrets. | ||||||||||||||
| VITE_SUPABASE_ANON_KEY: ci-placeholder-anon-key | ||||||||||||||
| VITE_SUPABASE_URL: http://127.0.0.1:54321 | ||||||||||||||
| VITE_POSTHOG_PROJECT_KEY: ci-placeholder-posthog | ||||||||||||||
| VITE_SENTRY_ENVIRONMENT: ci | ||||||||||||||
| VITE_SENTRY_DSN: '' | ||||||||||||||
|
Comment on lines
+34
to
+46
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The PR description explicitly states CI runs |
||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cancel-in-progress: trueis scoped to thegithub.refgroup with no branch exclusion, so rapid back-to-back pushes directly tomasterwill cancel earlier CI runs and leave those commits without a completed status check. Staggered merges during any active sprint could silently skip CI on intermediate master commits. The standard fix is to only cancel in-progress runs for PRs and let master runs always complete.