Skip to content

ci: Trigger TRTLLM build when the associated files are updated - #171

Closed
tanmayv25 wants to merge 6 commits into
mainfrom
tanmayv-ci-build
Closed

tanmayv25 wants to merge 6 commits into
mainfrom
tanmayv-ci-build

Conversation

@tanmayv25

@tanmayv25 tanmayv25 commented Mar 15, 2025 •

Copy link
Copy Markdown
Contributor

Currently, trtllm builds are not getting triggered.
With this change, I am hoping to trigger the build process when the respective files are changed.

@tanmayv25
tanmayv25 requested a review from nv-anants March 15, 2025 00:21
@tanmayv25
tanmayv25 requested a review from nnshah1 as a code owner March 15, 2025 00:21
@tanmayv25
tanmayv25 requested a review from a team March 15, 2025 00:21
@tanmayv25 tanmayv25 changed the title Trigger TRTLLM build when the associated files are updated ci: Trigger TRTLLM build when the associated files are updated Mar 15, 2025
- 'container/deps/requirements.vllm.txt'
- 'container/deps/vllm/**'
tensorrtllm:
- 'container/Dockerfile.tensorrt_llm'

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.

Can you touch one of these files to confirm the trigger runs the trtllm job and that it passes? Currently triggered pipeline only ran vllm job on gitlab.

@tanmayv25

Copy link
Copy Markdown
Contributor Author

@nv-anants Why are these changes not triggering CI for TRTLLM?

@nv-anants

Copy link
Copy Markdown
Member

@nv-anants Why are these changes not triggering CI for TRTLLM?

I see trtllm build running as part of latest gitlab CI

@copy-pr-bot

copy-pr-bot Bot commented Apr 11, 2025

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@tanmayv25

Copy link
Copy Markdown
Contributor Author

Merged

@tanmayv25 tanmayv25 closed this May 30, 2025
@tanmayv25
tanmayv25 deleted the tanmayv-ci-build branch June 25, 2025 00:25
biswapanda added a commit that referenced this pull request May 8, 2026
Address findings from a follow-up Codex code review of the PR scope.

network_send_handler (server.rs):
- Replace `assert_ne!(control_msg, ControlMessage::Sentinel, ...)` with a
  warn + continue. Sentinel arriving on the send-side control channel is
  a producer-side bug, not a process-fatal one.
- Replace `serde_json::to_vec(&control_msg).expect(...)` with a match
  that warns and continues on Err. The control enum is small and closed,
  so failure is implausible — but Rule 1 says don't bet the process on
  it. Logs use structured fields throughout.

wait_for_server_shutdown (client.rs):
- Convert the read-error inspect_err from
  `tracing::debug!("failed to read from stream: {:?}", e)` to
  `tracing::debug!(err = ?e, "failed to read from stream")`. Same
  structured-field treatment as the rest of this file.

process_control_message (server.rs):
- Drop the `TODO(#171) - address fatal errors` and rephrase
  `"fatal error - unexpected control message received - this should
  never happen"` to `"unexpected control message on response stream"`.
  The caller (network_receive_handler) already handles this branch as
  a stream-local Kill, not a fatal.

Test comment hygiene:
- Move `tokio::io::{AsyncWriteExt, ReadHalf, WriteHalf}` and
  `tokio::net::TcpStream` to the top of `mod tests` (they were
  mid-module after a marker comment).
- Remove the panic-replacement banner block; test names self-document.
- Trim two SAFETY (test-only) comments from 6 lines to 2.
- Trim the test_handle_reader_handles_tcp_rst docstring from 6 lines
  to 2.
- Trim test_wait_for_server_shutdown_skips_stopped_context docstring
  to a single cross-reference line; the production-code comment in
  wait_for_server_shutdown carries the full rationale.

Verified: cargo build, cargo test pipeline::network::tcp:: (44 passed),
cargo clippy -- -D warnings, cargo fmt --check all clean.

Signed-off-by: Biswa Panda <biswa.panda@gmail.com>
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