Skip to content

MLE-26255: Merge Master back to develop - #121

Merged
pengzhouml merged 5 commits into
developfrom
main
Feb 9, 2026
Merged

pengzhouml merged 5 commits into
developfrom
main

Conversation

@pengzhouml

Copy link
Copy Markdown
Collaborator

No description provided.

barkhachoithani and others added 5 commits January 9, 2026 12:37
* MLE-26259: change version number to 1.1.1

* change version number in README

* Chart Version update

* uncomment makefile

* recover -verifyHugePages flag

---------

Co-authored-by: Peng Zhou <peng.zhou@progress.com>
MLE-26527: updated copyright end year for required files
Co-authored-by: Peng Zhou <peng.zhou@progress.com>
MLE-26260: MarkLogic Operator Kubernetes Release/1.1.1
Copilot AI review requested due to automatic review settings February 9, 2026 07:21
@pengzhouml pengzhouml changed the title Merge Master back to develop MLE-0: Merge Master back to develop Feb 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the operator release metadata and improves lifecycle hook logging behavior as part of merging changes back into develop.

Changes:

  • Bumps operator/chart/image versions from 1.1.0 to 1.1.1 across manifests, Helm chart, docs, and build tooling.
  • Updates copyright headers to 2024-2026.
  • Adjusts postStart/preStop hook scripts to write logs to /proc/1/fd/1 instead of resolving the MarkLogic PID.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/e2e/6_log_collection_test.go Copyright year bump.
test/e2e/4_tls_test.go Copyright year bump.
pkg/k8sutil/statefulset.go Copyright year bump.
pkg/k8sutil/configmap.go Copyright year bump.
pkg/k8sutil/scripts/prestop-hook.sh Changes hook logging target to PID 1 stdout FD.
pkg/k8sutil/scripts/poststart-hook.sh Changes hook logging target to PID 1 stdout FD; removes PID lookup.
config/manager/kustomization.yaml Updates controller image tag to 1.1.1.
charts/marklogic-operator-kubernetes/values.yaml Updates chart values image tag to 1.1.1.
charts/marklogic-operator-kubernetes/Chart.yaml Updates chart version and appVersion to 1.1.1.
README.md Updates Helm install/upgrade example to 1.1.1.
NOTICE.txt Copyright year bump.
Makefile Updates default VERSION to 1.1.1.
LICENSE Copyright year bump.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

if [ -n "$pid" ]; then
echo "${TIMESTAMP} $@" > /proc/$pid/fd/1
fi
echo "${TIMESTAMP} $@" > /proc/1/fd/1

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

Logging now unconditionally redirects to /proc/1/fd/1. If that FD is not writable/available in a given container environment, the redirection will fail and can cause the preStop hook to fail (potentially impacting pod termination behavior). Consider adding a safe fallback (e.g., write to stdout if the /proc/1/fd/1 write fails) or explicitly ignore redirection errors so the hook logic remains reliable.

Suggested change
echo "${TIMESTAMP} $@" > /proc/1/fd/1
echo "${TIMESTAMP} $@" > /proc/1/fd/1 2>/dev/null || echo "${TIMESTAMP} $@"

Copilot uses AI. Check for mistakes.
Comment on lines +47 to 48
echo $message > /proc/1/fd/1
echo $message >> /tmp/script.log

Copilot AI Feb 9, 2026

Copy link

Choose a reason for hiding this comment

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

The $message variable should be quoted to avoid word-splitting and glob expansion (which can alter log output and, in edge cases, cause unexpected behavior). Update these to use echo \"$message\" ... (or printf '%s\\n' \"$message\" ...) for stable, predictable logging.

Suggested change
echo $message > /proc/1/fd/1
echo $message >> /tmp/script.log
echo "$message" > /proc/1/fd/1
echo "$message" >> /tmp/script.log

Copilot uses AI. Check for mistakes.
@pengzhouml pengzhouml changed the title MLE-0: Merge Master back to develop MLE-26255: Merge Master back to develop Feb 9, 2026
@pengzhouml pengzhouml closed this Feb 9, 2026
@pengzhouml pengzhouml reopened this Feb 9, 2026
@pengzhouml
pengzhouml merged commit deb4738 into develop Feb 9, 2026
7 of 9 checks passed
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