Fix shared scheduler workers and verify full TA browser workflow
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
\bottomrule
|
||||
\endlastfoot
|
||||
|
||||
\parbox[t]{2.7cm}{\raggedright November 20, 2026\\ 1.11.0\\ NK, CDX} & Complete remaining mandatory browser workflows and retain minimal deployment limits. & The user directed all server work through the existing SSH connection. Codex inspected official worker code after browser Customer search failed, corrected threaded worker settings, reloaded derived indexes without removing volumes, and verified ticket 71007 through separate TA and Customer browser sessions. Screenshots and sanitized evidence were saved; the authorized temporary local credential copy was removed. No firewall changes or manual PDF compilation were performed. \\
|
||||
|
||||
\parbox[t]{2.7cm}{\raggedright November 18, 2026\\ 1.11.0\\ NK, CDX} & Implement instruction Chapter 7 with minimal resource use and update the newest team manual source. & The user authorized SSH through \texttt{ssw590-codex}, selected the newest documentation branch rather than main, deferred its merge, upgraded the Droplet, requested lower service ceilings, approved synthetic accounts and issue 22, and later requested full ongoing documentation with actual screenshots. Codex deployed the official stack, corrected an initially excessive heap and a Puma worker-setting interpretation, staged initialization, added limits and monitoring, tested tickets/customer isolation/TA access and backup/recovery, and retained explicit evidence limits. A recovery collector was corrected to distinguish real scrape timestamps from query times. The user expressly prohibited PDF compilation until a later authorized Jenkins build. \\
|
||||
|
||||
\parbox[t]{2.7cm}{\raggedright November 8, 2026\\ 1.10.1\\ GDL, NK, CDX} & Continue the handoff; verify and document the release and recovery evidence. & Codex checked the merged and later branch work separately, assisted with approved v1 and v2 releases, and recorded immutable digests, scan results, staging idempotence and human production approvals. It orchestrated the approved rollback and staging-only port mismatch, documented the overnight recovery delay, added the HTTPS probe, checked Grafana, and audited archived evidence. The team reviews the manual and evidence. \\
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
\bottomrule
|
||||
\endlastfoot
|
||||
|
||||
November 20, 2026 / 1.11.0 & NK, CDX & Corrected scheduler worker semantics to shared-process threads, retained the 384 MiB limit and 128 MiB Elasticsearch heap, repaired derived search indexes and completed real TA browser create/assign/internal-note/public-reply/close on 71007. Added Customer visibility screenshots. Used SSH for server commands; privileged host audit remains pending. Source only; no PDF build. & \ChapterRef{SupportTicketManagement} \\
|
||||
|
||||
November 18, 2026 / 1.11.0 & NK, CDX & Added the Support Ticket Management with Zammad chapter for instruction Chapter 7 / team Assignment 9. Recorded official revision, small per-service limits, upgraded-host observations, private HTTPS networking, synthetic accounts/tickets, least-privilege TA API tests, bidirectional issue 22 linkage, backup and isolated recovery evidence. Added actual screenshots and an explicit required-deliverable gap audit. Updated Hosts, password-store hints and AI log. Source-only draft; no PDF compilation authorized. & \ChapterRef{SupportTicketManagement}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
|
||||
|
||||
November 8, 2026 / 1.10.1 & GDL, NK, CDX & Completed the secure delivery evidence audit, expanded the architecture with actual hosts, volumes and private paths, and linked release records, scans and recovery output. Recorded the v1 and v2 promotions, human decisions, production rollback samples, staging port-mismatch failure and delayed recovery. Added production HTTPS monitoring and preserved its limitation: the probe started after rollback. Recorded the unverified historical scanner database version and stateful rollback limitations. & \ChapterRef{SecureDeliveryRollback}, \ChapterRef{Hosts} \\
|
||||
|
||||
@@ -163,7 +163,7 @@ session cookies; security checks were not disabled.
|
||||
\toprule Service & RAM cap & CPU cap & Additional setting\\\midrule\endhead
|
||||
Elasticsearch & 384 MiB & 0.35 & Heap 128 MiB initial/max\\
|
||||
Rails & 384 MiB & 0.40 & Single Puma process; 1--3 threads\\
|
||||
Scheduler & 384 MiB & 0.25 & Worker counts reduced to one\\
|
||||
Scheduler & 384 MiB & 0.25 & Required services use shared-process threads; unused AI/incoming-mail workers disabled\\
|
||||
Websocket & 192 MiB & 0.15 & Official command retained\\
|
||||
Backup & 192 MiB & 0.15 & Startup backup enabled\\
|
||||
PostgreSQL & 128 MiB & 0.25 & Existing initialized volume\\
|
||||
@@ -183,6 +183,25 @@ If a required service fails, preserve logs and raise only the demonstrated
|
||||
limiting setting. Do not silence failures or remove the required search or
|
||||
backup services to claim success.
|
||||
|
||||
\paragraph{November 20 browser-test correction.}
|
||||
Although the container remained running, a later actual browser ticket-create
|
||||
test could not find the existing synthetic Customer. The user search index
|
||||
contained only one record. Scheduler process inspection showed that the
|
||||
general delayed-job and scheduled-job workers were absent; its cgroup counters
|
||||
recorded three killed processes under the original 384 MiB ceiling.
|
||||
An initial 512 MiB scheduler trial still lost the delayed-job worker and
|
||||
recorded one killed process. Inspection of the matching upstream
|
||||
\path{lib/background_services/service_config.rb} established that a worker
|
||||
count of zero selects shared-process threading, whereas one forks a separate
|
||||
Rails process. The earlier attempt to minimize workers by setting each to one
|
||||
was therefore counterproductive. Required session-management, scheduled-job
|
||||
and delayed-job services were corrected to zero-worker threaded mode, the
|
||||
scheduler ceiling was restored to 384 MiB, and unused AI/incoming-mail workers
|
||||
were disabled. The Elasticsearch heap remained 128 MiB.
|
||||
This records a functional failure that API CRUD and container-running checks
|
||||
had not detected; the completed browser test is the acceptance check for the
|
||||
correction, not merely a successful container restart.
|
||||
|
||||
\section{4. Validation, initialization and startup operations}
|
||||
Run commands in the deployment directory so the same private environment and
|
||||
all scenarios are loaded:
|
||||
@@ -535,6 +554,38 @@ protection against loss of the Droplet or its disk. Off-Droplet replication is
|
||||
not claimed.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{November 20 browser acceptance and indexing repair}
|
||||
Customer autocomplete initially failed because the derived User search index
|
||||
contained only one record. The official model methods
|
||||
\texttt{User.search\_index\_reload(worker: 0)} and
|
||||
\texttt{Ticket.search\_index\_reload(worker: 0)}, followed by
|
||||
\texttt{SearchIndexBackend.refresh}, completed successfully using the existing
|
||||
image and scheduler limits. The scheduler was paused during this one-time
|
||||
operation and restarted afterward. Database records and volumes were retained.
|
||||
The User index then contained six records and Customer autocomplete found
|
||||
the existing Demo Customer. The saved JSON records the operation and exit status.
|
||||
|
||||
Logged in as \texttt{ta.agent}, the browser created ticket 71007, selected
|
||||
Demo Customer, assigned TA Agent, retained normal priority, submitted an
|
||||
internal note and then submitted a customer-visible resolution reply with
|
||||
state closed. A separate Demo Customer login displayed the public reply and
|
||||
closed state, with internal article 13 absent. This supplements, rather than
|
||||
relabels, the earlier API-only CRUD test on ticket 71006. No SMTP delivery
|
||||
was attempted. The earlier open, assigned and closed example tickets remain.
|
||||
|
||||
\begin{figure}[htbp]
|
||||
\centering\includegraphics[width=\textwidth]{hw9_images/ta-browser-closed-reply.png}
|
||||
\caption{TA Agent browser workflow: saved internal note, public resolution,
|
||||
assigned owner, normal priority and closed state on ticket 71007.}
|
||||
\label{fig:taBrowserClosedReply}
|
||||
\end{figure}
|
||||
\begin{figure}[htbp]
|
||||
\centering\includegraphics[width=\textwidth]{hw9_images/customer-browser-closed-reply.png}
|
||||
\caption{Demo Customer sees ticket 71007's public resolution and closed
|
||||
state; the internal TA note is excluded from the conversation.}
|
||||
\label{fig:customerBrowserClosedReply}
|
||||
\end{figure}
|
||||
|
||||
\section{11. Deliverable coverage, final rechecks and remaining gaps}
|
||||
\begin{longtable}{L{3.2cm}L{6.2cm}L{3.4cm}}
|
||||
\caption{Required Chapter 7 deliverable audit}\label{Table:ZammadCoverage}\\
|
||||
@@ -543,7 +594,7 @@ Deployment / continuity & Revision, images, manifest, architecture, final HTTPS
|
||||
Capacity and versions & Initial observations, user-confirmed Basic 1 vCPU/2 GB/50 GB at \$12/month, explicit limits & Full pre-install command baseline cannot be reconstructed\\
|
||||
Persistence / backups & Named volume manifest, backup success, retained ticket/conversation & Database restore not tested\\
|
||||
HTTPS / exposure & Certificate, redirect, blocked ports, private networks, current cloud rules/attachment, no global IPv6/AAAA & Privileged host-rule audit pending\\
|
||||
Accounts / TA & Agent-only TA/group access, API CRUD 71006, authenticated screenshots & Browser login/read verified; API CRUD distinguished\\
|
||||
Accounts / TA & Agent-only TA/group access, API CRUD 71006, browser workflow 71007 & Browser create, assign, internal/public reply and close verified\\
|
||||
Three ticket examples & Open 71002, assigned 71003, closed 71004; internal note/public reply & Browser visibility/isolation screenshots included\\
|
||||
Engineering link & Issue 22 and ticket 71004 bidirectional link, resolution note, screenshot & Issue remains open\\
|
||||
Monitoring & Existing job, three displayed panels, successful probe and host comparison & Authenticated Grafana screenshots included\\
|
||||
@@ -552,9 +603,9 @@ Manual / source & This chapter, Hosts, password hints, history, AI log, sanitize
|
||||
\end{longtable}
|
||||
|
||||
Every pending item is a required evidence follow-up, not an optional extra or
|
||||
an assertion of completion. Before submission: finish the click-by-click TA
|
||||
browser create/assign/reply/close demonstration and web-portal note/reply
|
||||
submission evidence (API actions and portal visibility are already verified);
|
||||
an assertion of completion. Before submission: review the saved TA
|
||||
browser evidence for ticket 71007 (create, assign, internal/public
|
||||
reply and close are now exercised through the portal);
|
||||
finish privileged host-rule and effective key-only SSH evidence; current cloud
|
||||
rules and attachment screenshots are now included;
|
||||
review the password handoff and updated Hosts chapter together with the team
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Reference in New Issue
Block a user