Skip to content

fix: pass fork repo URL to nova_request_app CI#363

Merged
Taure merged 5 commits intomasterfrom
fix/fork-pr-ci
Feb 13, 2026
Merged

fix: pass fork repo URL to nova_request_app CI#363
Taure merged 5 commits intomasterfrom
fix/fork-pr-ci

Conversation

@Taure
Copy link
Collaborator

@Taure Taure commented Feb 13, 2026

Summary

  • Pass repo (fork's full name) alongside branch to the run_nra workflow
  • Forward repo as nova_repo to nova_request_app's workflow
  • Uses github.event.pull_request.head.repo.full_name for fork PRs, falls back to github.repository for direct branches

Context

When contributors open PRs from forks, nova_request_app CI fails because it only receives the branch name and tries to fetch from novaframework/nova.git where the branch doesn't exist. This passes the fork repo so nova_request_app can fetch from the right place.

Depends on: novaframework/nova_request_app#6 being merged first (adds nova_repo input).

Test plan

  • Direct branch PRs continue to work (defaults to novaframework/nova)
  • Fork PRs pass nova_request_app CI after companion PR is merged

🤖 Generated with Claude Code

Taure and others added 5 commits February 12, 2026 21:57
Add nova_csrf_plugin using the synchronizer token pattern — generates a
random token per session, stores it server-side, and validates it on
state-changing requests (POST/PUT/PATCH/DELETE).

Also fixes a session limitation where nova_session couldn't read the
session ID on the very first request because nova_stream_h only set it
as a response cookie. Now the session ID is also injected into the Req
map so it's immediately available to the plugin pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- nova_basic_handler_test: 8 tests for maybe_inject_csrf_token/2
  (proplist, map, empty, no token in req)
- nova_session_test: 6 tests for nova_session_id Req map fallback
  (get/set via Req key, cookie fallback, priority over cookie,
  error when no session)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When contributors open PRs from forks, nova_request_app CI fails
because it only receives the branch name, not the fork repo. Pass
the full repo name so nova_request_app can fetch from the correct
fork.

Depends on novaframework/nova_request_app accepting nova_repo input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Taure Taure merged commit 7486031 into master Feb 13, 2026
@Taure Taure deleted the fix/fork-pr-ci branch February 13, 2026 21:20
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.

1 participant