Skip to content

Sync: dev to main - #620

Merged
aamoghS merged 2 commits into
mainfrom
dev
Nov 14, 2026
Merged

aamoghS merged 2 commits into
mainfrom
dev

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Automated PR tracking changes from dev into main.


Note

Medium Risk
Deploy ordering matters: production must run the data fix before the new check constraint, and the constraint changes what values the database accepts for initiative capacity.

Overview
Adds a PostgreSQL check on initiative.max_members so any set value must be greater than zero, aligning the database with existing API behavior where null means uncapped and zero is invalid.

Ships a one-time migration (2026-11-initiative-max-members.sql) that sets max_members to null wherever it is ≤ 0, which must be applied in production before this schema deploys or adding the check will fail.

On club_project, removes the Drizzle default on the tech text array so drizzle-kit stops rewriting the column on every push; writers (seed) already supply the field explicitly.

Reviewed by Cursor Bugbot for commit c1584d2. Bugbot is set up for automated code reviews on this repo. Configure here.

aamoghS and others added 2 commits November 14, 2026 18:39
club_project.tech loses its array default. drizzle-kit read it back in a
different spelling and re-applied it on every push; the seed, the only
writer, always sets it. With that and the earlier primary key fix, a push
against an up-to-date database now reports no changes.

Adds initiative_max_members_check (null or > 0), which the API already
enforces. packages/db/sql/2026-11-initiative-max-members.sql clears the one
production row at 0, an archived initiative with no applications, and runs
before this deploys.
@github-actions

Copy link
Copy Markdown
Contributor Author

@greptileai

@aamoghS aamoghS reopened this Nov 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor Author

Visit the preview URL for this PR (updated for commit c1584d2):

https://hacklyticss2026--pr-620-5wcr8rfy.web.app

(expires Sat, 21 Nov 2026 23:46:27 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 5d238be33273095766c18a8339b7b0c47de8a950

@github-actions

Copy link
Copy Markdown
Contributor Author

Visit the preview URL for this PR (updated for commit c1584d2):

https://hacklytics2027--pr-620-2t4e64hv.web.app

(expires Sat, 21 Nov 2026 23:46:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c48ba34db61581e25fe2978355160b5eefe0e83f

@aamoghS
aamoghS merged commit dd94910 into main Nov 14, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant