/artemis:ci-triagefrom artemis
Diagnoses failed, stuck, or missing Artemis CI checks and distinguishes test defects from infrastructure failures. Useful for triaging red builds and understanding CI validation scope.
Ships in artemis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use drafts only while the implementation is unfinished. Once implementation is complete, open the PR
as non-draft or mark it ready for review immediately. Draft pull_request runs defer the entire
ci-test.yml workflow (server, client and AI worker sandbox tests), E2E, CodeQL and review bots.
Relevant style, lint, architecture and type checks still run on public runners. Test TypeScript
compilation runs in Quality / Client Compilation for drafts; the WAR and draft test-server image builds
remain available. Integration-test feedback arrives after ready-for-review or a manual full run.
Pending or failing CI, reviews and test-server validation do not by themselves require draft status.
Keep unverified checklist items open and require passing checks and approvals before merge; follow
PR readiness.
gh pr checks <pr-number>
gh run view <run-id> --log-failed
The aggregate All required CI Passed is defined in .github/workflows/ci.yml.
Trace the failing check through its called workflow; job names are prefixed by the caller
(for example, Quality / Server Code Style). Check the repository's required-check settings
before claiming that an advisory failure blocks merging.
Draft runs report Draft checks passed (tests deferred) instead of the required
All required CI Passed check. A green draft run therefore does not validate its untested head
for merge. The ready_for_review event starts a normal run, including when the head SHA is unchanged;
wait for its required checks before marking the PR ready to merge.
PR and non-PR E2E jobs can use different topologies: a pull request runs one node, develop runs three
nodes with Redis (Valkey) as distributed data provider. Compare their definitions in
.github/workflows/ci-e2e.yml before treating a develop-only failure as flaky.
Ready pull requests run explicit affected server class plans and related client specs. The server planner's summary lists its class count and modules; mandatory architecture and source-scanning guards remain included, as does the Gocast handler guard. The client job prints every selected spec, including filesystem-reading guardrails whose source reads have no import edges. Every changed client graph seed must have related tests; guardrails cannot hide an untested seed. Shared leaf utilities use the import graph. Shared contracts, configuration, missing history and ambiguous dependencies fall back to the full suite. Check the actual planner/helper output rather than assuming a PR always ran a subset.
The two Stylelint entry points, config/stylelint/stylelint.config.json and
config/stylelint/stylelint.config.js, are client-only inputs. A PR confined to those files skips
server tests; when mixed with Java changes, they do not expand the affected server class plan.
Other configuration and server disk-input changes retain the conservative fallback.
Affected runs keep test results but omit whole-project coverage gates and artifacts. The PR coverage section states the scope and result; a selected green run does not prove full-suite coverage. E2E selects mapped modules plus declared cross-module consumers, changed specs, and login/logout/health smoke tests. Its dependency contract must account for all discovered specs. Ordinary eligible PRs intentionally skip Phase 2; full callers retain the disjoint complement. Documentation and unit tests accompanying source changes do not force full E2E. Shared runtime, configuration, helpers and unknown inputs require the full suite; missing expected results still fail.
Pushes to develop/main/release branches, merge-group events, releases and manual CI runs use full suites when the Test stage is selected. To validate the complete PR branch before merging, dispatch CI with that branch and Bypass change detection and run every job enabled. Without that override, area filtering can skip an irrelevant Test stage, including on a draft branch. Re-running a ready PR event preserves its affected scope; re-running a draft PR event keeps tests deferred. A merge group only provides pre-merge full validation when the repository uses it.
The current-revision check runs immediately as a step inside Detect Changed Areas, using
.github/scripts/pr-ready.js and the job's existing checkout. It adds no separate runner or
checkout. API failures fail the required gate closed. Obsolete revisions skip expensive work
and are superseded by the new PR run.
Use reference/known-failure-patterns.md to distinguish timeouts, architecture gates,
missing workflow runs, and known harness failures from application defects. A single failure
is not evidence of flakiness; compare logs and execution conditions.
A latest PR run that is pending with no jobs can be waiting for an obsolete run to release its concurrency slot. Follow the cancellation entry in the reference before rerunning or cancelling jobs.
On PR closure, the cancellation workflow uses the exact ci-pr-{N} group to stop umbrella CI.
Check that group's active members if a closed PR is still consuming a runner. When a develop
push's E2E suite is superseded, check the latest develop run for multi-node coverage. A superseded
suite is reported separately from a completed suite. For long queues, check availability of the
e2e-test runners and whether they also accept general aet-large-ubuntu jobs.
gh run rerun --failed. The suite's sharding and reporting mean a
partial re-run does not reproduce the original conditions. Use a full re-run:
gh run rerun <run-id>.workflow scope to push it.
Check the triggering event and checked-out revision when identifying the workflow version.Compare api/project_analyses/search?project=ls1intum_Artemis with the merged SHA, then inspect the
actual Build and analyze step. A scan that exits before publication leaves the previous analysis
and badges unchanged. Scanner 6+ has a separate JVM; SONAR_SCANNER_JAVA_OPTS sizes its heap,
while org.gradle.jvmargs sizes Gradle. The workflow assigns the scanner 6 GiB.
Sonar is required on relevant ready PRs and is included in All required CI Passed. Scanner, upload and server-side quality-gate failures block merging. Both PR and branch scans wait for the server verdict. To test a repaired workflow and refresh the actual default branch before merging it:
gh workflow run ci-sonar.yml --ref <workflow-fix-branch> -f analyze_default_branch=true
Leave that option false to analyze the selected branch itself. Check the job summary's analyzed branch/SHA and the completed Sonar analysis revision. Coverage lookup requires that exact SHA, both complete artifacts and successful full test jobs; unrelated CI failures do not invalidate it. The required scanner waits for the server verdict; still confirm the published source revision when diagnosing badges or a manually dispatched recovery. See workflow policy.
Affected tests emit separate Sonar Client Coverage (selected-spec LCOV) and Sonar Server Coverage (selected execution data). Sonar generates Java XML on a GitHub-hosted runner. These reports are reused for analysis. Full-project badges use full-suite reports. Missing or failed producer data cannot be imported as successful coverage.
Fork and token-restricted PRs (including Dependabot) use a secretless exact-head/source-branch/target/public-gate verifier. A maintainer must
review the exact commit, promote it to internal chore/sonar/pr-<number>, dispatch the trusted default
branch's Sonar workflow with pull_request_number=<number>, then rerun only the original Sonar
verification job. Never automatically execute fork build scripts with the token. See the workflow
policy for the promotion procedure. Head or target changes invalidate evidence. Metadata-only
edits neither replace canonical validation nor cancel active coverage reporting.
The existing Sonar job requires zero newly duplicated lines in PRs and reports absolute line/block
counts in its summary. A displayed 0.0% can still contain duplicate lines. Inspect the exact-head
PR analysis and its duplication blocks; share the repeated behavior without changing scan scope
or detection thresholds. The guard verifies the current open PR head/target and analysis identity
before and after reading metrics. A valid Sonar response for the PR with component.measures: []
can pass when the PR changes fewer than 3,000 files and GitHub returns the complete file list
with every path outside Sonar's source roots. The GitHub comparison must still match after the
final Sonar request. A missing body or invalid response fails before GitHub lists the files.
Partial metrics, API failures, and replaced analyses also fail verification.
If the analysis was replaced, verify the current head and rerun verification once; no new build or
scan is needed when a passing exact-head analysis already exists. See the
Sonar workflow policy.
Read the published report at
https://api.securityscorecards.dev/projects/github.com/ls1intum/Artemis and check its
date and commit before comparing it with the working tree. Branch-protection findings
cover release branches as well as develop; missing release signatures refer to release
assets, not just GitHub's attestation store.
Pin every external action, including actions/* and github/*, to a full commit SHA
with a # vX.Y.Z comment. Resolve the upstream tag to its commit rather than guessing
the hash. Renovate's helpers:pinGitHubActionDigests preset maintains these references.
See .github/workflows/README.md for the workflow policy. Run actionlint -shellcheck=
after editing workflows.
Use skills/server-arch-gates/SKILL.md for architecture and style checks,
skills/write-tests/SKILL.md for JUnit and Vitest, and skills/e2e-pr-check/SKILL.md
for Playwright. Do not mask an unexplained failure with retries or a larger timeout.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ls1intum/artemis --plugin artemis8 skills in this plugin
/browser-qaProve an Artemis pull request, branch or commit in a local browser by tracing the diff to every affected screen and role, then driving a recorded test plan with direct API checks./client-conventionsApply Artemis conventions when changing Angular application or TUM AET UI code, migrating components, or fixing client lint violations./e2e-pr-checkSelect, run, or debug Artemis Playwright tests for a branch or pull request, or write a layout contract that measures element sizes and alignment./liquibase-migrationAdd, change, or debug an Artemis Liquibase schema migration./local-setupSet up or troubleshoot a local Artemis server and client development environment./server-arch-gatesApply Artemis architecture rules when changing server Java or diagnosing an ArchUnit failure.Other plugins' skills for the same job