Skip to content

Ap 753:Ensure OkComputer health checks work - #98

Merged
yzhoubk merged 9 commits into
mainfrom
AP-753
Jul 31, 2026
Merged

Ap 753:Ensure OkComputer health checks work#98
yzhoubk merged 9 commits into
mainfrom
AP-753

Conversation

@yzhoubk

@yzhoubk yzhoubk commented Jul 28, 2026

Copy link
Copy Markdown
Contributor
  1. Merged okcomputer updates from the release-1.x branch.
  2. Updated the Dockerfile to resolve initial configuration issues with okcomputer.
  3. Updated the Solr URL setup to prevent the skip_link_component error.

@yzhoubk
yzhoubk requested review from anarchivist, awilfox, danschmidt5189 and jason-raitz and removed request for jason-raitz July 28, 2026 20:02

@anarchivist anarchivist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few specific questions about the changes to how this is initialized, and a question about reusing existing HEAD checks from BerkeleyLibrary::Util.

Comment thread config/initializers/okcomputer.rb Outdated
Comment thread config/initializers/okcomputer.rb Outdated
Comment thread config/initializers/okcomputer.rb Outdated
Comment thread Dockerfile Outdated

@awilfox awilfox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would love to discuss more about the benefits/drawbacks of the custom head check vs the one in Util.

Also, we should dig in to that Docker failure and fix it properly.

Comment thread config/initializers/okcomputer.rb Outdated

# Check the Solr connection
# Requires the ping handler on the solr core (<core>/admin/ping).
solr_url = ENV['SOLR_URL'].presence

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be sure, this means we no longer support setting SOLR_URL as an env var? I was using this in development for testing things, actually, but that is not such a big deal if so. I can just change to using the app configuration.

Comment thread config/initializers/okcomputer.rb Outdated
Comment thread Dockerfile
Comment on lines -24 to +29
bash \
curl \
default-jre-headless \
ca-certificates \
libpq-dev \
libvips42 && \
bash \
curl \
default-jre-headless \
ca-certificates \
libpq-dev \
libvips42 && \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big fan of this, it makes it harder to tell where the package list ends and the next command begins.

@anarchivist anarchivist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+wc. one minor change given the switch to the shared check.

Comment thread config/initializers/okcomputer.rb Outdated
Comment thread config/initializers/okcomputer.rb Outdated
Co-authored-by: Anna Wilcox <AWilcox@Wilcox-Tech.com>
@yzhoubk
yzhoubk merged commit 1b9bf5a into main Jul 31, 2026
5 checks passed
@yzhoubk
yzhoubk deleted the AP-753 branch July 31, 2026 23:16
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.

3 participants