Support rpm-based runners in job-level and workflow-level instrumentation

Open
#3,260 3 comments 1 reaction 2 assignees View on GitHub

@plengauer is already working on this.

Since Sep 19, 2026.

  • #3268 by @copilot-swe-agent — open

Assessment

This issue has not been assessed yet.

Description

enhancement

in the shared code handlign the install, we shouldnt blindly fetch the debian and install it, but check the OS and fetch the apk/rpm if the os fits. for these new ones, lets not do all the caching opimiztation, just plain fetching and installing. for that, limit the caching optimization for job-level to debians only. debians shall be identified by the presence of dpkg. rpm based on when rpm is present, and alpines in a similar way

2026-03-16T17:36:03.0568903Z Current runner version: '2.332.0'
2026-03-16T17:36:03.0575252Z Runner name: '***'
2026-03-16T17:36:03.0576238Z Runner group name: '***'
2026-03-16T17:36:03.0577170Z Machine name: '***'
2026-03-16T17:36:03.0581358Z ##[group]GITHUB_TOKEN Permissions
2026-03-16T17:36:03.0583880Z Actions: write
2026-03-16T17:36:03.0584380Z ArtifactMetadata: write
2026-03-16T17:36:03.0584905Z Attestations: write
2026-03-16T17:36:03.0585353Z Checks: write
2026-03-16T17:36:03.0585814Z Contents: write
2026-03-16T17:36:03.0586279Z Deployments: write
2026-03-16T17:36:03.0586789Z Discussions: write
2026-03-16T17:36:03.0587243Z Issues: write
2026-03-16T17:36:03.0587698Z Metadata: read
2026-03-16T17:36:03.0588126Z Models: read
2026-03-16T17:36:03.0588579Z Packages: write
2026-03-16T17:36:03.0589039Z Pages: write
2026-03-16T17:36:03.0589495Z PullRequests: write
2026-03-16T17:36:03.0590084Z RepositoryProjects: write
2026-03-16T17:36:03.0590671Z SecurityEvents: write
2026-03-16T17:36:03.0591412Z Statuses: write
2026-03-16T17:36:03.0591957Z ##[endgroup]
2026-03-16T17:36:03.0594291Z Secret source: Actions
2026-03-16T17:36:03.0595049Z Prepare workflow directory
2026-03-16T17:36:03.0899061Z Prepare all required actions
2026-03-16T17:36:03.0934839Z Getting action download info
2026-03-16T17:36:03.6405445Z Download action repository 'plengauer/Thoth@v5.43' (SHA:b9414156be4866abb8fb061ac000611b2196bbf2)
2026-03-16T17:36:05.7275904Z Complete job name: export
2026-03-16T17:36:05.7921715Z ##[group]Run plengauer/Thoth/actions/instrument/workflow@v5.43
2026-03-16T17:36:05.7923712Z with:
2026-03-16T17:36:05.7924623Z   self_monitoring: false
2026-03-16T17:36:05.7925641Z   debug: true
2026-03-16T17:36:05.7926876Z   github_token: ***
2026-03-16T17:36:05.7928112Z   repository: ENG-TD-Universe/java-maven-sdlc-event-gimbet2
2026-03-16T17:36:05.7929586Z   workflow_run_id: 23157386077
2026-03-16T17:36:05.7930684Z   workflow_run_attempt: 1
2026-03-16T17:36:05.7931752Z   self_monitoring_anonymize: true
2026-03-16T17:36:05.7933435Z env:
2026-03-16T17:36:05.7934441Z   OTEL_SERVICE_NAME: eng-td-universe-workflows
2026-03-16T17:36:05.7936319Z   OTEL_EXPORTER_OTLP_ENDPOINT: ***
2026-03-16T17:36:05.7939179Z   OTEL_EXPORTER_OTLP_HEADERS: ***
2026-03-16T17:36:05.7940392Z   OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
2026-03-16T17:36:05.7941596Z ##[endgroup]
2026-03-16T17:36:05.9248070Z ##[group]Validate Configuration
2026-03-16T17:36:05.9250191Z ##[endgroup]
2026-03-16T17:36:05.9251887Z ##[group]Ensuring rate limit
2026-03-16T17:36:06.1833750Z ##[endgroup]
2026-03-16T17:36:06.1835465Z ##[group]Install Dependencies
2026-03-16T17:36:06.1837675Z /home/runner/_work/_actions/plengauer/Thoth/v5.43/actions/instrument/workflow/main.sh: line 16: type: dpkg: not found
2026-03-16T17:36:06.1840004Z No debian, assuming dependencies are preinstalled.
2026-03-16T17:36:06.1841875Z ##[endgroup]
2026-03-16T17:36:06.1843567Z ##[group]Resolving Workflow Run Attempt
2026-03-16T17:36:06.1976293Z ##[endgroup]
2026-03-16T17:36:06.1978197Z ##[group]Resolving Jobs, Steps, Logs, and Artifacts
2026-03-16T17:36:06.8997428Z Artifacts ... done
2026-03-16T17:36:07.0997106Z Jobs and Steps ... done
2026-03-16T17:36:07.2026426Z Logs ... done
2026-03-16T17:36:07.2051287Z ##[endgroup]
2026-03-16T17:36:07.5511532Z ##[group]Determine Trace ID
2026-03-16T17:36:07.5512151Z ##[endgroup]
2026-03-16T17:36:07.5512678Z ##[group]Export
2026-03-16T17:36:07.5529053Z /home/runner/_work/_actions/plengauer/Thoth/v5.43/actions/instrument/workflow/main.sh: line 96: otelapi.sh: No such file or directory
2026-03-16T17:36:07.5547717Z node:internal/process/promises:392
2026-03-16T17:36:07.5548357Z       new UnhandledPromiseRejection(reason);
2026-03-16T17:36:07.5548929Z       ^
2026-03-16T17:36:07.5549100Z
2026-03-16T17:36:07.5553377Z UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "1".
2026-03-16T17:36:07.5555139Z     at throwUnhandledRejectionsMode (node:internal/process/promises:392:7)
2026-03-16T17:36:07.5555806Z     at processPromiseRejections (node:internal/process/promises:475:17)
2026-03-16T17:36:07.5556601Z     at process.processTicksAndRejections (node:internal/process/task_queues:104:32) {
2026-03-16T17:36:07.5557226Z   code: 'ERR_UNHANDLED_REJECTION'
2026-03-16T17:36:07.5557616Z }
2026-03-16T17:36:07.5557774Z
2026-03-16T17:36:07.5557918Z Node.js v24.13.1
2026-03-16T17:36:07.5668590Z Cleaning up orphan processes
Dominant language
Shell
Stars
167
Forks
15
Avg merge
2d 23h
Merged PRs (30d)
131

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plengauer/Thoth

All issues in plengauer/Thoth

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.