Skip to content

Use explicit --manifest-path for pixi jobs instead of unsetting PIXI_PROJECT_MANIFEST#405

Closed
mkitti wants to merge 1 commit into
JaneliaSciComp:mainfrom
mkitti:mkitti-pixi-manifest-path
Closed

Use explicit --manifest-path for pixi jobs instead of unsetting PIXI_PROJECT_MANIFEST#405
mkitti wants to merge 1 commit into
JaneliaSciComp:mainfrom
mkitti:mkitti-pixi-manifest-path

Conversation

@mkitti

@mkitti mkitti commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • pixi's --manifest-path flag always overrides the PIXI_PROJECT_MANIFEST env var (verified against pixi 0.70.2), so this switches the generated pixi command to pixi run --manifest-path "$FG_MANIFEST_DIR" <task> instead of unsetting PIXI_PROJECT_MANIFEST and relying on cwd-based manifest discovery.
  • Introduces FG_MANIFEST_DIR, exported alongside FG_WORK_DIR in every generated job script (all app types, not just pixi), pointing at the directory containing the app's manifest.
  • Updates docs/AuthoringApps.md to document the new env var and command format.

Test plan

  • pixi run -e test test-backend — all 317 tests pass
  • Manually submit a pixi-based app job and confirm the generated script contains export FG_MANIFEST_DIR=... and pixi run --manifest-path "$FG_MANIFEST_DIR" <task>, with no unset PIXI_PROJECT_MANIFEST line

🤖 Generated with Claude Code

@mkitti mkitti force-pushed the mkitti-pixi-manifest-path branch from 84d3e5c to d74c038 Compare July 8, 2026 01:11
…PROJECT_MANIFEST

pixi's --manifest-path flag always overrides the PIXI_PROJECT_MANIFEST
env var, so pointing pixi run at the manifest directory explicitly is
more robust than unsetting the env var and relying on cwd-based
discovery. Introduces FG_MANIFEST_DIR, exported alongside FG_WORK_DIR
for all job types.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mkitti

mkitti commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #406, which uses a branch within this repository instead of my fork so the branch could be pushed directly here.

@mkitti mkitti closed this Jul 8, 2026
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