Skip to content

docs: document pre-GUI submission hooks for Cinema 4D - #532

Merged
leon-li-inspire merged 1 commit into
aws-deadline:mainlinefrom
leon-li-inspire:feature/pre-gui-hook-docs
Aug 19, 2026
Merged

docs: document pre-GUI submission hooks for Cinema 4D#532
leon-li-inspire merged 1 commit into
aws-deadline:mainlinefrom
leon-li-inspire:feature/pre-gui-hook-docs

Conversation

@leon-li-inspire

@leon-li-inspire leon-li-inspire commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Fixes: N/A — docs follow-up to the merged pre-GUI hook feature (#480)

What was the problem/requirement? (What/Why)

The Cinema 4D submitter gained pre-GUI submission hook support in #480, but the README documents none of it, leaving users with no reference for enabling or writing hooks.

What was the solution? (How)

Docs-only: add a "Pre-GUI Submission Hooks" section to README.md covering enabling env-sourced hooks (DEADLINE_HOOKS_DIR + settings.allow_environment_hooks), the hooks.yaml format and a sample pregui_hook.py, which submitter fields the hook pre-populates (and which Cinema 4D scene settings it does not), the confirmation prompt / settings.auto_accept, and the fail-closed behavior when a hook errors.

What is the impact of this change?

Documentation only — no code, behavior, or dependency changes. Requires the deadline client (deadline[gui] >= 0.60.4) already pinned by this package.

How was this change tested?

Docs-only, so no unit/integration tests apply. Verified the Markdown renders and its link references resolve, and cross-checked the content against the merged submitter implementation on mainline.

  • Have you run the unit tests? N/A (documentation only)
  • Have you run the integration tests? N/A (documentation only)
  • Have you made changes to the submitter? No — README only

Was this change documented?

Yes — this change is the documentation. No docstrings or adaptor schemas needed updating.

Is this a breaking change?

No.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add a "Pre-GUI Submission Hooks" section to the README covering the
pre-GUI hook support added to the Cinema 4D submitter (PR aws-deadline#480):

- enabling env-sourced hooks (settings.allow_environment_hooks) and
  pointing DEADLINE_HOOKS_DIR at a hooks directory;
- a hooks.yaml preGUI entry and a sample pregui_hook.py that reads the
  submission metadata on stdin and returns name/description/parameters
  (incl. deadline: job properties and CondaPackages) on stdout;
- which submitter fields get pre-populated (Name/Description + the
  shared job-settings fields) and which Cinema 4D scene/render settings
  are NOT touched by the hook;
- the Job Submission Confirmation prompt and settings.auto_accept.

Docs only; no code changes.

Signed-off-by: Leon Li <2182521+leon-li-inspire@users.noreply.github.com>
@leon-li-inspire
leon-li-inspire requested a review from a team as a code owner August 18, 2026 22:16
@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Aug 18, 2026
Comment thread README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md
@leon-li-inspire
leon-li-inspire merged commit 9147236 into aws-deadline:mainline Aug 19, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants