Skip to content

Fix GitHub Actions workflow failure#47

Merged
JoshuaAFerguson merged 2 commits into
mainfrom
claude/fix-github-actions-016JS1w4GC2pLhHV8scSfumy
Nov 16, 2025
Merged

Fix GitHub Actions workflow failure#47
JoshuaAFerguson merged 2 commits into
mainfrom
claude/fix-github-actions-016JS1w4GC2pLhHV8scSfumy

Conversation

@JoshuaAFerguson

Copy link
Copy Markdown
Member

No description provided.

Adds Handler struct definition with DB field and required methods to fix
compilation errors in the collaboration handler:

- Handler struct with *db.Database field
- NewCollaborationHandler constructor function
- canAccessSession method for session authorization
- toJSONB helper function for JSONB conversion

This resolves the build failures in the GitHub Actions workflow where
Handler was referenced but not defined in the handlers package.

Fixes: #47
Changes PVC.Spec.Resources from corev1.ResourceRequirements to
corev1.VolumeResourceRequirements to match the Kubernetes API changes
in k8s.io/api v0.34.2.

The PersistentVolumeClaimSpec.Resources field now expects
VolumeResourceRequirements instead of ResourceRequirements.

Fixes compilation error:
  cannot use corev1.ResourceRequirements{…} as
  corev1.VolumeResourceRequirements value in struct literal

Related to: #47
@JoshuaAFerguson JoshuaAFerguson merged commit 21aa53a into main Nov 16, 2025
9 of 23 checks passed
@JoshuaAFerguson JoshuaAFerguson deleted the claude/fix-github-actions-016JS1w4GC2pLhHV8scSfumy branch November 16, 2025 11:15
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