Skip to content

Alps validation 2026-11-03: Slurm account, metadata 404 fallback, Alps profile - #52

Open
VadaLinux76 wants to merge 1 commit into
mainfrom
alps-validation-2026-11-03
Open

VadaLinux76 wants to merge 1 commit into
mainfrom
alps-validation-2026-11-03

Conversation

@VadaLinux76

Copy link
Copy Markdown
Collaborator

First live run against production Alps (FirecREST 2.6.1, system daint):
token, discovery, filesystem, submit, poll and output all verified
(job 5245627, nid006554, exit 0). Documented in docs/hot-cache-v2.md §8.

client_v2.py

  • FIRECREST_V2_ACCOUNT: Slurm project account, mandatory on Alps
    (submission without one is answered with HTTP 500)
  • resolve_account(): config first, else userinfo.accounts (single
    non-root project or the default one; ambiguous -> None, never guessed)
  • the Alps "must specify a project account" 500 gets an actionable hint
  • get_job_log: when /metadata is 404 (job purged from scontrol), also
    read slurm-.err; a missing derived stderr is skipped

server.py / core

  • prepare_job resolves the account before approval and the summary
    shows it, so the human approves what will be billed

Alps profile

  • config/limits.alps.yaml (daint, debug only, <=2 nodes, <=30 min)
  • templates/alps/hello.{yaml,sh}

Tests: Alps regression block in firecrest-mcp/tests/test_client_v2.py,
account flow in test_server_submit.py, tests/test_alps_config.py.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01MJ52cLhxe4PS4MbwnmbXaH

…s profile

First live run against production Alps (FirecREST 2.6.1, system daint):
token, discovery, filesystem, submit, poll and output all verified
(job 5245627, nid006554, exit 0). Documented in docs/hot-cache-v2.md §8.

client_v2.py
- FIRECREST_V2_ACCOUNT: Slurm project account, mandatory on Alps
  (submission without one is answered with HTTP 500)
- resolve_account(): config first, else userinfo.accounts (single
  non-root project or the default one; ambiguous -> None, never guessed)
- the Alps "must specify a project account" 500 gets an actionable hint
- get_job_log: when /metadata is 404 (job purged from scontrol), also
  read slurm-<id>.err; a missing derived stderr is skipped

server.py / core
- prepare_job resolves the account before approval and the summary
  shows it, so the human approves what will be billed

Alps profile
- config/limits.alps.yaml (daint, debug only, <=2 nodes, <=30 min)
- templates/alps/hello.{yaml,sh}

Tests: Alps regression block in firecrest-mcp/tests/test_client_v2.py,
account flow in test_server_submit.py, tests/test_alps_config.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MJ52cLhxe4PS4MbwnmbXaH
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