forked from opendatahub-io/notebooks
-
Notifications
You must be signed in to change notification settings - Fork 33
[rhoai-2.25] chore: remove orphan Dockerfiles and PDF install scripts #2694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jiridanek
merged 5 commits into
rhoai-2.25
from
chore/remove-orphaned-pdf-install-scripts
Aug 4, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c67af84
chore(jupyter-minimal): remove orphaned pdf-builder stage and scripts
jiridanek b722bc3
chore: remove orphan non-Konflux workbench/runtime Dockerfiles
jiridanek 6fcb3f8
fix(ci): align tooling with Konflux-only workbench Dockerfiles
jiridanek 1bb2fa1
test(ci): refresh shared-file matrix job self-test for py312
jiridanek 0c21053
style(ci): ruff-format gha_pr_changed_files find_dockerfiles
jiridanek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coderabbitai evaluate in light of the AI transcript from session that pushed the PR
cursor_dockerfile_konflux_pairs.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Length of output: 26924
🏁 Script executed:
Length of output: 26582
@jiridanek, the transcript and the repository evidence support this change.test_select_changed_targets_dockerfilenow usesjupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu. This is correct becausefind_dockerfiles()selectsDockerfile.konflux.*files when they exist.The shared-file test is also correct. The repository contains exactly ten Konflux Dockerfiles that reference
jupyter/utils/install_pdf_deps.sh. The asserted target set has one target for each of those Dockerfiles:should_build_target()scans all selected Konflux Dockerfiles in a build directory. Therefore, this fan-out is the expected current behavior.The transcript also identifies the same 3.12 Konflux Dockerfile structure. The repository scan independently confirms the test fixture and the full ten-target expectation.
No issue found in this diff.
🧬 Code Graph Analysis Results
ci/cached-builds/gha_pr_changed_files.pyLines 22–34 —
list_changed_files(from_ref, to_ref) -> list[str]Runs
git diff --name-only <from_ref>...<to_ref> --and returns the PR’s changed file paths. Propagates subprocess failures.Lines 74–84 —
find_dockerfiles(directory) -> listResolves the build directory and returns sorted
Dockerfile.konflux.*files when present; otherwise returns sorted files matchingDockerfile*.Lines 92–121 —
should_build_target(changed_files, target_directory) -> strReturns the first changed file inside the target directory, or scans every Dockerfile in that directory with
bin/buildinputsand returns the first changed dependency. Returns""when no relevant change exists; propagates subprocess and JSON errors.Lines 124–136 —
filter_out_unchanged(targets, changed_files) -> list[str]Determines each target’s build directory using its Python version, retains targets for which
should_build_targetreturns a truthy reason, and logs inclusion/exclusion decisions.Lines 66–71 —
get_build_directoryandget_build_dockerfileQuery Makefile metadata for a target’s build directory or Dockerfile via
_query_build; raises if the Make query does not produce exactly one result.ci/cached-builds/makefile_helper.pyLines 42–52 —
dry_run_makefile(target, makefile_dir, env) -> strExecutes the Makefile in dry-run/database mode with supplied environment variables and returns stdout.
Lines 14–39 —
exec_makefile(target, makefile_dir, options) -> strRuns
make(orgmakeon macOS) in the specified directory, captures stdout, and raises after reporting Makefile or execution errors.You are interacting with an AI system.