Skip to content

Add board publication commands#83

Merged
robzolkos merged 6 commits intomasterfrom
board-publication-support
Mar 10, 2026
Merged

Add board publication commands#83
robzolkos merged 6 commits intomasterfrom
board-publication-support

Conversation

@robzolkos
Copy link
Collaborator

@robzolkos robzolkos commented Mar 7, 2026

Summary

  • Add board publish and board unpublish commands for board publication endpoints
  • Surface publish or unpublish as the next action from board show
  • Cover the new behavior in unit tests, board e2e tests, the Fizzy agent skill, and SURFACE.txt
  • Remove redundant --profile flag from e2e harness (already set via FIZZY_PROFILE env var)

Testing

  • make check
  • go test -v ./e2e/tests -run 'TestBoard'

Copilot AI review requested due to automatic review settings March 7, 2026 20:07
@github-actions github-actions bot added the enhancement New feature or request label Mar 7, 2026
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 7 files

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds CLI support for publishing/unpublishing Fizzy boards, and wires the new behavior through docs, surface area tracking, unit tests, and e2e coverage.

Changes:

  • Introduces fizzy board publish and fizzy board unpublish commands hitting the board publication endpoints.
  • Updates board show to surface publish/unpublish as the next suggested action based on public_url.
  • Extends unit tests, board e2e tests, and updates surfaced CLI metadata/docs (including fixing the e2e harness global flag from --account to --profile).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
internal/commands/board.go Adds publish/unpublish commands and augments board show breadcrumbs.
internal/commands/board_test.go Adds unit tests for publish/unpublish command behavior.
e2e/tests/board_test.go Adds publish/unpublish coverage with a skip path for incomplete live API rollout.
e2e/harness/harness.go Updates harness to pass --profile (current flag) instead of stale --account.
skills/fizzy/SKILL.md Documents new board publication commands and behavior.
internal/skills/SKILL.md Mirrors skill documentation updates for internal usage.
SURFACE.txt Records new commands/flags in the CLI surface area inventory.

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

@robzolkos robzolkos force-pushed the board-publication-support branch 2 times, most recently from f01cfd6 to 7c14d98 Compare March 10, 2026 13:24
Copilot AI review requested due to automatic review settings March 10, 2026 13:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.


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

@robzolkos robzolkos force-pushed the board-publication-support branch from 7c14d98 to b55d85b Compare March 10, 2026 13:33
@robzolkos robzolkos marked this pull request as ready for review March 10, 2026 14:08
@robzolkos robzolkos requested a review from a team as a code owner March 10, 2026 14:08
Copilot AI review requested due to automatic review settings March 10, 2026 14:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Columns in list commands were rendering with no gap between them,
making values hard to distinguish. Add right padding to table cells
so columns have breathing room.
Pre-build headerStyle and cellStyle with PaddingRight(1) instead of
allocating new styles on each StyleFunc invocation.
- Fix double unpublish in e2e test by tracking published state so cleanup
  only runs when the explicit in-test unpublish hasn't already executed
- Add unit tests for board show publish/unpublish breadcrumb behavior
- Switch board show from typed Boards().Get() to raw ac.Get() so public_url
  (not yet in SDK Board struct) is preserved in the response
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 4 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="e2e/tests/board_test.go">

<violation number="1" location="e2e/tests/board_test.go:194">
P2: `published = false` is set before verifying the unpublish succeeded. If the command returns a non-success exit code, the cleanup won't retry the unpublish, leaving the board published in the test environment. Move the assignment after the success check.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Ensures cleanup retries unpublish if the command fails mid-test.
Copilot AI review requested due to automatic review settings March 10, 2026 14:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.


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

Prevents cleanup from attempting unpublish when publish itself failed.
@robzolkos robzolkos merged commit e6ecba1 into master Mar 10, 2026
19 checks passed
@robzolkos robzolkos deleted the board-publication-support branch March 10, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants