Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .claude/skills/worktree/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ Create isolated worktrees for parallel development. Ends by providing commands t
```bash
git fetch origin main
mkdir -p "$(dirname "$WORKTREE_PATH")"
git worktree add -b "{branch}" "$WORKTREE_PATH" origin/main
# --no-track: do NOT set the new branch's upstream to origin/main.
# Without it, a later `git push -u origin {branch}` can be reported by
# the server as also fast-forwarding main, landing commits on main.
git worktree add --no-track -b "{branch}" "$WORKTREE_PATH" origin/main
```

4. **Copy config files**
Expand Down
2 changes: 2 additions & 0 deletions backend/account_v2/authentication_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from django.conf import settings
from django.contrib.auth import logout as django_logout
from django.db import transaction
from django.db.utils import IntegrityError
from django.http import HttpRequest
from django.middleware import csrf
Expand Down Expand Up @@ -101,7 +102,7 @@
request=request, backend=backend
)
except Exception as ex:
logger.error(f"Error while handling authorization callback: {ex}")

Check failure on line 105 in backend/account_v2/authentication_controller.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ4XFzDp8T6ChwVcEOeM&open=AZ4XFzDp8T6ChwVcEOeM&pullRequest=1954
return redirect("/error")

def user_organizations(self, request: Request) -> Any:
Expand Down Expand Up @@ -163,6 +164,7 @@

return response

@transaction.atomic
def set_user_organization(self, request: Request, organization_id: str) -> Response:
user: User = request.user
new_organization = False
Expand Down